Skip to content

Commit

Permalink
Merge pull request #74 from FusionAuth/fix-72
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak authored Sep 22, 2021
2 parents e9b83e9 + 463ee7f commit fd7935e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ spec:
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ or .host . | quote }}
- host: {{ . | quote }}
http:
paths:
{{- if $extraPaths }}
{{ $extraPaths | toYaml | indent 10 }}
{{- end }}
{{- range $ingressPaths }}
- path: {{ or .path . }}
- path: {{ or .path . | quote }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
pathType: {{ .pathType | quote }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ ingress:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
paths: []
# - path: /*
# pathType: Prefix
# ingress.extraPaths -- Define complete path objects, will be inserted before regular paths. Can be useful for things like ALB Ingress Controller actions
extraPaths: []
# ingress.hosts -- List of hostnames to configure the ingress with
Expand Down

0 comments on commit fd7935e

Please sign in to comment.