diff options
author | Satoe Imaishi <simaishi@redhat.com> | 2018-01-18 17:33:00 -0500 |
---|---|---|
committer | Satoe Imaishi <simaishi@redhat.com> | 2018-01-18 17:37:56 -0500 |
commit | 3bcca52246ed7a4b1c64adcf231133fee03a3ad0 (patch) | |
tree | 3262bf6333a59e078a558517e5509c81104f88df /roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml | |
parent | e1e5cdcdfd094079a2362d679bc08758a89a03d3 (diff) | |
download | openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.gz openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.bz2 openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.xz openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.zip |
CF 4.6 templates
Diffstat (limited to 'roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml')
-rw-r--r-- | roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml b/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml index c08c21265..527090ae8 100644 --- a/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml +++ b/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-pv-server-example.yaml @@ -1,13 +1,38 @@ apiVersion: v1 -kind: PersistentVolume +kind: Template +labels: + template: cloudforms-app-pv metadata: - name: cfme-pv03 -spec: - capacity: - storage: 5Gi - accessModes: + name: cloudforms-app-pv + annotations: + description: PV Template for CFME Server + tags: PVS, CFME +objects: +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cfme-app + spec: + capacity: + storage: "${PV_SIZE}" + accessModes: - ReadWriteOnce - nfs: - path: /exports/cfme-pv03 - server: <your-nfs-host-here> - persistentVolumeReclaimPolicy: Retain + nfs: + path: "${BASE_PATH}/cfme-app" + server: "${NFS_HOST}" + persistentVolumeReclaimPolicy: Retain +parameters: +- name: PV_SIZE + displayName: PV Size for App + required: true + description: The size of the CFME APP PV given in Gi + value: 5Gi +- name: BASE_PATH + displayName: Exports Directory Base Path + required: true + description: The parent directory of your NFS exports + value: "/exports" +- name: NFS_HOST + displayName: NFS Server Hostname + required: true + description: The hostname or IP address of the NFS server |