tripleo-heat-templates/environments/storage/cinder-nfs.yaml
Giulio Fidente c7ec726276 Use container_file_t for Cinder*NfsMountOptions by default
This is so that share content is usable by cinder-volume and other
containers mounting the same share.

Closes-Bug: 1890291
Change-Id: Iacf7c9c368b26106e9921b35996c134aacb9acd7
2020-08-26 13:04:10 +02:00

28 lines
1.1 KiB
YAML

# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Enable Cinder NFS Backend
# description: |
# Configure and include this environment to enable the use of an NFS
# share as the backend for Cinder.
parameter_defaults:
# Whether to enable or not the Iscsi backend for Cinder
# Type: boolean
CinderEnableIscsiBackend: False
# Whether to enable or not the NFS backend for Cinder
# Type: boolean
CinderEnableNfsBackend: True
# Mount options for NFS mounts used by Cinder NFS backend. Effective when CinderEnableNfsBackend is true.
# Type: string
CinderNfsMountOptions: context=system_u:object_r:container_file_t:s0
# NFS servers used by Cinder NFS backend. Effective when CinderEnableNfsBackend is true.
# Type: comma_delimited_list
CinderNfsServers: 192.168.122.1:/export/cinder