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:
|
||||
- /app/argocd-notifications
|
||||
- bot
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
{{- with .Values.bots.slack.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
|
|
@ -9,10 +9,10 @@ metadata:
|
|||
{{- end }}
|
||||
spec:
|
||||
ports:
|
||||
- name: server
|
||||
port: 80
|
||||
- name: http
|
||||
port: {{ .Values.bots.slack.service.port }}
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
targetPort: http
|
||||
selector:
|
||||
{{- include "argocd-notifications.bots.slack.selectorLabels" . | nindent 4 }}
|
||||
type: {{ .Values.bots.slack.service.type }}
|
||||
|
|
|
@ -211,6 +211,7 @@ bots:
|
|||
|
||||
service:
|
||||
annotations: {}
|
||||
port: 80
|
||||
type: LoadBalancer
|
||||
|
||||
serviceAccount:
|
||||
|
|
Loading…
Reference in a new issue