diff --git a/glance/Chart.yaml b/glance/Chart.yaml index 8ce62b3a54..cd9fc4f901 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.4 +version: 0.4.5 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-bootstrap.yaml b/glance/templates/job-bootstrap.yaml index 56bebfc5be..c1af58dcca 100644 --- a/glance/templates/job-bootstrap.yaml +++ b/glance/templates/job-bootstrap.yaml @@ -39,5 +39,11 @@ volumes: {{- if .Values.pod.tolerations.glance.enabled -}} {{- $_ := set $bootstrapJob "tolerationsEnabled" true -}} {{- end -}} +# The configFile path shouble be /etc/glance/glance-api.conf +# not default /etc/glance/glance.conf defined by helm-toolkit, +# since secrets mounted in '/etc/glance' have glance-api.conf not glance.conf in it. +# The wrong path '/etc/glance/glance.conf' would be dir in bootstarp container, +# and lead to all config files in '/etc/glance' dir unreachable. +{{- $_ := set $bootstrapJob "configFile" "/etc/glance/glance-api.conf" -}} {{ $bootstrapJob | include "helm-toolkit.manifests.job_bootstrap" }} {{- end }} diff --git a/releasenotes/notes/glance.yaml b/releasenotes/notes/glance.yaml index cd4c164246..b76367215e 100644 --- a/releasenotes/notes/glance.yaml +++ b/releasenotes/notes/glance.yaml @@ -38,4 +38,5 @@ glance: - 0.4.2 Allow Ceph pools to use 1x replication - 0.4.3 Update all Ceph images to Focal - 0.4.4 Replace node-role.kubernetes.io/master with control-plane + - 0.4.5 Fix wrong configFile path in glance bootstrap container. ...