add posibility to increase config version

Change-Id: I61b492a4bed2f8766b7caf7d5a62d76ec6293835
This commit is contained in:
marco 2016-10-21 10:57:57 +02:00
parent fc2ccca639
commit 04083f1ee2
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}