diff options
author | Matthew Wong <mawong@redhat.com> | 2017-06-23 10:57:48 -0400 |
---|---|---|
committer | Matthew Wong <mawong@redhat.com> | 2017-10-27 23:14:22 -0400 |
commit | 79ee38fa062749e3c20e1f1313c10754414adfbc (patch) | |
tree | 3f0a089a69fc93937d20571396938714717f2120 /roles/openshift_provisioners | |
parent | 9a2438c1274abf22c21d42a04450bbb9e733deb5 (diff) | |
download | openshift-79ee38fa062749e3c20e1f1313c10754414adfbc.tar.gz openshift-79ee38fa062749e3c20e1f1313c10754414adfbc.tar.bz2 openshift-79ee38fa062749e3c20e1f1313c10754414adfbc.tar.xz openshift-79ee38fa062749e3c20e1f1313c10754414adfbc.zip |
Give PV & PVC empty storage class to avoid being assigned default gp2
Diffstat (limited to 'roles/openshift_provisioners')
-rw-r--r-- | roles/openshift_provisioners/templates/pv.j2 | 1 | ||||
-rw-r--r-- | roles/openshift_provisioners/templates/pvc.j2 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_provisioners/templates/pv.j2 b/roles/openshift_provisioners/templates/pv.j2 index f4128f9f0..f81b1617a 100644 --- a/roles/openshift_provisioners/templates/pv.j2 +++ b/roles/openshift_provisioners/templates/pv.j2 @@ -30,3 +30,4 @@ spec: name: {{claim_name}} namespace: {{openshift_provisioners_project}} {% endif %} + storageClassName: "" diff --git a/roles/openshift_provisioners/templates/pvc.j2 b/roles/openshift_provisioners/templates/pvc.j2 index 83d503056..0dd8772eb 100644 --- a/roles/openshift_provisioners/templates/pvc.j2 +++ b/roles/openshift_provisioners/templates/pvc.j2 @@ -23,4 +23,5 @@ spec: resources: requests: storage: {{size}} + storageClassName: "" |