
* feat: add slack bot service annotations to argocd-notifications * feat: add monitoring to argocd-notifications
15 lines
421 B
YAML
15 lines
421 B
YAML
{{- 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 }}
|