Fix-semver (#11199)

Co-authored-by: Karol Kieglerski <karol.kieglerski@dynatrace.com>
This commit is contained in:
k8s-infra-cherrypick-robot 2024-04-04 07:27:48 -07:00 committed by GitHub
parent ef2b2668de
commit 30b7d16af2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -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: