fix chroot module mount path (#9090)

This commit is contained in:
Ehsan Saei 2022-09-28 23:02:30 +02:00 committed by GitHub
parent 261ce42517
commit 1a078af307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -147,7 +147,11 @@ spec:
volumeMounts:
{{- if .Values.controller.extraModules }}
- name: modules
{{ if .Values.controller.image.chroot }}
mountPath: /chroot/modules_mount
{{ else }}
mountPath: /modules_mount
{{ end }}
{{- end }}
{{- if .Values.controller.customTemplate.configMapName }}
- mountPath: /etc/nginx/template