@@ -288,7 +288,9 @@ func (t *Task) BuildTaskCommand(role parentRole) (err error) {
288288 class .Control .Mode == controlmode .DIRECT ||
289289 class .Control .Mode == controlmode .FAIRMQ ||
290290 class .Control .Mode == controlmode .KUBECTL_DIRECT ||
291- class .Control .Mode == controlmode .KUBECTL_FAIRMQ {
291+ class .Control .Mode == controlmode .KUBECTL_FAIRMQ ||
292+ class .Control .Mode == controlmode .KUBERNETES_DIRECT ||
293+ class .Control .Mode == controlmode .KUBERNETES_FAIRMQ {
292294 var varStack map [string ]string
293295
294296 // First we get the full varStack from the parent role, and
@@ -396,7 +398,8 @@ func (t *Task) BuildTaskCommand(role parentRole) (err error) {
396398 }
397399
398400 if class .Control .Mode == controlmode .FAIRMQ ||
399- class .Control .Mode == controlmode .KUBECTL_FAIRMQ {
401+ class .Control .Mode == controlmode .KUBECTL_FAIRMQ ||
402+ class .Control .Mode == controlmode .KUBERNETES_FAIRMQ {
400403 // FIXME read this from configuration
401404 // if the task class doesn't provide an id, we generate one ourselves
402405 if ! utils .StringSliceContains (cmd .Arguments , "--id" ) {
@@ -640,7 +643,9 @@ func (t *Task) BuildPropertyMap(bindMap channel.BindMap) (propMap controlcommand
640643 if class .Control .Mode == controlmode .FAIRMQ ||
641644 class .Control .Mode == controlmode .DIRECT ||
642645 class .Control .Mode == controlmode .KUBECTL_DIRECT ||
643- class .Control .Mode == controlmode .KUBECTL_FAIRMQ {
646+ class .Control .Mode == controlmode .KUBECTL_FAIRMQ ||
647+ class .Control .Mode == controlmode .KUBERNETES_DIRECT ||
648+ class .Control .Mode == controlmode .KUBERNETES_FAIRMQ {
644649 for _ , inbCh := range channel .MergeInbound (parent .CollectInboundChannels (), class .Bind ) {
645650 // We get the FairMQ-formatted propertyMap from the inbound channel spec
646651 var chanProps controlcommands.PropertyMap
0 commit comments