argocd-helm/charts/argocd-notifications/templates/bots/slack/service.yaml
appanycd 422752023d
feat(argocd-notifications): Add slack icon and signingSecret support and Grafana support (#384)
* Add icon and signingSecret support

* Fix typo

* Add grafana support

* Fix trailing spaces

* Fix trailing spaces 2

* Fix grafana comments

* Add bot manifests

* Bump version

* No new line character

* Values.yaml new line character

* Add comments

* Add slack.enabled flag

* Move slack bot to bots/slack folder

Co-authored-by: sergeyshaykhullin <sergeyshaykhullin@gmail.com>
Co-authored-by: Sergey Shaykhullin <46970457+sergeyshaykhullin@users.noreply.github.com>
2020-06-23 16:40:18 -04:00

15 lines
365 B
YAML

{{ if .Values.bots.slack.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "argocd-notifications.name" . }}-bot
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 }}