This commit is contained in:
M. Rehan
2022-01-08 01:58:34 +05:00
parent 7e6206b3de
commit 4cf17000dd
2 changed files with 4 additions and 0 deletions

View File

@@ -22,7 +22,9 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }}
mountPath: {{ $hostPathConfiguration.mountPath }}
{{ if $hostPathConfiguration.readOnly }}
readOnly: {{ $hostPathConfiguration.readOnly }}
{{ end }}
{{ end }}
ports:
- name: pms

View File

@@ -22,7 +22,9 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }}
mountPath: {{ $hostPathConfiguration.mountPath }}
{{ if $hostPathConfiguration.readOnly }}
readOnly: {{ $hostPathConfiguration.readOnly }}
{{ end }}
{{ end }}
ports:
- name: pms