fix(argo-cd): Correct ApplicationSet controller port (#1200)

* Add default value for the applicationSet controller container port

Signed-off-by: amaury ravanel <amaury.ravanel@gmail.com>

* Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
amaury ravanel 2022-03-28 23:01:54 +02:00 committed by GitHub
parent abea0338a3
commit 45ed060c2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ spec:
ports:
- name: {{ .Values.applicationSet.service.portName }}
port: {{ .Values.applicationSet.service.port }}
targetPort: {{ .Values.applicationSet.containerPort }}
targetPort: webhook
selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 4 }}
{{- end }}