You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/sourcegraph-executor/k8s/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ In addition to the documented values, the `executor` and `private-docker-registr
54
54
|-----|------|---------|-------------|
55
55
| executor.affinity | object |`{}`| Affinity, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)|
56
56
| executor.configureRbac | bool |`true`| Whether to configure the necessary RBAC resources. Required only once for all executor deployments. |
57
+
| executor.containerSecurityContext | object |`{}`| Override container security context for the executor container. learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
57
58
| executor.debug.keepJobs | string |`"false"`| If true, Kubernetes jobs will not be deleted after they complete. Not recommended for production use as it can hit cluster limits. |
| executor.securityContext | object |`{}`|Override container security contextfor the executor container. learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
101
+
| executor.securityContext | object |`{}`|(DEPRECATED) Legacy override for container security context. Use containerSecurityContext instead. Kept for backwards compatibility; containerSecurityContext takes precedence if both are set.|
101
102
| executor.storageSize | string |`"10Gi"`| The storage size of the PVC attached to the executor deployment. |
102
103
| executor.tolerations | list |`[]`| Tolerations, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)|
103
104
| sourcegraph.affinity | object |`{}`| Affinity, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)|
Copy file name to clipboardExpand all lines: charts/sourcegraph-executor/k8s/values.yaml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,9 +112,12 @@ executor:
112
112
# -- Default container security context for the executor container
113
113
defaultContainerSecurityContext:
114
114
privileged: false
115
+
# -- (DEPRECATED) Legacy override for container security context. Use containerSecurityContext instead.
116
+
# Kept for backwards compatibility; containerSecurityContext takes precedence if both are set.
117
+
securityContext: {}
115
118
# -- Override container security context for the executor container.
116
119
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
117
-
securityContext: {}
120
+
containerSecurityContext: {}
118
121
# -- Default pod security context for the executor pod
119
122
defaultPodSecurityContext: {}
120
123
# -- Override pod security context for the executor pod
0 commit comments