datawire / ambassador-chart

Helm Chart for Installing Ambassador
42 stars 60 forks source link

v1beta1 ClusterRole and CRD deprecated, preventing installation on GKE cluster #131

Closed dpfeif closed 4 years ago

dpfeif commented 4 years ago

Describe the bug Get the following error when installing:

Error: malformed chart or values: 
    templates/crds-rbac.yaml: the kind "rbac.authorization.k8s.io/v1beta1 ClusterRole" is deprecated in favor of "rbac.authorization.k8s.io/v1 ClusterRole"
    templates/crds.yaml: the kind "apiextensions.k8s.io/v1beta1 CustomResourceDefinition" is deprecated in favor of "apiextensions.k8s.io/v1 CustomResourceDefinition"
    templates/rbac.yaml: the kind "rbac.authorization.k8s.io/v1beta1 ClusterRole" is deprecated in favor of "rbac.authorization.k8s.io/v1 ClusterRole"

To Reproduce

  1. Try and install specified Ambassador chart version on specified GKE cluster version

Versions (please complete the following information):

Additional context Install is performed using the Terraform Helm provider and has been working for multiple month before this error popped up.

dpfeif commented 4 years ago

This is actually caused by the Terraform Helm provider, and related to https://github.com/helm/helm/issues/8596. For anyone stumbling on this same issue, for us it was fixed by preventing the provider from getting updated above "->1.2.0". Anything above will raise linting issues with this chart.