You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.
On Kubernetes 1.10.0 I got a problem with version detection. I have .Capabilities.KubeVersion.Minor equal to "10" and this is less than "8" by rules of Golang. We need to convert minor version to integer and then compare.
This line works fine for me
{{- if ge (int (.Capabilities.KubeVersion.Minor)) 8 -}}
Version of Helm and Kubernetes:
Kubernetes 1.10.0
Helm 2.8.2
The text was updated successfully, but these errors were encountered:
AnatolyRugalev
changed the title
String comparison in version check
String comparison in version detection
May 30, 2018
This is a BUG REPORT
On Kubernetes 1.10.0 I got a problem with version detection. I have .Capabilities.KubeVersion.Minor equal to "10" and this is less than "8" by rules of Golang. We need to convert minor version to integer and then compare.
This line works fine for me
Version of Helm and Kubernetes:
Kubernetes 1.10.0
Helm 2.8.2
The text was updated successfully, but these errors were encountered: