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
| executor.containerSecurityContext | object |`{}`| Override container security context for the executor container |
61
+
| executor.defaultContainerSecurityContext | object |`{}`| Default container security context for the executor container |
62
+
| executor.defaultPodSecurityContext | object |`{}`| Default pod security context for the executor pod |
58
63
| executor.enabled | bool |`true`||
59
64
| executor.env.EXECUTOR_FRONTEND_PASSWORD | object |`{"value":""}`| The shared secret configured in the Sourcegraph instance site config under executors.accessToken. Required. |
60
65
| executor.env.EXECUTOR_FRONTEND_URL | object |`{"value":""}`| The external URL of the Sourcegraph instance. Required. |
61
66
| executor.env.EXECUTOR_QUEUE_NAME | object |`{"value":""}`| The name of the queue to pull jobs from to. Possible values: batches and codeintel. **Either this or EXECUTOR_QUEUE_NAMES is required.**|
62
67
| executor.env.EXECUTOR_QUEUE_NAMES | object |`{"value":""}`| The comma-separated list of names of multiple queues to pull jobs from to. Possible values: batches and codeintel. **Either this or EXECUTOR_QUEUE_NAME is required.**|
| executor.podSecurityContext | object |`{}`| Override pod security context for the executor pod |
65
71
| executor.replicaCount | int |`1`||
66
72
| privateDockerRegistry.enabled | bool |`true`| Whether to deploy the private registry. Only one registry is needed when deploying multiple executors. More information: https://docs.sourcegraph.com/admin/executors/deploy_executors#using-private-registries|
| sourcegraph.affinity | object |`{}`| Affinity, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)|
78
+
| sourcegraph.containerSecurityContext | object |`{}`| Global container security context override applied to all containers. Merges with component defaults; component-specific overrides take precedence. |
72
79
| sourcegraph.image.defaultTag | string |`"{{ .Chart.AppVersion }}"`| Global docker image tag |
| sourcegraph.image.repository | string |`"index.docker.io/sourcegraph"`| Global docker image registry or prefix |
@@ -79,6 +86,7 @@ In addition to the documented values, the `executor` and `private-docker-registr
79
86
| sourcegraph.nodeSelector | object |`{}`| NodeSelector, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector)|
80
87
| sourcegraph.podAnnotations | object |`{}`| Add extra annotations to attach to all pods |
81
88
| sourcegraph.podLabels | object |`{}`| Add extra labels to attach to all pods |
89
+
| sourcegraph.podSecurityContext | object |`{}`| Global pod security context override applied to all pods. Merges with component defaults; component-specific overrides take precedence. |
82
90
| sourcegraph.priorityClassName | string |`""`| Assign a priorityClass to all pods (daemonSets, deployments, and statefulSets) |
83
91
| sourcegraph.tolerations | list |`[]`| Tolerations, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)|
84
92
| storageClass.allowedTopologies | object |`{}`| Persistent volumes topology configuration, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/storage-classes/#allowed-topologies)|
Copy file name to clipboardExpand all lines: charts/sourcegraph-executor/k8s/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,10 @@ In addition to the documented values, the `executor` and `private-docker-registr
56
56
| executor.configureRbac | bool |`true`| Whether to configure the necessary RBAC resources. Required only once for all executor deployments. |
57
57
| 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.defaultContainerSecurityContext | object |`{"privileged":false}`| Default container security context for the executor container |
60
+
| executor.defaultPodSecurityContext | object |`{}`| Default pod security context for the executor pod |
59
61
| executor.dockerAddHostGateway | string |`"false"`| For local deployments the host is 'host.docker.internal' and this needs to be true |
62
+
| executor.enabled | bool |`true`| Whether to deploy the executor |
60
63
| executor.extraEnv | string |`nil`| Sets extra environment variables on the executor deployment. See `values.yaml` for the format. |
61
64
| executor.frontendExistingSecret | string |`""`| Name of existing k8s Secret to use for frontend password The name of the secret must match `executor.name`, i.e., the name of the helm release used to deploy the helm chart. The k8s Secret must contain the key `EXECUTOR_FRONTEND_PASSWORD` matching the site config `executors.accessToken` value. `executor.frontendPassword` is ignored if this is enabled. |
62
65
| executor.frontendPassword | string |`""`| The shared secret configured in the Sourcegraph instance site config under executors.accessToken. Required if `executor.frontendExistingSecret`` is not configured. |
@@ -86,17 +89,19 @@ In addition to the documented values, the `executor` and `private-docker-registr
| executor.namespace | string |`"default"`| The namespace in which jobs are generated by the executor. |
88
91
| executor.nodeSelector | object |`{}`| NodeSelector, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector)|
92
+
| executor.podSecurityContext | object |`{}`| Override pod security context for the executor pod |
89
93
| executor.queueName | string |`""`| The name of the queue to pull jobs from to. Possible values: batches and codeintel. **Either this or queueNames is required.**|
90
94
| executor.queueNames | list |`[]`| The names of multiple queues to pull jobs from to. Possible values: batches and codeintel. **Either this or queueName is required.**|
| executor.securityContext | object |`{"fsGroup":null,"privileged":false,"runAsGroup":null,"runAsUser":null}`|The containerSecurityContext for the executor image|
100
+
| executor.securityContext | 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)|
97
101
| executor.storageSize | string |`"10Gi"`| The storage size of the PVC attached to the executor deployment. |
98
102
| executor.tolerations | list |`[]`| Tolerations, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)|
99
103
| sourcegraph.affinity | object |`{}`| Affinity, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)|
104
+
| sourcegraph.containerSecurityContext | object |`{}`| Global container security context override applied to all containers. Merges with component defaults; component-specific overrides take precedence. |
100
105
| sourcegraph.image.defaultTag | string |`"{{ .Chart.AppVersion }}"`| Global docker image tag |
| sourcegraph.image.repository | string |`"index.docker.io/sourcegraph"`| Global docker image registry or prefix |
@@ -108,6 +113,7 @@ In addition to the documented values, the `executor` and `private-docker-registr
108
113
| sourcegraph.nodeSelector | object |`{}`| NodeSelector, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector)|
109
114
| sourcegraph.podAnnotations | object |`{}`| Add extra annotations to attach to all pods |
110
115
| sourcegraph.podLabels | object |`{}`| Add extra labels to attach to all pods |
116
+
| sourcegraph.podSecurityContext | object |`{}`| Global pod security context override applied to all pods. Merges with component defaults; component-specific overrides take precedence. |
111
117
| sourcegraph.priorityClassName | string |`""`| Assign a priorityClass to all pods (daemonSets, deployments, and statefulSets) |
112
118
| sourcegraph.tolerations | list |`[]`| Tolerations, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)|
113
119
| storageClass.allowedTopologies | object |`{}`| Persistent volumes topology configuration, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/storage-classes/#allowed-topologies)|
0 commit comments