Skip to content

Commit

Permalink
feat(helm): support extra env from
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
  • Loading branch information
M0NsTeRRR committed Nov 4, 2024
1 parent 40ffb65 commit 8a22409
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
17 changes: 9 additions & 8 deletions chart/stirling-pdf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
apiVersion: v2
appVersion: 0.31.1
description: locally hosted web application that allows you to perform various operations
description:
locally hosted web application that allows you to perform various operations
on PDF files
home: https://github.com/Stirling-Tools/Stirling-PDF
keywords:
- stirling-pdf
- helm
- charts repo
- stirling-pdf
- helm
- charts repo
maintainers:
- name: Stirling-Tools
url: https://github.com/Stirling-Tools/Stirling-PDF
- name: Stirling-Tools
url: https://github.com/Stirling-Tools/Stirling-PDF
name: stirling-pdf-chart
sources:
- https://github.com/Stirling-Tools/Stirling-PDF
version: 1.0.1
- https://github.com/Stirling-Tools/Stirling-PDF
version: 1.1.0
4 changes: 4 additions & 0 deletions chart/stirling-pdf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ spec:
{{- if .Values.envs }}
{{ toYaml .Values.envs | indent 8 }}
{{- end }}
{{- with .Values.envsFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.extraArgs }}
args:
{{ toYaml .Values.extraArgs | indent 8 }}
Expand Down
8 changes: 8 additions & 0 deletions chart/stirling-pdf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ commonLabels: {}
# -- Rootpath for the application
rootPath: /

# -- Environment variables to add to the stirling-pdf pods
envs: []
# - name: UI_APP_NAME
# value: "Stirling PDF"
Expand All @@ -30,6 +31,13 @@ envs: []
# - name: APP_LOCALE
# value: "en_GB"

# -- Environment variables from secrets or configmaps to add to the stirling-pdf pods
envsFrom: []
# - configMapRef:
# name: config
# - secretRef:
# name: config

deployment:
# -- Stirling-pdf Deployment annotations
annotations: {}
Expand Down

0 comments on commit 8a22409

Please sign in to comment.