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>pull/1036/head argo-cd-3.26.11
parent
46d43f8af3
commit
7ddcd377f3
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.1.7
|
appVersion: v2.1.7
|
||||||
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: 3.26.10
|
version: 3.26.11
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,4 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
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.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.logFormat | string | `"text"` | Application controller log format. Either `text` or `json` |
|
||||||
| controller.logLevel | string | `"info"` | Application controller log level |
|
| 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.enabled | bool | `false` | Deploy metrics service |
|
||||||
| controller.metrics.rules.enabled | bool | `false` | Deploy a PrometheusRule for the application controller |
|
| controller.metrics.rules.enabled | bool | `false` | Deploy a PrometheusRule for the application controller |
|
||||||
| controller.metrics.rules.spec | list | `[]` | PrometheusRule.Spec for the application controller |
|
| controller.metrics.rules.spec | list | `[]` | PrometheusRule.Spec for the application controller |
|
||||||
|
|
|
@ -54,6 +54,12 @@ spec:
|
||||||
- {{ .Values.controller.logFormat }}
|
- {{ .Values.controller.logFormat }}
|
||||||
- --loglevel
|
- --loglevel
|
||||||
- {{ .Values.controller.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) }}
|
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
||||||
- --redis
|
- --redis
|
||||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||||
|
|
|
@ -215,6 +215,11 @@ controller:
|
||||||
metrics:
|
metrics:
|
||||||
# -- Deploy metrics service
|
# -- Deploy metrics service
|
||||||
enabled: false
|
enabled: false
|
||||||
|
applicationLabels:
|
||||||
|
# -- Enables additional labels in argocd_app_labels metric
|
||||||
|
enabled: false
|
||||||
|
# -- Additional labels
|
||||||
|
labels: {}
|
||||||
service:
|
service:
|
||||||
# -- Metrics service annotations
|
# -- Metrics service annotations
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
Loading…
Reference in New Issue