Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tyu0912 committed Dec 16, 2024
1 parent be8490c commit 6577005
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion charts/datalayer-iam/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ spec:
- name: {{ $key }}
{{- if kindIs "string" $value }}
value: {{ $value | quote }}
{{- else }}
{{- else if kindIs "map" $value }}
valueFrom: {{- $value | toYaml | nindent 16}}
{{- else }}
{{- fail "Env value must be either string or map with key secretKeyRef or configMapKeyRef" }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
4 changes: 3 additions & 1 deletion charts/datalayer-jupyter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ spec:
- name: {{ $key }}
{{- if kindIs "string" $value }}
value: {{ $value | quote }}
{{- else }}
{{- else if kindIs "map" $value }}
valueFrom: {{- $value | toYaml | nindent 16}}
{{- else }}
{{- fail "Env value must be either string or map with key secretKeyRef or configMapKeyRef" }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
4 changes: 3 additions & 1 deletion charts/datalayer-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ spec:
- name: {{ $key }}
{{- if kindIs "string" $value }}
value: {{ $value | quote }}
{{- else }}
{{- else if kindIs "map" $value }}
valueFrom: {{- $value | toYaml | nindent 16}}
{{- else }}
{{- fail "Env value must be either string or map with key secretKeyRef or configMapKeyRef" }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 6577005

Please sign in to comment.