Browse Source

Fix issue with ingress pathType

master
Fábio Kaiser Rauber 3 years ago
parent
commit
5d50544ca7
  1. 4
      charts/saberes/v0.1.0/templates/ingress.yaml
  2. 1
      charts/saberes/v0.1.0/values.yaml

4
charts/saberes/v0.1.0/templates/ingress.yaml

@ -37,8 +37,8 @@ spec:
http:
paths:
- path: "/"
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}

1
charts/saberes/v0.1.0/values.yaml

@ -42,6 +42,7 @@ ingress:
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hostname: 'moodle.url'
pathType: Prefix
tls:
enabled: true

Loading…
Cancel
Save