[glance] Add override for downloading Ubuntu image
We used to add the Ubuntu image to the list of images to download during the glance bootstrap in one of our test script. This image is mostly used for debugging and when cirros is incompatible with infra VMs. So let's add glance values override file specifically for this and enable it only when necessary. Change-Id: I5c10dac4826c3ea10327e4934bbeab27b54877e2
This commit is contained in:
parent
5e9ce316b7
commit
97099183e4
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Glance
|
||||
name: glance
|
||||
version: 0.5.2
|
||||
version: 0.5.3
|
||||
home: https://docs.openstack.org/glance/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
|
||||
sources:
|
||||
|
11
glance/values_overrides/bootstrap-ubuntu-image.yaml
Normal file
11
glance/values_overrides/bootstrap-ubuntu-image.yaml
Normal 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
|
@ -63,4 +63,5 @@ glance:
|
||||
- 0.5.0 Remove deprecated config options `stores` and `default_store`
|
||||
- 0.5.1 Add 2024.2 Ubuntu Jammy overrides
|
||||
- 0.5.2 Fix HTTP healthcheck URLs for Kubernetes probes
|
||||
- 0.5.3 Add override for downloading Ubuntu image
|
||||
...
|
||||
|
@ -24,17 +24,6 @@ set -xe
|
||||
#NOTE: Deploy command
|
||||
tee /tmp/glance.yaml <<EOF
|
||||
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
|
||||
|
||||
helm upgrade --install glance ${OSH_HELM_REPO}/glance \
|
||||
|
Loading…
Reference in New Issue
Block a user