FreeIPA: Allow the ingress backend port to be specified

main
Dan Ankers 2023-10-21 16:05:52 +01:00
parent 45a519fe3e
commit 0187c2c80e
2 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s" (include "common.names.fullname" .)) "servicePort" "http" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s" (include "common.names.fullname" .)) "servicePort" .Values.ingress.backendProtocol "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
- host: {{ .name }}

View File

@ -157,6 +157,9 @@ ingress:
## existingSecret: name-of-existing-secret
##
tls: false
## @param ingress.backendProtocol The backend serviceport which the ingress record will point at
##
backendProtocol: "http"
## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
## extraHosts: