fix(argo-cd): One occurrence of label templating was missing (#630)
This relates to #627. Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
3b0ebdda66
commit
eedcf15a9c
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: 1.8.4
|
appVersion: 1.8.4
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 2.17.3
|
version: 2.17.4
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -133,7 +133,7 @@ Selector labels
|
||||||
{{- define "argo-cd.selectorLabels" -}}
|
{{- define "argo-cd.selectorLabels" -}}
|
||||||
{{- if .name -}}
|
{{- if .name -}}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .name }}
|
||||||
{{- end }}
|
{{ end -}}
|
||||||
app.kubernetes.io/instance: {{ .context.Release.Name }}
|
app.kubernetes.io/instance: {{ .context.Release.Name }}
|
||||||
{{- if .component }}
|
{{- if .component }}
|
||||||
app.kubernetes.io/component: {{ .component }}
|
app.kubernetes.io/component: {{ .component }}
|
||||||
|
|
|
@ -11,5 +11,5 @@ spec:
|
||||||
- port: {{ .Values.redis.servicePort }}
|
- port: {{ .Values.redis.servicePort }}
|
||||||
targetPort: {{ .Values.redis.servicePort }}
|
targetPort: {{ .Values.redis.servicePort }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.redis.name) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Reference in a new issue