[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
15
charts/argocd-notifications/templates/service-metrics.yaml
Normal file
15
charts/argocd-notifications/templates/service-metrics.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{- if .Values.metrics.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "argocd-notifications.name" . }}-metrics
|
||||
labels:
|
||||
{{- include "argocd-notifications.metrics.labels" . | nindent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
{{- include "argocd-notifications.selectorLabels" . | nindent 4 }}
|
||||
ports:
|
||||
- name: metrics
|
||||
port: {{ .Values.metrics.port }}
|
||||
targetPort: {{ .Values.metrics.port }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue