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
|
|
@ -5,6 +5,13 @@ metadata:
|
|||
name: {{ include "argocd-notifications.name" . }}-metrics
|
||||
labels:
|
||||
{{- 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:
|
||||
selector:
|
||||
{{- include "argocd-notifications.selectorLabels" . | nindent 4 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue