Closed MohanPatidar5 closed 2 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.
Hi, using GKE(v1.25.6-gke) and EKS(v1.25.6-eks) cluster with PSS/PSA restricted. I tried to pass the PSS/PSA required parameters through the template to sparkApplication driver and executors but got the issue. below is the configuration which is I'm trying to use.
getting the below issue while submitting sparkApplications to operator.
even tried without passing the seccompProfile parameter to securityContext so got the below error in the operator logs.
pods \"spark-pi-driver\" is forbidden: violates PodSecurity \"restricted:latest\": seccompProfile (pod or container \"cspk-radish\" must set securityContext.seccompProfile.type to \"RuntimeDefault\" or \"Localhost\").\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:682)
and I don't see any object defined for the seccompProfile in the CRD to handled parameter. so wanted to know how can we pass the PSS/PSA parameters as seccompProfile through the template to sparkApplication driver and executors.
Thank you, Mohan