Fixup jobs, roles...

This commit is contained in:
2022-06-10 11:33:09 +02:00
parent 1350a26162
commit 8156f8cfa2
5 changed files with 25 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ func buildDeployment(name string, s *types.ServiceConfig, linked map[string]type
// Add selectors
selectors := buildSelector(name, s)
selectors[helm.K+"/resource"] = "deployment"
deployment.Spec.Selector = map[string]interface{}{
"matchLabels": selectors,
}