Skip to content

Commit

Permalink
Load environment variables from secret (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshiyosan authored Nov 29, 2023
1 parent 5173838 commit b3744ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
envFrom:
- secretRef:
name: cookbook-secret
ports:
- name: http
containerPort: 8000
Expand Down

0 comments on commit b3744ee

Please sign in to comment.