feat(argo-cd): use with for adding labels
Signed-off-by: mike sarver <mike.sarver@ibotta.com>
This commit is contained in:
parent
34af70fbed
commit
d26a2f666b
2 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@ metadata:
|
|||
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
|
||||
labels:
|
||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||
{{- if .labels }}
|
||||
{{- toYaml .labels | nindent 4 }}
|
||||
{{- with .labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
argocd.argoproj.io/secret-type: cluster
|
||||
{{- with .annotations }}
|
||||
|
|
|
@ -881,8 +881,8 @@ configs:
|
|||
clusterCredentials: []
|
||||
# - name: mycluster
|
||||
# server: https://mycluster.com
|
||||
# annotations: {}
|
||||
# labels: {}
|
||||
# annotations: {}
|
||||
# config:
|
||||
# bearerToken: "<authentication token>"
|
||||
# tlsClientConfig:
|
||||
|
|
Loading…
Reference in a new issue