forked from argoproj/argo-helm
feat(argo-cd): add flag and labels for application labels (#1021)
* add flag and labels for application labels Signed-off-by: Antoine Bourayne <antoine.bourayne@octo.com> * upgrade chart version Signed-off-by: Antoine Bourayne <antoine.bourayne@octo.com> Co-authored-by: Antoine Bourayne <antoine.bourayne@octo.com> Co-authored-by: Marko Bevc <marko@scalefactory.com>main argo-cd-3.26.11
parent
46d43f8af3
commit
7ddcd377f3
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: v2.1.7
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 3.26.10
|
||||
version: 3.26.11
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
keywords:
|
||||
|
@ -21,4 +21,4 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Changed]: Update to app version 2.1.7"
|
||||
- "[Changed]: add flag and labels for application labels"
|
||||
|
|
|
@ -256,6 +256,8 @@ NAME: my-release
|
|||
| controller.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||
| controller.logFormat | string | `"text"` | Application controller log format. Either `text` or `json` |
|
||||
| controller.logLevel | string | `"info"` | Application controller log level |
|
||||
| controller.metrics.applicationLabels.enabled | bool | `false` | Enables additional labels in argocd_app_labels metric |
|
||||
| controller.metrics.applicationLabels.labels | object | `{}` | Additional labels |
|
||||
| controller.metrics.enabled | bool | `false` | Deploy metrics service |
|
||||
| controller.metrics.rules.enabled | bool | `false` | Deploy a PrometheusRule for the application controller |
|
||||
| controller.metrics.rules.spec | list | `[]` | PrometheusRule.Spec for the application controller |
|
||||
|
|
|
@ -54,6 +54,12 @@ spec:
|
|||
- {{ .Values.controller.logFormat }}
|
||||
- --loglevel
|
||||
- {{ .Values.controller.logLevel }}
|
||||
{{- if .Values.controller.metrics.applicationLabels.enabled }}
|
||||
- --metrics-application-labels
|
||||
{{- range .Values.controller.metrics.applicationLabels.labels }}
|
||||
- {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
||||
- --redis
|
||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||
|
|
|
@ -215,6 +215,11 @@ controller:
|
|||
metrics:
|
||||
# -- Deploy metrics service
|
||||
enabled: false
|
||||
applicationLabels:
|
||||
# -- Enables additional labels in argocd_app_labels metric
|
||||
enabled: false
|
||||
# -- Additional labels
|
||||
labels: {}
|
||||
service:
|
||||
# -- Metrics service annotations
|
||||
annotations: {}
|
||||
|
|
Loading…
Reference in New Issue