File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
charts/sourcegraph/templates Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ app.kubernetes.io/name: jaeger
249249{ {- end } }
250250
251251{ {- define " sourcegraph.redisConnection" -} }
252+ { {- if .Values.sourcegraph.createKubernetesSecrets -} }
252253- name: REDIS_CACHE_ENDPOINT
253254 valueFrom:
254255 secretKeyRef:
@@ -259,7 +260,13 @@ app.kubernetes.io/name: jaeger
259260 secretKeyRef:
260261 key: endpoint
261262 name: { { default .Values.redisStore.name .Values.redisStore.connection.existingSecret } }
262- { {- end } }
263+ { {- else -} }
264+ - name: REDIS_CACHE_ENDPOINT
265+ value: { { .Values.sourcegraph.redisCacheEndpoint } }
266+ - name: REDIS_STORE_ENDPOINT
267+ value: { { .Values.sourcegraph.redisStoreEndpoint } }
268+ { {- end -} }
269+ { {- end -} }
263270
264271{ {- define " sourcegraph.authChecksum" -} }
265272{ {- $checksum := list .Values.codeInsightsDB.auth -} }
You can’t perform that action at this time.
0 commit comments