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