fix: implementing server service labels (#304)
* Adding custom labels to the argocd-server service when specified in the Helm values.yaml * Updated argo-cd chart version to 2.2.2 due to argocd-server service labeling implementation
This commit is contained in:
parent
228c989f9c
commit
ae13f015ff
2 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.5.1"
|
appVersion: "1.5.1"
|
||||||
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.2.1
|
version: 2.2.2
|
||||||
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:
|
||||||
|
|
|
@ -15,6 +15,9 @@ metadata:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||||
|
{{- if .Values.server.service.labels }}
|
||||||
|
{{- toYaml .Values.server.service.labels | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.server.service.type }}
|
type: {{ .Values.server.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue