Skip to content

Commit 8500b2c

Browse files
committed
Add docs for Redis env var configs
1 parent 8359633 commit 8500b2c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/sourcegraph/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ In addition to the documented values, all services also support the following va
315315
| sourcegraph.nodeSelector | object | `{}` | Global NodeSelector, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) |
316316
| sourcegraph.podAnnotations | object | `{}` | Add extra annotations to attach to all pods |
317317
| sourcegraph.podLabels | object | `{}` | Add extra labels to attach to all pods |
318+
| sourcegraph.redisCacheEndpoint | string | `""` | Set the value of the REDIS_CACHE_ENDPOINT environment variable on the needed containers, when Kubernetes secrets are disabled |
319+
| sourcegraph.redisStoreEndpoint | string | `""` | Set the value of the REDIS_STORE_ENDPOINT environment variable on the needed containers, when Kubernetes secrets are disabled |
318320
| sourcegraph.revisionHistoryLimit | int | `10` | Global deployment clean up policy, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) |
319321
| sourcegraph.serviceLabels | object | `{}` | Add extra labels to all services |
320322
| sourcegraph.tolerations | list | `[]` | Global Tolerations, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |

charts/sourcegraph/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ sourcegraph:
4040
serviceLabels: {}
4141
# -- Disable the creation of Kubernetes secrets objects
4242
disableKubernetesSecrets: false
43+
# -- Set the value of the REDIS_CACHE_ENDPOINT environment variable on the needed containers, when Kubernetes secrets are disabled
44+
redisCacheEndpoint: ""
45+
# -- Set the value of the REDIS_STORE_ENDPOINT environment variable on the needed containers, when Kubernetes secrets are disabled
46+
redisStoreEndpoint: ""
4347

4448
# Generic application configuration options, used by most applications below
4549
# app: # Generally matches directory name

0 commit comments

Comments
 (0)