Skip to content

Commit

Permalink
feat(deployment): support downward api
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-chen-sl committed Jul 22, 2024
1 parent 522d791 commit a693254
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions simple/templates/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
name: {{ $ref.name }}
key: {{ $ref.key | quote }}
{{- end }}
{{- range .envFromFieldRefs }}
- name: {{ .name }}
valueFrom:
fieldRef:
fieldPath: {{ .fieldPath }}
{{- end }}
envFrom:
{{- range .envFromConfigmap }}
- configMapRef:
Expand Down

0 comments on commit a693254

Please sign in to comment.