Merge "Allow cinder v1/v2 endpoint creation if needed"

This commit is contained in:
Zuul 2022-05-16 22:32:53 +00:00 committed by Gerrit Code Review
commit f36acde179
3 changed files with 9 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Cinder description: OpenStack-Helm Cinder
name: cinder name: cinder
version: 0.2.19 version: 0.2.20
home: https://docs.openstack.org/cinder/latest/ home: https://docs.openstack.org/cinder/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png
sources: sources:

View File

@ -18,7 +18,13 @@ helm.sh/hook-weight: "-3"
{{- end }} {{- end }}
{{- if .Values.manifests.job_ks_service }} {{- if .Values.manifests.job_ks_service }}
{{- $ksServiceJob := dict "envAll" . "serviceName" "cinder" "serviceTypes" ( tuple "volumev3" ) -}} {{- $serviceTypes := list }}
{{- range $_, $v := keys .Values.endpoints | sortAlpha }}
{{- if $v | hasPrefix "volume" }}
{{- $serviceTypes = append $serviceTypes $v }}
{{- end }}
{{- end }}
{{- $ksServiceJob := dict "envAll" . "serviceName" "cinder" "serviceTypes" $serviceTypes -}}
{{- if .Values.manifests.certificates -}} {{- if .Values.manifests.certificates -}}
{{- $_ := set $ksServiceJob "tlsSecret" .Values.secrets.tls.volumev3.api.internal -}} {{- $_ := set $ksServiceJob "tlsSecret" .Values.secrets.tls.volumev3.api.internal -}}
{{- end -}} {{- end -}}

View File

@ -36,4 +36,5 @@ cinder:
- 0.2.17 Remove unsupported values overrides - 0.2.17 Remove unsupported values overrides
- 0.2.18 Add helm hook in bootstrap job - 0.2.18 Add helm hook in bootstrap job
- 0.2.19 Add volume types visibility (public/private) - 0.2.19 Add volume types visibility (public/private)
- 0.2.20 Allow cinder v1/v2 endpoint creation if needed
... ...