Fix-semver (#11193)
This commit is contained in:
parent
df9d0e1755
commit
b233a96faa
4 changed files with 6 additions and 6 deletions
|
|
@ -32,7 +32,7 @@ spec:
|
|||
port: {{ .Values.defaultBackend.service.servicePort }}
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
|
||||
{{- if semverCompare ">=1.20.0-0" .Capabilities.KubeVersion.Version }}
|
||||
appProtocol: http
|
||||
{{- end }}
|
||||
selector:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue