feat(argo-cd): Add label to cluster-secrets for usage with appSet cluster selector (#692)
* add cluster label for use with appSet cluster selector Signed-off-by: mike sarver <mike.sarver@ibotta.com> * feat(argo-cd): Add label to cluster-secrets for usage with appSet cluster selector Signed-off-by: mike sarver <mike.sarver@ibotta.com> * feat(argo-cd): use with for adding labels Signed-off-by: mike sarver <mike.sarver@ibotta.com> Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
parent
7b78693819
commit
71cbdbb811
3 changed files with 6 additions and 1 deletions
|
|
@ -6,6 +6,9 @@ metadata:
|
|||
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
|
||||
labels:
|
||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||
{{- with .labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
argocd.argoproj.io/secret-type: cluster
|
||||
{{- with .annotations }}
|
||||
annotations:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue