Skip to content

Commit

Permalink
add missing name suffix configuration (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzadorozhny authored Nov 30, 2022
1 parent 1d4fe53 commit 1cbc2e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion skylib/k8s.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ def k8s_deploy(
if not manifests:
manifests = native.glob(["*.yaml", "*.yaml.tpl"])
if prefix_suffix_app_labels:
configurations = configurations + ["@com_adobe_rules_gitops//skylib/kustomize:nameprefix_deployment_labels_config.yaml"]
configurations = configurations + [
"@com_adobe_rules_gitops//skylib/kustomize:nameprefix_deployment_labels_config.yaml",
"@com_adobe_rules_gitops//skylib/kustomize:namesuffix_deployment_labels_config.yaml",
]
for reservedname in ["CLUSTER", "NAMESPACE"]:
if substitutions.get(reservedname):
fail("do not put %s in substitutions parameter of k8s_deploy. It will be added autimatically" % reservedname)
Expand Down

0 comments on commit 1cbc2e9

Please sign in to comment.