Skip to content

Commit

Permalink
Merge pull request #82 from daoz1026/fix_app_volume_mounts
Browse files Browse the repository at this point in the history
add volumeMounts in app template
  • Loading branch information
rubenfiszel authored Jan 7, 2025
2 parents e521441 + b5b68c7 commit f7e12ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/windmill/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ spec:
image: {{ default "ghcr.io/windmill-labs/windmill" .Values.windmill.image }}:{{ default .Chart.AppVersion .Values.windmill.tag }}
{{ end }}
imagePullPolicy: Always
{{ if .Values.windmill.app.volumeMounts }}
volumeMounts:
{{- with .Values.windmill.app.volumeMounts }}
{{ toYaml . | nindent 8 }}
{{- end }}
{{ end }}
ports:
- containerPort: 8000
- containerPort: 8001
Expand Down
3 changes: 3 additions & 0 deletions charts/windmill/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ windmill:

# -- volumes
volumes: []

volumeMounts: []

# app autoscaling configuration
autoscaling:
# -- enable or disable autoscaling
Expand Down

0 comments on commit f7e12ef

Please sign in to comment.