Ignore volume AZ by default

This commit is contained in:
Matt Pryor 2022-04-01 09:24:48 +01:00
parent e05d38ddac
commit 619d334bda
2 changed files with 8 additions and 2 deletions

View File

@ -44,8 +44,11 @@ extraFiles:
tls-insecure=true
{{ "{{-" }} end {{ "}}" }}
{{ "{{-" }} end {{ "}}" }}
{{- with .Values.openstack.cloudConfig }}
{{- nindent 8 . }}
{{- range $section, $items := omit .Values.openstack.cloudConfig "Global" }}
[{{ $section }}]
{{- range $name, $value := $items }}
{{ $name }}={{ $value }}
{{- end }}
{{- end }}
{{- end }}

View File

@ -140,6 +140,9 @@ openstack:
# See https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/openstack-cloud-controller-manager/using-openstack-cloud-controller-manager.md#config-openstack-cloud-controller-manager
# and https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/cinder-csi-plugin/using-cinder-csi-plugin.md#block-storage
cloudConfig:
# By default, ignore volume AZs for Cinder as most clouds have a single globally-attachable Cinder AZ
BlockStorage:
ignore-volume-az: true
# Settings for the Cloud Controller Manager (CCM)
ccm:
# Indicates if the OpenStack CCM should be enabled