diff --git a/charts/freeipa/templates/ingress.yaml b/charts/freeipa/templates/ingress.yaml index 3cbdd4e..eade285 100644 --- a/charts/freeipa/templates/ingress.yaml +++ b/charts/freeipa/templates/ingress.yaml @@ -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 }} diff --git a/charts/freeipa/values.yaml b/charts/freeipa/values.yaml index 5edee7d..bde3d82 100644 --- a/charts/freeipa/values.yaml +++ b/charts/freeipa/values.yaml @@ -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: