Add hostAliases in keystone&heat deployment from CR spec

Change-Id: I1ef7d0c745066cd41b05e0e872b011cdfdb9ff2b
This commit is contained in:
okozachenko
2020-05-14 16:56:54 +03:00
parent 09eaf9eb06
commit 82ef88f617
2 changed files with 8 additions and 0 deletions

View File

@@ -85,3 +85,7 @@ spec:
tolerations:
{{ spec.tolerations | to_yaml | indent(8) }}
{% endif %}
{% if 'hostAliases' in spec %}
hostAliases:
{{ spec.hostAliases | to_yaml | indent(8) }}
{% endif %}

View File

@@ -77,3 +77,7 @@ spec:
tolerations:
{{ spec.tolerations | to_yaml | indent(8) }}
{% endif %}
{% if 'hostAliases' in spec %}
hostAliases:
{{ spec.hostAliases | to_yaml | indent(8) }}
{% endif %}