fix: enable cinder to do online volume resizes
diff --git a/charts/cinder/templates/configmap-etc.yaml b/charts/cinder/templates/configmap-etc.yaml
index e5a7ce7..5010ab9 100644
--- a/charts/cinder/templates/configmap-etc.yaml
+++ b/charts/cinder/templates/configmap-etc.yaml
@@ -49,6 +49,29 @@
{{- $_ := set .Values.conf.cinder.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.auth_url -}}
+{{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set $envAll.Values.conf.cinder.nova "auth_url" -}}
+{{- end }}
+
+{{- if empty $envAll.Values.conf.cinder.nova.region_name -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "region_name" $envAll.Values.endpoints.identity.auth.cinder.region_name -}}
+{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.project_name -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "project_name" $envAll.Values.endpoints.identity.auth.cinder.project_name -}}
+{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.project_domain_name -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "project_domain_name" $envAll.Values.endpoints.identity.auth.cinder.project_domain_name -}}
+{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.user_domain_name -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "user_domain_name" $envAll.Values.endpoints.identity.auth.cinder.user_domain_name -}}
+{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.username -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "username" $envAll.Values.endpoints.identity.auth.cinder.username -}}
+{{- end -}}
+{{- if empty $envAll.Values.conf.cinder.nova.password -}}
+{{- $_ := set $envAll.Values.conf.cinder.nova "password" $envAll.Values.endpoints.identity.auth.cinder.password -}}
+{{- end -}}
+
{{- if empty .Values.conf.cinder.database.connection -}}
{{- $connection := tuple "oslo_db" "internal" "cinder" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" -}}
{{- if .Values.manifests.certificates -}}
diff --git a/charts/cinder/values.yaml b/charts/cinder/values.yaml
index 15c1178..06412f5 100644
--- a/charts/cinder/values.yaml
+++ b/charts/cinder/values.yaml
@@ -826,6 +826,10 @@
auth_version: v3
auth_type: password
memcache_security_strategy: ENCRYPT
+ nova:
+ auth_type: password
+ auth_version: v3
+ interface: internal
oslo_policy:
policy_file: /etc/cinder/policy.yaml
oslo_concurrency:
diff --git a/hack/sync-charts.sh b/hack/sync-charts.sh
index f67c909..9e0cb6d 100755
--- a/hack/sync-charts.sh
+++ b/hack/sync-charts.sh
@@ -106,6 +106,11 @@
| filterdiff -p1 -x 'releasenotes/*' \
| filterdiff -p2 -x 'Chart.yaml' \
| patch -p2 -d ${ATMOSPHERE}/charts/cinder
+curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~874933/revisions/3/patch?download' \
+ | base64 --decode \
+ | filterdiff -p1 -x 'releasenotes/*' \
+ | filterdiff -p2 -x 'Chart.yaml' \
+ | patch -p2 -d ${ATMOSPHERE}/charts/cinder
PLACEMENT_VERSION=0.3.2
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/placement-${PLACEMENT_VERSION}.tgz \