fix: added an extra label on ExternalSecrets
- this label will provide filtration for resource exclusion
This commit is contained in:
@ -6,14 +6,15 @@ metadata:
|
|||||||
name: "{{include "py-app.name" $ }}-{{ $name }}"
|
name: "{{include "py-app.name" $ }}-{{ $name }}"
|
||||||
labels:
|
labels:
|
||||||
{{- include "py-app.labels" $ | nindent 4 }}
|
{{- include "py-app.labels" $ | nindent 4 }}
|
||||||
|
external-secrets/managed: "true" # ArgoCD will not manage the Secret that has this label
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/hook: PreSync,Sync
|
argocd.argoproj.io/hook: PreSync,Sync
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
argocd.argoproj.io/sync-wave: "-1"
|
||||||
spec:
|
spec:
|
||||||
refreshInterval: {{ default "1h" $val.refreshInterval }} # rate SecretManager pulls GCPSM
|
refreshInterval: {{ default "1h" $val.refreshInterval }}
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
||||||
name: {{ $val.secretStoreName }} # name of the SecretStore (or kind specified)
|
name: {{ $val.secretStoreName }}
|
||||||
target:
|
target:
|
||||||
name: {{ $val.targetName }}
|
name: {{ $val.targetName }}
|
||||||
creationPolicy: {{ default "Owner" $val.targetCreationPolicy }}
|
creationPolicy: {{ default "Owner" $val.targetCreationPolicy }}
|
||||||
|
Reference in New Issue
Block a user