Skip to content

Commit 0bc4be4

Browse files
abdennourseanson
andauthored
fix(argo-cd): hard coded .selector.matchLabels (#603)
* fix(argo-cd): hard coded .selector.matchLabels it fixes #602 Signed-off-by: abdennour <[email protected]> * style(argo-cd): linting circle ci error too many blank lines it fixes #602 Signed-off-by: abdennour <[email protected]> * chore(argo-cd): adding myself to codeowners it is related to #602 Signed-off-by: abdennour <[email protected]> * chore(argo-cd): CODEOWNER work by invitation related to #603 #602 Signed-off-by: abdennour <[email protected]> * fix(argo-cd): Add info in README about labels Signed-off-by: Sean Johnson <[email protected]> Co-authored-by: Sean Johnson <[email protected]>
1 parent 22b0811 commit 0bc4be4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

charts/argo-cd/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: 1.8.4
33
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
44
name: argo-cd
5-
version: 2.14.7
5+
version: 2.14.8
66
home: https://github.com/argoproj/argo-helm
77
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
88
keywords:

charts/argo-cd/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ This chart currently installs the non-HA version of ArgoCD.
1414

1515
## Upgrading
1616

17+
### 2.14.7 and above
18+
19+
The `matchLabels` key in the ArgoCD Appliaction Controller is no longer hard-coded. Note that labels are immutable so caution should be exercised when making changes to this resource.
20+
1721
### 2.10.x to 2.11.0
1822

1923
The application controller is now available as a `StatefulSet` when the `controller.enableStatefulSet` flag is set to true. Depending on your Helm deployment this may be a downtime or breaking change if enabled when using HA and will become the default in 3.x.

charts/argo-cd/templates/argocd-application-controller/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
spec:
1515
selector:
1616
matchLabels:
17-
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
17+
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
1818
app.kubernetes.io/instance: {{ .Release.Name }}
1919
{{- if .Values.controller.enableStatefulSet }}
2020
serviceName: {{ template "argo-cd.controller.fullname" . }}

0 commit comments

Comments
 (0)