Skip to content

Commit 76a8415

Browse files
authored
Update Redis endpoint config comment _helpers.tpl
1 parent b228fa6 commit 76a8415

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

charts/sourcegraph/templates/_helpers.tpl

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -252,25 +252,19 @@ app.kubernetes.io/name: jaeger
252252
Set redisCache and redisStore endpoints,
253253
so that customers can configure them any of these ways:
254254
255-
1. Create a new Kubernetes secret, with default values (default, no override config required)
255+
1. Create new Kubernetes secrets, with default values (default, no override config required)
256256
257-
2. Use an existing Kubernetes secret, by configuring:
258-
.Values.redisCache.connection.existingSecret: <secret name>,
259-
.Values.redisStore.connection.existingSecret: <secret name>,
257+
2. Use existing Kubernetes secrets, managed externally, by configuring:
258+
.Values.redisCache.connection.existingSecret: <secret name>
259+
.Values.redisStore.connection.existingSecret: <secret name>
260260
261261
3. Do not create or use Kubernetes secrets, just pass the default values directly as environment variables into the needed pods, by configuring:
262262
.Values.sourcegraph.disableKubernetesSecrets: true
263263
264264
4. Do not create or use Kubernetes secrets, but provide custom values (ex. external Redis) to have this function pass them into the REDIS_CACHE_ENDPOINT and REDIS_STORE_ENDPOINT env vars on frontend, gitserver, searcher, and worker pods, by configuring:
265-
.Values.sourcegraph.disableKubernetesSecrets: true,
266-
.Values.redisCache.connection.endpoint: <custom value for REDIS_CACHE_ENDPOINT>,
267-
.Values.redisStore.connection.endpoint: <custom value for REDIS_STORE_ENDPOINT>,
268-
269-
5. Do not create or use Kubernetes secrets, but pass custom values (ex. external Redis) directly as environment variables into the needed pods, by configuring:
270-
.Values.sourcegraph.disableKubernetesSecrets: true,
271-
.Values.redisCache.connection.endpoint: "",
272-
.Values.redisStore.connection.endpoint: "",
273-
and defining the REDIS_CACHE_ENDPOINT and REDIS_STORE_ENDPOINT env vars on frontend, gitserver, searcher, and worker pods
265+
.Values.sourcegraph.disableKubernetesSecrets: true
266+
.Values.redisCache.connection.endpoint: <custom value for REDIS_CACHE_ENDPOINT>
267+
.Values.redisStore.connection.endpoint: <custom value for REDIS_STORE_ENDPOINT>
274268
275269
*/}}
276270
{{- define "sourcegraph.redisConnection" -}}

0 commit comments

Comments
 (0)