diff --git a/glance/Chart.yaml b/glance/Chart.yaml index c5adfefad9..53e5e43b0a 100644 --- a/glance/Chart.yaml +++ b/glance/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Glance name: glance -version: 0.4.23 +version: 0.4.24 home: https://docs.openstack.org/glance/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png sources: diff --git a/glance/templates/job-storage-init.yaml b/glance/templates/job-storage-init.yaml index d8aee23789..f2890df425 100644 --- a/glance/templates/job-storage-init.yaml +++ b/glance/templates/job-storage-init.yaml @@ -164,10 +164,6 @@ spec: readOnly: true {{ end }} {{ end }} - {{- if eq .Values.storage "pvc" }} - - name: glance-images - mountPath: {{ .Values.conf.glance.glance_store.filesystem_store_datadir }} - {{ end }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.image.api.internal | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }} volumes: - name: pod-tmp @@ -189,10 +185,5 @@ spec: secretName: {{ .Values.ceph_client.user_secret_name }} {{ end }} {{ end }} - {{- if eq .Values.storage "pvc" }} - - name: glance-images - persistentVolumeClaim: - claimName: glance-images - {{ end }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.image.api.internal | include "helm-toolkit.snippets.tls_volume" | indent 8 }} {{- end }} diff --git a/releasenotes/notes/glance.yaml b/releasenotes/notes/glance.yaml index 3456e15c7d..9bdd7e33b4 100644 --- a/releasenotes/notes/glance.yaml +++ b/releasenotes/notes/glance.yaml @@ -57,4 +57,5 @@ glance: - 0.4.21 Use uWSGI - 0.4.22 Enable custom annotations for Openstack secrets - 0.4.23 Update images used by default + - 0.4.24 Do not attach backend pvc to storage init pod ... diff --git a/tools/deployment/component/common/mariadb.sh b/tools/deployment/component/common/mariadb.sh index b33ff9d4f7..db4c35ab3b 100755 --- a/tools/deployment/component/common/mariadb.sh +++ b/tools/deployment/component/common/mariadb.sh @@ -22,9 +22,8 @@ set -xe #NOTE: Deploy command helm upgrade --install mariadb ${OSH_INFRA_HELM_REPO}/mariadb \ --namespace=openstack \ - --set volume.use_local_path_for_single_pod_cluster.enabled=true \ - --set volume.enabled=false \ --set pod.replicas.server=1 \ + ${VOLUME_HELM_ARGS:="--set volume.use_local_path_for_single_pod_cluster.enabled=true --set volume.enabled=false"} \ ${OSH_EXTRA_HELM_ARGS:=} \ ${OSH_EXTRA_HELM_ARGS_MARIADB} diff --git a/tools/deployment/component/common/openstack.sh b/tools/deployment/component/common/openstack.sh index b5138d9691..a617f666b9 100755 --- a/tools/deployment/component/common/openstack.sh +++ b/tools/deployment/component/common/openstack.sh @@ -30,7 +30,7 @@ tee /tmp/glance.yaml <