setup nfs in stg openshift for registery only

This commit is contained in:
Kevin Fenzi 2018-05-21 21:02:56 +00:00
parent e80a0337a6
commit ffcd124b3a

View file

@ -410,6 +410,14 @@ openshift_master_default_subdomain={{openshift_app_subdomain}}
# NFS volume must already exist with path "nfs_directory/_volume_name" on
# the storage_host. For example, the remote volume path using these
# options would be "nfs.example.com:/exports/registry"
{% if env == "staging" %}
openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_host=ntap-phx2-c01-fedora01-nfs.storage.phx2.redhat.com
openshift_hosted_registry_storage_nfs_directory=/
openshift_hosted_registry_storage_volume_name=openshift_stg_01
openshift_hosted_registry_storage_volume_size=10Gi
{% endif %}
#openshift_hosted_registry_storage_kind=nfs
#openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
#openshift_hosted_registry_storage_host=nfs.example.com