fix: fix kyveno policies
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
{{- if .Values.clusterConfig.kyverno.enabled }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: sync-gitlab-secret
|
||||
annotations:
|
||||
policies.kyverno.io/title: Sync Secrets
|
||||
policies.kyverno.io/category: Sample
|
||||
policies.kyverno.io/subject: Secret
|
||||
policies.kyverno.io/description: >-
|
||||
policies.clusterConfig.kyverno.io/title: Sync Secrets
|
||||
policies.clusterConfig.kyverno.io/category: Sample
|
||||
policies.clusterConfig.kyverno.io/subject: Secret
|
||||
policies.clusterConfig.kyverno.io/description: >-
|
||||
Secrets like registry credentials often need to exist in multiple
|
||||
Namespaces so Pods there have access. Manually duplicating those Secrets
|
||||
is time consuming and error prone. This policy will copy a
|
||||
@@ -30,3 +31,4 @@ spec:
|
||||
clone:
|
||||
namespace: default
|
||||
name: gitlab-pull-secret
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user