From 1cbc2e920b4829b331aa7836e50b7dc2f10555ac Mon Sep 17 00:00:00 2001 From: Konstantin Zadorozhny Date: Wed, 30 Nov 2022 15:17:43 -0800 Subject: [PATCH] add missing name suffix configuration (#111) --- skylib/k8s.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skylib/k8s.bzl b/skylib/k8s.bzl index 782e528e..79e7e0a7 100644 --- a/skylib/k8s.bzl +++ b/skylib/k8s.bzl @@ -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)