summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-06-28 11:54:50 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-06-29 11:35:46 -0400
commit1bdc014a1a124a582657c4cea2916d554a8c0392 (patch)
tree85a2b3c037cd8ef1f74b9507162999f1cfba23ea
parent54fc9c9d8fe47097d8bb1da2520ec5b2471d3954 (diff)
downloadopenshift-1bdc014a1a124a582657c4cea2916d554a8c0392.tar.gz
openshift-1bdc014a1a124a582657c4cea2916d554a8c0392.tar.bz2
openshift-1bdc014a1a124a582657c4cea2916d554a8c0392.tar.xz
openshift-1bdc014a1a124a582657c4cea2916d554a8c0392.zip
Fixed variable name.
-rw-r--r--roles/openshift_default_storage_class/README.md3
-rw-r--r--roles/openshift_default_storage_class/tasks/main.yml2
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_default_storage_class/README.md b/roles/openshift_default_storage_class/README.md
index bc825a479..1bc028639 100644
--- a/roles/openshift_default_storage_class/README.md
+++ b/roles/openshift_default_storage_class/README.md
@@ -31,7 +31,8 @@ Example Playbook
openshift_storageclass_provisioner: kubernetes.io/aws-ebs
openshift_storageclass_parameters:
type: gp2
- encripted: true
+ encrypted: "true" # needs to be a string "true"
+ kmsKeyId: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
diff --git a/roles/openshift_default_storage_class/tasks/main.yml b/roles/openshift_default_storage_class/tasks/main.yml
index 78c0cd761..49b0f1dda 100644
--- a/roles/openshift_default_storage_class/tasks/main.yml
+++ b/roles/openshift_default_storage_class/tasks/main.yml
@@ -8,7 +8,7 @@
path: /tmp/openshift_storageclass
data:
kind: StorageClass
- apiVersion: storage.k8s.io/v1beta1
+ apiVersion: storage.k8s.io/v1
metadata:
name: "{{ openshift_storageclass_name }}"
annotations: