feat: add support for configuring bot port (#432)

* 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>
main
Richard Simpson 2020-08-28 21:01:39 -05:00 committed by GitHub
parent bc14a12db5
commit 0a03ca0bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@ appVersion: 0.7.0
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications
type: application
version: 1.0.10
version: 1.0.11
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

View File

@ -30,6 +30,9 @@ spec:
command:
- /app/argocd-notifications
- bot
ports:
- containerPort: 8080
name: http
{{- with .Values.bots.slack.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -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 }}

View File

@ -211,6 +211,7 @@ bots:
service:
annotations: {}
port: 80
type: LoadBalancer
serviceAccount: