From 029d798459e830926d65aa256c8db6d76bbbfbe7 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Sat, 10 Feb 2024 13:25:17 +0100 Subject: [PATCH] fix: fix vcluster cpol name --- vcluster/chart/templates/sync-vcluster-atlantis-secrets.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcluster/chart/templates/sync-vcluster-atlantis-secrets.yaml b/vcluster/chart/templates/sync-vcluster-atlantis-secrets.yaml index 79197793..2e034e87 100644 --- a/vcluster/chart/templates/sync-vcluster-atlantis-secrets.yaml +++ b/vcluster/chart/templates/sync-vcluster-atlantis-secrets.yaml @@ -2,7 +2,7 @@ apiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: - name: sync-atlantis-vcluster-secrets + name: "sync-{{ $name }}-vcluster-secrets" spec: background: true generateExistingOnPolicyUpdate: true