blob: 1288544d1e7ed62782ea2e81546fcf536199d813 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
apiVersion: v1
kind: Template
labels:
template: manageiq-app-pv
metadata:
name: manageiq-app-pv
annotations:
description: PV Template for MIQ Server
tags: PVS, MIQ
objects:
- apiVersion: v1
kind: PersistentVolume
metadata:
name: miq-app
spec:
capacity:
storage: "${PV_SIZE}"
accessModes:
- ReadWriteOnce
nfs:
path: "${BASE_PATH}/miq-app"
server: "${NFS_HOST}"
persistentVolumeReclaimPolicy: Retain
parameters:
- name: PV_SIZE
displayName: PV Size for App
required: true
description: The size of the MIQ 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
|