diff --git a/charts/tigera-operator/templates/tigera-operator/02-role-tigera-operator.yaml b/charts/tigera-operator/templates/tigera-operator/02-role-tigera-operator.yaml index 5096a3c2392..33e6c8c463e 100644 --- a/charts/tigera-operator/templates/tigera-operator/02-role-tigera-operator.yaml +++ b/charts/tigera-operator/templates/tigera-operator/02-role-tigera-operator.yaml @@ -122,6 +122,14 @@ rules: verbs: - create - delete + # In addition to the above, the operator should have the ability to delete their own resources during uninstallation. + - apiGroups: + - operator.tigera.io + resources: + - installations + - apiservers + verbs: + - delete - apiGroups: - networking.k8s.io resources: diff --git a/manifests/ocp/02-role-tigera-operator.yaml b/manifests/ocp/02-role-tigera-operator.yaml index f6afb422011..fe73bfdbdb4 100644 --- a/manifests/ocp/02-role-tigera-operator.yaml +++ b/manifests/ocp/02-role-tigera-operator.yaml @@ -122,6 +122,14 @@ rules: verbs: - create - delete + # In addition to the above, the operator should have the ability to delete their own resources during uninstallation. + - apiGroups: + - operator.tigera.io + resources: + - installations + - apiservers + verbs: + - delete - apiGroups: - networking.k8s.io resources: diff --git a/manifests/tigera-operator.yaml b/manifests/tigera-operator.yaml index ea481ed35cc..4fb61f75999 100644 --- a/manifests/tigera-operator.yaml +++ b/manifests/tigera-operator.yaml @@ -25105,6 +25105,14 @@ rules: verbs: - create - delete + # In addition to the above, the operator should have the ability to delete their own resources during uninstallation. + - apiGroups: + - operator.tigera.io + resources: + - installations + - apiservers + verbs: + - delete - apiGroups: - networking.k8s.io resources: