Skip to content

Commit ed8e81c

Browse files
authored
Add example showing reuse of k8s secret for executors
1 parent 22e639f commit ed8e81c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/sourcegraph/examples/private-image-registry/override.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@ alpine:
2525
image:
2626
name: alpine # Use a custom name instead of the Sourcegraph name - i.e. alpine-3.12
2727
tag: 3.12 # Use a custom tag instead of the default - i.e. 3.35.1
28+
29+
# Allow Executors to use the same registry credentials to pull the needed images for Batch Changes and Autoindexing
30+
executor:
31+
extraEnv:
32+
- name: KUBERNETES_IMAGE_PULL_SECRETS
33+
value: regcred

0 commit comments

Comments
 (0)