ashangit commented on code in PR #437:
URL:
https://github.com/apache/spark-kubernetes-operator/pull/437#discussion_r2675466773
##########
build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml:
##########
@@ -58,6 +58,14 @@ rules:
- poddisruptionbudgets
verbs:
- '*'
+{{- if gt (int .Values.operatorDeployment.replicas) 1 }}
+ - apiGroups:
+ - "coordination.k8s.io"
Review Comment:
This permission is mandatory for the operator to be able to create lease
when HA is enabled (ensuring only one instance run reconcile loop)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]