From 79ee38fa062749e3c20e1f1313c10754414adfbc Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Fri, 23 Jun 2017 10:57:48 -0400 Subject: Give PV & PVC empty storage class to avoid being assigned default gp2 --- roles/openshift_provisioners/templates/pv.j2 | 1 + roles/openshift_provisioners/templates/pvc.j2 | 1 + 2 files changed, 2 insertions(+) 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: "" -- cgit v1.2.3