fix: allow storage init with uppercase
diff --git a/charts/cinder/templates/job-storage-init.yaml b/charts/cinder/templates/job-storage-init.yaml
index e28a35e..350b013 100644
--- a/charts/cinder/templates/job-storage-init.yaml
+++ b/charts/cinder/templates/job-storage-init.yaml
@@ -102,7 +102,7 @@
{{- range $name, $backend := .Values.conf.backends }}
{{- if (eq "true" ( dict "backend" $backend | include "cinder.utils.is_ceph_backend" )) }}
{{- if eq $internal_ceph_backend $name }}
- - name: cinder-storage-init-{{$name}}
+ - name: cinder-storage-init-{{ $name | lower }}
{{ tuple $envAll "cinder_storage_init" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.storage_init | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:
diff --git a/hack/sync-charts.sh b/hack/sync-charts.sh
index ed7cd72..1f5853f 100755
--- a/hack/sync-charts.sh
+++ b/hack/sync-charts.sh
@@ -106,7 +106,7 @@
| filterdiff -p1 -x 'releasenotes/*' \
| filterdiff -p2 -x 'Chart.yaml' \
| patch -p2 -d ${ATMOSPHERE}/charts/cinder
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~874952/revisions/2/patch?download' \
+curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~874952/revisions/3/patch?download' \
| base64 --decode \
| filterdiff -p1 -x 'releasenotes/*' \
| filterdiff -p2 -x 'Chart.yaml' \