feat(argo-cd): Parameterizing dex ports names due to istio 403 errors (#889)

* refactor: Parameterizing dex ports names due to istio 403 errors

Signed-off-by: Piotr Kowalczyk <kowalczyk.p.4@pg.com>

* fix: updating default http port name to http

Signed-off-by: Piotr Kowalczyk <kowalczyk.p.4@pg.com>
This commit is contained in:
Piotr Kowalczyk 2021-08-23 19:23:07 +02:00 committed by GitHub
parent 573a7494d4
commit 3a4baae95d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -16,11 +16,11 @@ metadata:
{{- end }}
spec:
ports:
- name: http
- name: {{ .Values.dex.servicePortHttpName }}
protocol: TCP
port: {{ .Values.dex.servicePortHttp }}
targetPort: http
- name: grpc
- name: {{ .Values.dex.servicePortGrpcName }}
protocol: TCP
port: {{ .Values.dex.servicePortGrpc }}
targetPort: grpc