When .Values.crds.keep is set to false, ambassador service account will attempt to remove all CRDs it has created. In order to succeed it must have the delete permission granted for the customresourcedefinitions resource, otherwise an attempt to delete CRDs leads to an error:
Error from server (Forbidden): customresourcedefinitions.apiextensions.k8s.io "projects.getambassador.io" is forbidden: User "system:serviceaccount:ambassador:ambassador" cannot delete resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope
When
.Values.crds.keep
is set tofalse
, ambassador service account will attempt to remove all CRDs it has created. In order to succeed it must have the delete permission granted for thecustomresourcedefinitions
resource, otherwise an attempt to delete CRDs leads to an error: