* feat: add slack bot service annotations to argocd-notifications * feat: add monitoring to argocd-notifications
19 lines
513 B
YAML
19 lines
513 B
YAML
{{ if .Values.bots.slack.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "argocd-notifications.name" . }}-bot
|
|
{{- if .Values.bots.slack.service.annotations }}
|
|
annotations:
|
|
{{- toYaml .Values.bots.slack.service.annotations | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
ports:
|
|
- name: server
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 8080
|
|
selector:
|
|
{{- include "argocd-notifications.bots.slack.selectorLabels" . | nindent 4 }}
|
|
type: {{ .Values.bots.slack.service.type }}
|
|
{{ end }}
|