Skip to content

Commit 3acaf60

Browse files
authored
Update values.yaml to allow OpenShift SCC to assign fsGroup and update README (#17)
* Update values.yaml to allow OpenShift SCC to assign fsGroup * Update README.md to set fsGroup to null for controller and webhook pod security contexts
1 parent 1a5e57d commit 3acaf60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/spark-operator-chart/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall) for command docum
120120
| controller.affinity | object | `{}` | Affinity for controller pods. |
121121
| controller.tolerations | list | `[]` | List of node taints to tolerate for controller pods. |
122122
| controller.priorityClassName | string | `""` | Priority class for controller pods. |
123-
| controller.podSecurityContext | object | `{"fsGroup":185}` | Security context for controller pods. |
123+
| controller.podSecurityContext | object | `{"fsGroup":null}` | Security context for controller pods. |
124124
| controller.topologySpreadConstraints | list | `[]` | Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in. Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/). The labelSelector field in topology spread constraint will be set to the selector labels for controller pods if not specified. |
125125
| controller.hostUsers | string | `nil` | Whether to use user namespace or not Kubernetes version 1.30 for feature beta (1.33 for GA) or higher is required with support from OS and OCI runtime ref: https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/ |
126126
| controller.env | list | `[]` | Environment variables for controller containers. |
@@ -163,7 +163,7 @@ See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall) for command docum
163163
| webhook.affinity | object | `{}` | Affinity for webhook pods. |
164164
| webhook.tolerations | list | `[]` | List of node taints to tolerate for webhook pods. |
165165
| webhook.priorityClassName | string | `""` | Priority class for webhook pods. |
166-
| webhook.podSecurityContext | object | `{"fsGroup":185}` | Security context for webhook pods. |
166+
| webhook.podSecurityContext | object | `{"fsGroup":null}` | Security context for webhook pods. |
167167
| webhook.topologySpreadConstraints | list | `[]` | Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in. Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/). The labelSelector field in topology spread constraint will be set to the selector labels for webhook pods if not specified. |
168168
| webhook.hostUsers | string | `nil` | Whether to use user namespace or not Kubernetes version 1.30 for feature beta (1.33 for GA) or higher is required with support from OS and OCI runtime ref: https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/ |
169169
| webhook.env | list | `[]` | Environment variables for webhook containers. |

charts/spark-operator-chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ controller:
170170

171171
# -- Security context for controller pods.
172172
podSecurityContext:
173-
fsGroup: 185
173+
fsGroup: null # Override upstream default (185) to let OpenShift SCC assign
174174

175175
# -- Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in.
176176
# Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/).
@@ -345,7 +345,7 @@ webhook:
345345

346346
# -- Security context for webhook pods.
347347
podSecurityContext:
348-
fsGroup: 185
348+
fsGroup: null # Override upstream default (185) to let OpenShift SCC assign
349349

350350
# -- Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in.
351351
# Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/).

0 commit comments

Comments
 (0)