diff --git a/helm-charts/doris-operator/templates/clusterrole.yaml b/helm-charts/doris-operator/templates/clusterrole.yaml index fe9b18db..e9b78525 100644 --- a/helm-charts/doris-operator/templates/clusterrole.yaml +++ b/helm-charts/doris-operator/templates/clusterrole.yaml @@ -76,6 +76,13 @@ rules: - list - watch - update + - delete + - apiGroups: + - "" + resources: + - pods/exec + verbs: + - create - apiGroups: - "" resources: @@ -84,6 +91,7 @@ rules: - get - list - watch + - create - update - patch - delete diff --git a/helm-charts/doris-operator/templates/leader-election-role.yaml b/helm-charts/doris-operator/templates/leader-election-role.yaml index 90adc44f..8da483b1 100644 --- a/helm-charts/doris-operator/templates/leader-election-role.yaml +++ b/helm-charts/doris-operator/templates/leader-election-role.yaml @@ -59,3 +59,4 @@ rules: verbs: - create - patch + - update