Add missing custom container parameters - overcloud

roles/standalone/tasks/containers.yml has a number of
ceph-related and other custom parameters that were
missing from the overcloud prep parameters.

This review adds those custom parameters to ensure
that the correct containers (from the desired
registries and namespaces) are used.

Change-Id: Id3b1ea025b748dee578e5bfb1cdd41d0bb7f7383
This commit is contained in:
Ronelle Landy 2021-06-18 13:55:20 -04:00
parent 18e0d1e76d
commit d46cbb211a
2 changed files with 72 additions and 0 deletions

View File

@ -75,6 +75,42 @@ openstack overcloud container image prepare \
{% if docker_ceph_tag is defined %}
--set "ceph_tag={{ docker_ceph_tag }}" \
{% endif %}
{% if custom_ceph_alertmanager_image is defined %}
--set "ceph_alertmanager_image={{ custom_ceph_alertmanager_image }}" \
{% endif %}
{% if custom_ceph_alertmanager_namespace is defined %}
--set "ceph_alertmanager_namespace={{ custom_ceph_alertmanager_namespace }}" \
{% endif %}
{% if custom_ceph_alertmanager_tag is defined %}
--set "ceph_alertmanager_tag={{ custom_ceph_alertmanager_tag }}" \
{% endif %}
{% if custom_ceph_grafana_image is defined %}
--set "ceph_grafana_image={{ custom_ceph_grafana_image }}" \
{% endif %}
{% if custom_ceph_grafana_namespace is defined %}
--set "ceph_grafana_namespace={{ custom_ceph_grafana_namespace }}" \
{% endif %}
{% if custom_ceph_grafana_tag is defined %}
--set "ceph_grafana_tag={{ custom_ceph_grafana_tag }}" \
{% endif %}
{% if custom_ceph_node_exporter_image is defined %}
--set "ceph_node_exporter_image={{ custom_ceph_node_exporter_image }}" \
{% endif %}
{% if custom_ceph_node_exporter_namespace is defined %}
--set "ceph_node_exporter_namespace={{ custom_ceph_node_exporter_namespace }}" \
{% endif %}
{% if custom_ceph_node_exporter_tag is defined %}
--set "ceph_node_exporter_tag={{ custom_ceph_node_exporter_tag }}" \
{% endif %}
{% if custom_ceph_prometheus_image is defined %}
--set "ceph_prometheus_image={{ custom_ceph_prometheus_image }}" \
{% endif %}
{% if custom_ceph_prometheus_namespace is defined %}
--set "ceph_prometheus_namespace={{ custom_ceph_prometheus_namespace }}" \
{% endif %}
{% if custom_ceph_prometheus_tag is defined %}
--set "ceph_prometheus_tag={{ custom_ceph_prometheus_tag }}" \
{% endif %}
{% if docker_openshift_namespace is defined %}
--set openshift_namespace={{ docker_openshift_namespace }} \
{% endif %}

View File

@ -48,6 +48,42 @@ parameter_defaults:
ceph_namespace: "{{ docker_ceph_namespace }}"
ceph_image: "{{ docker_ceph_image }}"
ceph_tag: "{{ docker_ceph_tag }}"
{% if custom_ceph_alertmanager_image is defined %}
ceph_alertmanager_image: "{{ custom_ceph_alertmanager_image }}"
{% endif %}
{% if custom_ceph_alertmanager_namespace is defined %}
ceph_alertmanager_namespace: "{{ custom_ceph_alertmanager_namespace }}"
{% endif %}
{% if custom_ceph_alertmanager_tag is defined %}
ceph_alertmanager_tag: "{{ custom_ceph_alertmanager_tag }}"
{% endif %}
{% if custom_ceph_grafana_image is defined %}
ceph_grafana_image: "{{ custom_ceph_grafana_image }}"
{% endif %}
{% if custom_ceph_grafana_namespace is defined %}
ceph_grafana_namespace: "{{ custom_ceph_grafana_namespace }}"
{% endif %}
{% if custom_ceph_grafana_tag is defined %}
ceph_grafana_tag: "{{ custom_ceph_grafana_tag }}"
{% endif %}
{% if custom_ceph_node_exporter_image is defined %}
ceph_node_exporter_image: "{{ custom_ceph_node_exporter_image }}"
{% endif %}
{% if custom_ceph_node_exporter_namespace is defined %}
ceph_node_exporter_namespace: "{{ custom_ceph_node_exporter_namespace }}"
{% endif %}
{% if custom_ceph_node_exporter_tag is defined %}
ceph_node_exporter_tag: "{{ custom_ceph_node_exporter_tag }}"
{% endif %}
{% if custom_ceph_prometheus_image is defined %}
ceph_prometheus_image: "{{ custom_ceph_prometheus_image }}"
{% endif %}
{% if custom_ceph_prometheus_namespace is defined %}
ceph_prometheus_namespace: "{{ custom_ceph_prometheus_namespace }}"
{% endif %}
{% if custom_ceph_prometheus_tag is defined %}
ceph_prometheus_tag: "{{ custom_ceph_prometheus_tag }}"
{% endif %}
{% if docker_openshift_namespace is defined %}
openshift_namespace: "{{ docker_openshift_namespace }}"
{% endif %}