Fix indent err in heat manifest and cronjob period

Change-Id: I605cf5e0bfe2b3761a4d893153385522f976219c
This commit is contained in:
okozachenko 2020-07-23 22:52:45 +03:00
parent bffe463513
commit c067f81517
2 changed files with 13 additions and 4 deletions

View File

@ -7,6 +7,15 @@ configMap:
configDir: /etc/glance
dataDir: /opt/stack/data/glance
horizon:
hostAliases:
- hostnames:
- internal.vexxhost.local
ip: 172.23.3.100
nodeSelector:
node-role.kubernetes.io/master: ""
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
ingress:
host: "horizon.vexxhost.com"
keystone:

View File

@ -21,7 +21,7 @@ metadata:
labels:
{{ labels("heat", name) | indent(4) }}
spec:
schedule: "* */1 * * *"
schedule: "0 */1 * * *"
jobTemplate:
spec:
template:
@ -44,13 +44,13 @@ spec:
secretName: heat-config
{% if 'nodeSelector' in spec %}
nodeSelector:
{{ spec.nodeSelector | to_yaml | indent(8) }}
{{ spec.nodeSelector | to_yaml | indent(12) }}
{% endif %}
{% if 'tolerations' in spec %}
tolerations:
{{ spec.tolerations | to_yaml | indent(8) }}
{{ spec.tolerations | to_yaml | indent(12) }}
{% endif %}
{% if 'hostAliases' in spec %}
hostAliases:
{{ spec.hostAliases | to_yaml | indent(8) }}
{{ spec.hostAliases | to_yaml | indent(12) }}
{% endif %}