[argocd-notifications] add monitoring and slack bot service annotations (#411)
* feat: add slack bot service annotations to argocd-notifications * feat: add monitoring to argocd-notifications
This commit is contained in:
parent
9b80bd95e4
commit
c716c1795e
7 changed files with 94 additions and 1 deletions
|
|
@ -43,6 +43,19 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Common metrics labels
|
||||
*/}}
|
||||
{{- define "argocd-notifications.metrics.labels" -}}
|
||||
helm.sh/chart: {{ include "argocd-notifications.chart" . }}
|
||||
{{ include "argocd-notifications.metrics.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
{{/*
|
||||
Common slack bot labels
|
||||
*/}}
|
||||
|
|
@ -63,6 +76,14 @@ app.kubernetes.io/name: {{ include "argocd-notifications.name" . }}
|
|||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Selector metrics labels
|
||||
*/}}
|
||||
{{- define "argocd-notifications.metrics.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "argocd-notifications.name" . }}-metrics
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Selector slack bot labels
|
||||
*/}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue