Skip to content

Commit

Permalink
Allow passing any env var to the deployment (#92)
Browse files Browse the repository at this point in the history
* Allow passing any env var to the deployment

* bump the chart version
  • Loading branch information
nabsul authored Mar 11, 2023
1 parent 86f8c50 commit b16ffc2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kcert/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: kcert
description: Deploys KCert for issuing Let's Encrypt certificates
version: 1.0.5
version: 1.0.6
appVersion: 1.2.0
maintainers:
- name: Nabeel Sulieman
Expand Down
4 changes: 4 additions & 0 deletions charts/kcert/templates/070-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ spec:
- name: KCERT__SHOWRENEWBUTTON
value: "{{ .Values.showRenewButton }}"
{{- end }}
{{- range $key, $value := .Values.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}



2 changes: 2 additions & 0 deletions charts/kcert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ acmeEmail: null
acmeTermsAccepted: false
kcertImage: nabsul/kcert:v1.2.0

env: {}

acmeKey:
secretName: null
keyName: key
Expand Down

0 comments on commit b16ffc2

Please sign in to comment.