openstack-helm/cinder/values_overrides/backend_pure.yaml
Huang, Sophie (sh879n) f6e153fd3d Update volume type creation bootstrap logic
Verification is added to Cinder volume type creation logic
under Values.bootstrap to make sure the volume_backend_name is
configured in Values.conf.backends.

Change-Id: I1b9b1eaac8df861d28d4121477de148dba6a2dbf
2021-03-03 14:59:41 +00:00

41 lines
1.0 KiB
YAML

# NOTE: In order for below code to work, package "purestorage"
# needs to be built into Cinder and Nova images.
---
pod:
useHostNetwork:
volume: true
backup: true
security_context:
cinder_volume:
container:
cinder_volume:
readOnlyRootFilesystem: true
privileged: true
cinder_backup:
container:
cinder_backup:
privileged: true
bootstrap:
volume_types:
# volume type for PURE with multiattach on
PURE-MULTIATTACH:
multiattach: "\"<is> True\""
volume_backend_name: "PURE_BE"
conf:
cinder:
DEFAULT:
enabled_backends: "rbd1,PURE"
backends:
PURE:
pure_eradicate_on_delete: true
volume_backend_name: PURE_BE
# NOTE: Replace below pure-api-token-value with the real token value
pure_api_token: pure-api-token-value
volume_driver: cinder.volume.drivers.pure.PureISCSIDriver
use_multipath_for_image_xfer: true
# NOTE: Replace below 1.1.1.1 with the real ip value
san_ip: 1.1.1.1
enable_iscsi: true
...