fix: fix helm install failed when enable ingress
This commit is contained in:
parent
b305c90b9c
commit
6ad1a92db0
|
@ -34,7 +34,7 @@ spec:
|
|||
paths:
|
||||
- path: /
|
||||
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
||||
pathType: {{ .Values.ingress.dashboard.pathType | default "ImplementationSpecific" }}
|
||||
pathType: {{ $.Values.ingress.dashboard.pathType | default "ImplementationSpecific" }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
paths:
|
||||
- path: {{ $.Values.ingress.mgmt.path | default "/" }}
|
||||
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
||||
pathType: {{ .Values.ingress.mgmt.pathType | default "ImplementationSpecific" }}
|
||||
pathType: {{ $.Values.ingress.mgmt.pathType | default "ImplementationSpecific" }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
paths:
|
||||
- path: {{ $.Values.ingress.wss.path | default "/mqtt" }}
|
||||
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
||||
pathType: {{ .Values.ingress.wss.pathType | default "ImplementationSpecific" }}
|
||||
pathType: {{ $.Values.ingress.wss.pathType | default "ImplementationSpecific" }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
|
|
Loading…
Reference in New Issue