Merge pull request #8146 from Rory-Z/fix/fix-helm-install-error
fix: fix helm install failed when enable ingress
This commit is contained in:
commit
8d7c79eb90
|
@ -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