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)
This commit is contained in:
parent
85b1b83ad0
commit
ec9144d7ef
3 changed files with 8 additions and 3 deletions
|
@ -30,6 +30,10 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /app/argocd-notifications
|
- /app/argocd-notifications
|
||||||
- bot
|
- bot
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
{{- with .Values.bots.slack.nodeSelector }}
|
{{- with .Values.bots.slack.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -9,10 +9,10 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: server
|
- name: http
|
||||||
port: 80
|
port: {{ .Values.bots.slack.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8080
|
targetPort: http
|
||||||
selector:
|
selector:
|
||||||
{{- include "argocd-notifications.bots.slack.selectorLabels" . | nindent 4 }}
|
{{- include "argocd-notifications.bots.slack.selectorLabels" . | nindent 4 }}
|
||||||
type: {{ .Values.bots.slack.service.type }}
|
type: {{ .Values.bots.slack.service.type }}
|
||||||
|
|
|
@ -211,6 +211,7 @@ bots:
|
||||||
|
|
||||||
service:
|
service:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
port: 80
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
|
Loading…
Reference in a new issue