Skip to content

Commit

Permalink
Merge "Do not crate amphora image when octavia not enabled"
Browse files Browse the repository at this point in the history
  • Loading branch information
MOS CI authored and Gerrit Code Review committed Dec 4, 2024
2 parents ffceb19 + c3b2385 commit 1f9a44f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openstack/glance/templates/bin/_bootstrap.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ost = openstack.connect()
for image_name, image in STRUCTURED_IMAGES.items():
image_name = image.pop("name", image_name)
if not image.get("enabled", True):
LOG.info("Skipping handling image {image_name} as its not enabled.")
LOG.info(f"Skipping handling image {image_name} as its not enabled.")
continue
LOG.info(f"Handling image: {image_name}")

Expand Down
2 changes: 2 additions & 0 deletions rockoon/templates/services/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ spec:
enabled: true
hash_method: SHA-256
{%- endif %}
{%- if "load-balancer" in spec.features.services %}
amphora-x64-haproxy:
container_format: bare
image_type: qcow2
Expand All @@ -182,6 +183,7 @@ spec:
enabled: true
hash_method: SHA-256
{%- endif %}
{%- endif %}
{%- if "shared-file-system" in spec.features.services %}
manila-service-image:
container_format: bare
Expand Down

0 comments on commit 1f9a44f

Please sign in to comment.