Merge "[glance] Add override for downloading Ubuntu image"

This commit is contained in:
Zuul 2024-11-18 18:15:53 +00:00 committed by Gerrit Code Review
commit bc2ebae066
4 changed files with 13 additions and 12 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Glance description: OpenStack-Helm Glance
name: glance name: glance
version: 0.5.2 version: 0.5.3
home: https://docs.openstack.org/glance/latest/ home: https://docs.openstack.org/glance/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
sources: sources:

View File

@ -0,0 +1,11 @@
bootstrap:
structured:
images:
ubuntu_miniaml:
name: "Ubuntu Jammy Minimal"
source_url: "https://cloud-images.ubuntu.com/minimal/releases/jammy/release/"
image_file: "ubuntu-22.04-minimal-cloudimg-amd64.img"
id: null
min_disk: 3
image_type: qcow2
container_format: bare

View File

@ -63,4 +63,5 @@ glance:
- 0.5.0 Remove deprecated config options `stores` and `default_store` - 0.5.0 Remove deprecated config options `stores` and `default_store`
- 0.5.1 Add 2024.2 Ubuntu Jammy overrides - 0.5.1 Add 2024.2 Ubuntu Jammy overrides
- 0.5.2 Fix HTTP healthcheck URLs for Kubernetes probes - 0.5.2 Fix HTTP healthcheck URLs for Kubernetes probes
- 0.5.3 Add override for downloading Ubuntu image
... ...

View File

@ -24,17 +24,6 @@ set -xe
#NOTE: Deploy command #NOTE: Deploy command
tee /tmp/glance.yaml <<EOF tee /tmp/glance.yaml <<EOF
storage: ${GLANCE_BACKEND} storage: ${GLANCE_BACKEND}
bootstrap:
structured:
images:
ubuntu_miniaml:
name: "Ubuntu Jammy Minimal"
source_url: "https://cloud-images.ubuntu.com/minimal/releases/jammy/release/"
image_file: "ubuntu-22.04-minimal-cloudimg-amd64.img"
id: null
min_disk: 3
image_type: qcow2
container_format: bare
EOF EOF
helm upgrade --install glance ${OSH_HELM_REPO}/glance \ helm upgrade --install glance ${OSH_HELM_REPO}/glance \