Skip to content
Snippets Groups Projects
Verified Commit 783203b3 authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

minor fix for nfsVolumes

parent 32ad64b5
No related branches found
No related tags found
No related merge requests found
Pipeline #221949 passed
......@@ -83,8 +83,10 @@ spec:
{%- raw %}
{{- range $name, $options := .Values.nfsVolumes }}
- name: {{ $name | quote }}
server: {{ required "A host name or IP for the nfs mount is required!" $options.server | quote }}
path: {{ required "A path on the server for the nfs mount is required!" $options.path | quote }}
nfs:
server: {{ required "A host name or IP for the nfs mount is required!" $options.server | quote }}
path: {{ required "A path on the server for the nfs mount is required!" $options.path | quote }}
readOnly: {{ if or (not (hasKey $options "readOnly")) (eq (coalesce $options.readOnly false) true) }}true{{ else }}false{{ end }}
{{- end }}
{%- endraw %}
{%- if cookiecutter.include_volume == 'many' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment