charts
charts copied to clipboard
feat: allow tpl func in env for alpha init container
Gives opportunity to refer to the chart internals if needed, .e.g. using the following input
alpha:
initContainers:
init:
enabled: true
env:
- name: "RELEASE_NAME"
value: "{{ .Release.Name }}"
- name: "ZERO_SVC"
value: "{{ template \"dgraph.zero.fullname\" . }}"
produces the output of
initContainers:
- name: release-name-dgraph-alpha-init
image: docker.io/dgraph/dgraph:v23.0.1
imagePullPolicy: "IfNotPresent"
env:
- name: RELEASE_NAME
value: 'release-name'
- name: ZERO_SVC
value: 'release-name-dgraph-zero'
This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.