summaryrefslogtreecommitdiffstats
path: root/roles/openshift_provisioners/templates
diff options
context:
space:
mode:
authorMatthew Wong <mawong@redhat.com>2017-06-23 10:57:48 -0400
committerMatthew Wong <mawong@redhat.com>2017-10-27 23:14:22 -0400
commit79ee38fa062749e3c20e1f1313c10754414adfbc (patch)
tree3f0a089a69fc93937d20571396938714717f2120 /roles/openshift_provisioners/templates
parent9a2438c1274abf22c21d42a04450bbb9e733deb5 (diff)
downloadopenshift-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/templates')
-rw-r--r--roles/openshift_provisioners/templates/pv.j21
-rw-r--r--roles/openshift_provisioners/templates/pvc.j21
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: ""