Skip to content

Commit de80dba

Browse files
authored
Fix template syntax (#9)
Actually fix chart template syntax for real this time.
1 parent 2688f20 commit de80dba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chart/templates/okapi-hook-job.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ spec:
3232
value: "{{ .Values.okapiUrl }}"
3333
- name: MODULE_URL
3434
value: "{{ .Values.moduleUrl }}"
35+
{{- if .Values.tenants }}
3536
- name: OKAPI_TENANTS
36-
value: "{{ join "," .Values.tenants | default [] }}"
37+
value: "{{ join "," .Values.tenants }}"
38+
{{- end }}
3739
- name: OKAPI_ADMIN_TENANT
3840
value: "{{ join "," .Values.supertenant }}"
3941
{{- range $k, $v := .Values.env }}

0 commit comments

Comments
 (0)