Merge "Allow cinder v1/v2 endpoint creation if needed"
This commit is contained in:
commit
f36acde179
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Cinder
|
||||
name: cinder
|
||||
version: 0.2.19
|
||||
version: 0.2.20
|
||||
home: https://docs.openstack.org/cinder/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png
|
||||
sources:
|
||||
|
@ -18,7 +18,13 @@ helm.sh/hook-weight: "-3"
|
||||
{{- end }}
|
||||
|
||||
{{- 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 -}}
|
||||
{{- $_ := set $ksServiceJob "tlsSecret" .Values.secrets.tls.volumev3.api.internal -}}
|
||||
{{- end -}}
|
||||
|
@ -36,4 +36,5 @@ cinder:
|
||||
- 0.2.17 Remove unsupported values overrides
|
||||
- 0.2.18 Add helm hook in bootstrap job
|
||||
- 0.2.19 Add volume types visibility (public/private)
|
||||
- 0.2.20 Allow cinder v1/v2 endpoint creation if needed
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user