summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: