Skip to content

Commit

Permalink
adding support to specify env: via values (#167)
Browse files Browse the repository at this point in the history
Co-authored-by: Administrator <[email protected]>
  • Loading branch information
Martin-Weiss and Administrator authored Jul 10, 2024
1 parent 9530623 commit d03d17c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/cert-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: cert-exporter
description: Monitors and exposes PKI information as Prometheus metrics

type: application
version: 3.6.0
version: 3.6.1
appVersion: v2.12.0
3 changes: 3 additions & 0 deletions helm/cert-exporter/templates/cert-manager/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
args:
{{- toYaml . | nindent 12}}
{{- end}}
{{- with .Values.certManager.image.env }}
env: {{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.certManager.containerPort }}
Expand Down
6 changes: 6 additions & 0 deletions helm/cert-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ certManager:
- --secrets-annotation-selector=cert-manager.io/certificate-name
- --secrets-include-glob=*.crt
- --logtostderr
env: []
# - name: NODE_NAME
# valueFrom:
# fieldRef:
# fieldPath: spec.nodeName

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit d03d17c

Please sign in to comment.