
* feat: add support for configuring bot port Adds support for configuring the bot listening port for people who want it to listen on 443 (for example) * bump version * remove unnecessary protocol Co-authored-by: Andy Feller <andrew.feller@gmail.com>
19 lines
546 B
YAML
19 lines
546 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: http
|
|
port: {{ .Values.bots.slack.service.port }}
|
|
protocol: TCP
|
|
targetPort: http
|
|
selector:
|
|
{{- include "argocd-notifications.bots.slack.selectorLabels" . | nindent 4 }}
|
|
type: {{ .Values.bots.slack.service.type }}
|
|
{{ end }}
|