yogeek commented on issue #535:
URL: 
https://github.com/apache/spark-kubernetes-operator/issues/535#issuecomment-3998600899

   This issue is already fixed in main branch (version 1.6.0-dev). The fix was 
added conditionally based on replicas count:
   
   ```yaml
   {{- if gt (int .Values.operatorDeployment.replicas) 1 }}
     - apiGroups:
         - "coordination.k8s.io"
       resources:
         - leases
       verbs:
         - '*'
   {{- end }}
   ```
   
   The fix will be available in the next chart release. For users on 1.5.0, a 
workaround is to patch the ClusterRole to add lease permissions.


-- 
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]

Reply via email to