Skip to content

Commit 84ea4b2

Browse files
author
Craig Furman
authored
feat(appliance): add deployment name env var (#501)
Enable self-update background loop by default. https://linear.app/sourcegraph/issue/REL-212/appliance-can-self-upgrade
1 parent 554d6f6 commit 84ea4b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/sourcegraph-appliance/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ spec:
4343
valueFrom:
4444
fieldRef:
4545
fieldPath: metadata.namespace
46+
- name: APPLIANCE_DEPLOYMENT_NAME
47+
value: {{ include "sourcegraph-appliance.fullname" . }}
4648
ports:
4749
- name: http
4850
containerPort: {{ .Values.service.port }}

0 commit comments

Comments
 (0)