feat(argo-cd): Add ability to add additional labels to all CRDs (#2051)
feat(argo-cd): Add ability to add additional labels to all CRDs via .Values.crds.additionalLabels Signed-off-by: jdvgh <133217951+jdvgh@users.noreply.github.com>
This commit is contained in:
parent
5873a1bc33
commit
1492e23522
7 changed files with 17 additions and 4 deletions
|
|
@ -12,6 +12,9 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/name: applications.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: applications.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/name: applicationsets.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: applicationsets.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/name: argocdextensions.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: argocdextensions.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/name: appprojects.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: appprojects.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue