feat(wger): move to stable (#3658)

* feat(wger): move to stable

* feat(wger): move to stable

* add mountPath
This commit is contained in:
Stavros Kois
2022-09-02 01:05:45 +03:00
committed by GitHub
parent be36c327fc
commit bf1b5abd9c
12 changed files with 2 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
{{/* Define the nginx container */}}
{{- define "wger.nginx" -}}
image: {{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
ports:
- containerPort: {{ .Values.service.main.ports.main.port }}
name: main
securityContext:
runAsUser: 0
runAsGroup: 1000
readOnlyRootFilesystem: false
runAsNonRoot: false
volumeMounts:
- name: wger-config
mountPath: "/etc/nginx/conf.d/default.conf"
subPath: default.conf
readOnly: true
- name: media
mountPath: "/media"
- name: static
mountPath: "/static"
{{- end -}}