fix(argo-cd): hard coded .selector.matchLabels

it fixes #602

Signed-off-by: abdennour <mail@abdennoor.com>
This commit is contained in:
abdennour 2021-03-02 07:42:32 +03:00
parent 22b0811090
commit d6df60bf92
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.8.4
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 2.14.7
version: 2.14.8
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:
@ -14,3 +14,4 @@ maintainers:
- name: alexmt
- name: jessesuen
- name: seanson

View file

@ -14,7 +14,7 @@ metadata:
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.controller.enableStatefulSet }}
serviceName: {{ template "argo-cd.controller.fullname" . }}