registry_storage.yml 786 B

123456789101112131415161718
  1. ---
  2. - include_tasks: storage/glusterfs.yml
  3. when:
  4. - openshift_hosted_registry_storage_kind | default(none) == 'glusterfs' or openshift_hosted_registry_storage_glusterfs_swap
  5. - include_tasks: storage/hostpath.yml
  6. when:
  7. - openshift_hosted_registry_storage_kind | default(none) in ['hostpath']
  8. - when:
  9. - openshift_hosted_registry_storage_kind | default(none) == 'nfs'
  10. block:
  11. - name: Set warning about NFS not being recommended
  12. run_once: true
  13. set_stats:
  14. data:
  15. installer_phase_hosted:
  16. message: "The use of NFS for the core OpenShift Container Platform components is not recommended, as NFS (and the NFS Protocol) does not provide the proper consistency needed for the applications that make up the OpenShift Container Platform infrastructure."