You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defining work-kubernetes with pre-defined pod without allowruntimecommand or allowruntimepod causes following error on startup.
$ ./receptor -c ./receptor.yml
Error: must specify a container image to run
Version
Using Receptor built by make receptor on upstream devel branch.
$ receptorctl --socket /tmp/receptor.sock version
Warning: receptorctl and receptor are different versions, they may not be compatible
receptorctl 1.3.0
receptor v1.3.0+g8f8481c
Description
Defining
work-kubernetes
with pre-definedpod
withoutallowruntimecommand
orallowruntimepod
causes following error on startup.Version
Using Receptor built by
make receptor
on upstream devel branch.Steps to reproduce
Start Receptor with following configuration file.
Appending
allowruntimecommand: true
orallowruntimepod: true
which do not actually make sense to the configuration file solves the issue.$ ./receptor -c ./receptor.yml INFO 2022/12/20 06:50:45 Running control service control INFO 2022/12/20 06:50:45 Initialization complete ...
Additional information
Following validation for
cfg.Image == ""
should trigger only whencfg.Pod
is empty.receptor/pkg/workceptor/kubernetes.go
Lines 1271 to 1276 in 8f8481c
The text was updated successfully, but these errors were encountered: