Closed sbernauer closed 7 months ago
Should this be cherry picked to 23.11?
If we can, that'd be great. But if it is too much of a hassle leave it.
+1. We already had a discussion on Slack as well: https://stackable-workspace.slack.com/archives/C037Q9DPF4P/p1701180253227739
Description
Fixes https://github.com/stackabletech/spark-k8s-operator/issues/316 Other user has reported as well:
2023-11-28T13:05:23,601 ERROR [main] org.apache.spark.util.Utils - Uncaught exception in thread main io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: DELETE at: https://kubernetes.default.svc/api/v1/namespaces/default/configmaps?labelSelector=spark-app-selector%3Dspark-6d6176af4a3244b3932a9ef1ad5c53fe%2Cspark-role%3Dexecutor. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. configmaps is forbidden: User "system:serviceaccount:default:spark-teragen" cannot deletecollection resource "configmaps" in API group "" in the namespace "default".
Definition of Done Checklist