add posibility to increase config version
Change-Id: I61b492a4bed2f8766b7caf7d5a62d76ec6293835
This commit is contained in:
parent
fc2ccca639
commit
04083f1ee2
|
@ -122,7 +122,7 @@ spec:
|
|||
{%- elif container.readiness_probe.type == 'exec' %}
|
||||
exec:
|
||||
command:
|
||||
{%- for command in container.liveness_probe.command %}
|
||||
{%- for command in container.readiness_probe.command %}
|
||||
- {{ command }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
@ -146,7 +146,7 @@ spec:
|
|||
readOnly: {{ volume.read_only }}
|
||||
{%- elif volume.type == 'config_map' %}
|
||||
configMap:
|
||||
name: {{ volume_name }}
|
||||
name: {{ volume_name }}-{{ volume.get('version', '1') }}
|
||||
items:
|
||||
{%- for name, item in volume.item.iteritems() %}
|
||||
- key: {{ item.key }}
|
||||
|
|
Loading…
Reference in New Issue