diff --git a/charts/sourcegraph-executor/k8s/README.md b/charts/sourcegraph-executor/k8s/README.md index 39072136..cc5543bf 100644 --- a/charts/sourcegraph-executor/k8s/README.md +++ b/charts/sourcegraph-executor/k8s/README.md @@ -77,8 +77,8 @@ In addition to the documented values, the `executor` and `private-docker-registr | executor.kubernetesJob.resources.limits.memory | string | `"12Gi"` | The maximum memory for a job. | | executor.kubernetesJob.resources.requests.cpu | string | `""` | The requested CPU for a job. | | executor.kubernetesJob.resources.requests.memory | string | `"1Gi"` | The requested memory for a job. | -| executor.kubernetesJob.runAsGroup | int | `-1` | The group ID to run Kubernetes jobs as. | -| executor.kubernetesJob.runAsUser | int | `-1` | The user ID to run Kubernetes jobs as. | +| executor.kubernetesJob.runAsGroup | int | `nil` | The group ID to run Kubernetes jobs as. | +| executor.kubernetesJob.runAsUser | int | `nil` | The user ID to run Kubernetes jobs as. | | executor.log.format | string | `"condensed"` | | | executor.log.level | string | `"warn"` | Possible values are `dbug`, `info`, `warn`, `eror`, `crit`. | | executor.log.trace | string | `"false"` | | diff --git a/charts/sourcegraph-executor/k8s/values.yaml b/charts/sourcegraph-executor/k8s/values.yaml index e580df2b..a30ffde2 100644 --- a/charts/sourcegraph-executor/k8s/values.yaml +++ b/charts/sourcegraph-executor/k8s/values.yaml @@ -94,12 +94,10 @@ executor: kubernetesJob: # -- The number of seconds after which a Kubernetes job will be terminated. deadline: "1200" - # -- The user ID to run Kubernetes jobs as. - # -- Set only if used. The `sourcegraph` UID is 100. - # runAsUser: 100 - # -- The group ID to run Kubernetes jobs as. - # -- Set only if used. The `sourcegraph` GID is 101. - # runAsGroup: 101 + # -- (int) The user ID to run Kubernetes jobs as. + runAsUser: + # -- (int) The group ID to run Kubernetes jobs as. + runAsGroup: # -- The group ID which is set on the job PVC file system. fsGroup: "1000" resources: