diff --git a/chart/test-values.yaml b/chart/test-values.yaml index 96050d07..70016d47 100644 --- a/chart/test-values.yaml +++ b/chart/test-values.yaml @@ -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: diff --git a/openstack_operator/templates/heat/cronjob-service-clean.yml.j2 b/openstack_operator/templates/heat/cronjob-service-clean.yml.j2 index cec04f98..e2496045 100644 --- a/openstack_operator/templates/heat/cronjob-service-clean.yml.j2 +++ b/openstack_operator/templates/heat/cronjob-service-clean.yml.j2 @@ -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 %}