fix volume sub_path for init containers
Change-Id: I43ed3ac96220a6af44ec08e1689a131d746b10b9
This commit is contained in:
parent
cefe0b2bfc
commit
fc2ccca639
|
@ -32,6 +32,9 @@ spec:
|
|||
"volumeMounts": [
|
||||
{
|
||||
"name": "{{ volume.name }}",
|
||||
{%- if volume.sub_path is defined %}
|
||||
"subPath": "{{ volume.sub_path }}",
|
||||
{%- endif %}
|
||||
"mountPath": "{{ volume.mount }}"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue