feat(argocd-notifications): Add metrics service labels and annotations (#783)
* feat(argocd-notifications): Add metrics service labels and annotations Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Update charts/argocd-notifications/templates/service-metrics.yaml Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Update charts/argocd-notifications/templates/service-metrics.yaml Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Update _helpers.tpl Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Update _helpers.tpl Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Delete templated.yaml Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
44aa7ed710
commit
03140b36fc
3 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,7 @@ appVersion: 1.1.1
|
||||||
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
||||||
name: argocd-notifications
|
name: argocd-notifications
|
||||||
type: application
|
type: application
|
||||||
version: 1.3.2
|
version: 1.4.0
|
||||||
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:
|
||||||
|
|
|
@ -5,6 +5,13 @@ metadata:
|
||||||
name: {{ include "argocd-notifications.name" . }}-metrics
|
name: {{ include "argocd-notifications.name" . }}-metrics
|
||||||
labels:
|
labels:
|
||||||
{{- include "argocd-notifications.metrics.labels" . | nindent 4 }}
|
{{- include "argocd-notifications.metrics.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.metrics.service.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.metrics.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
{{- include "argocd-notifications.selectorLabels" . | nindent 4 }}
|
{{- include "argocd-notifications.selectorLabels" . | nindent 4 }}
|
||||||
|
|
|
@ -52,6 +52,9 @@ extraArgs: []
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
port: 9001
|
port: 9001
|
||||||
|
service:
|
||||||
|
annotations: {}
|
||||||
|
labels: {}
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
|
|
Loading…
Reference in a new issue