We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should test against 1.16 - i tried but the deployment of the test chart fails due to the new API versions/kinds used for Deployments
Essentially we should just need to update the helm chart have the new api types, only installing them on 1.16 and vice versa?
The text was updated successfully, but these errors were encountered:
I'm not sure I understood your question well but we should be able to do something like:
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}} apiVersion: extensions/v1beta1 {{- end }}
as taken from https://github.com/helm/helm/blob/84de17e7e5255e5033967f005d4b4c05c024317c/pkg/chartutil/create.go#L184
Although since we don't test with earlier versions than 1.14 we may be able to just change the apiVersion.
Sorry, something went wrong.
@marckhouzam I feel we should update latest example to latest API versions, currently tests fails for all kubernetes versions which are beyond 1.15.
No branches or pull requests
We should test against 1.16 - i tried but the deployment of the test chart fails due to the new API versions/kinds used for Deployments
Essentially we should just need to update the helm chart have the new api types, only installing them on 1.16 and vice versa?
The text was updated successfully, but these errors were encountered: