Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Extend feature-flag support to colocated containers
Browse files Browse the repository at this point in the history
There are situations where we need to enable/diable colocated
containers, as currently it is not supported, and hence this commit.
  • Loading branch information
tareqmamari committed Dec 6, 2019
1 parent e350960 commit 858d4ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kube/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ func NewPodTemplate(role *model.InstanceGroup, settings ExportSettings, grapher
return nil, err
}

containers.Add(containerMapping)
node := helm.NewNode(containerMapping)
addFeatureCheck(candidate, node)
containers.Add(node)
}

imagePullSecrets := helm.NewMapping("name", "registry-credentials")
Expand Down

0 comments on commit 858d4ae

Please sign in to comment.