Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Override file demonstrating the use of a private docker image registry and custom image names

sourcegraph:
image:
repository: custom-repo.ecr.us-east-1.amazonaws.com/sourcegraph

# Registry credentials: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry
imagePullSecrets:
- name: regcred # Pre-existing secret that contains the credentials needed to pull from the image registry

# Allow Executors to reuse the same registry credentials to pull the needed images for Batch Changes and Auto-indexing
executor:
extraEnv:
- name: KUBERNETES_IMAGE_PULL_SECRETS
value: regcred
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ alpine:
image:
name: alpine # Use a custom name instead of the Sourcegraph name - i.e. alpine-3.12
tag: 3.12 # Use a custom tag instead of the default - i.e. 3.35.1

# Allow Executors to reuse the same registry credentials to pull the needed images for Batch Changes and Auto-indexing
executor:
extraEnv:
- name: KUBERNETES_IMAGE_PULL_SECRETS
value: regcred
Loading