Skip to content

Commit

Permalink
Add env from secret
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSamson committed Dec 2, 2022
1 parent 16acd7a commit c49832a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/wp-next/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: wp-next
description: Wordpress and NextJs deployment, with Vercel
type: application
version: 1.5.10
version: 1.5.11
dependencies:
- name: mysql
version: 9.3.1
Expand Down
2 changes: 2 additions & 0 deletions charts/wp-next/templates/deployment-wordpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
envFrom:
- configMapRef:
name: {{ .Release.Name }}-configmap
- secretRef:
name: {{ .Release.Name }}-secret
env:
- name: WORDPRESS_DB_PASSWORD
valueFrom:
Expand Down

0 comments on commit c49832a

Please sign in to comment.