From 47f9954a0acc8917cabce817614bcfdf0dff4729 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Thu, 11 Feb 2016 15:49:56 -0500 Subject: Fixes pv/pvc creation for latest builds --- roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2') diff --git a/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 b/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 index 5714b6b0d..877e88002 100644 --- a/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 +++ b/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 @@ -3,7 +3,8 @@ apiVersion: v1 kind: List items: {% for volume in persistent_volumes %} -- kind: PersistentVolume +- apiVersion: v1 + kind: PersistentVolume metadata: name: "{{ volume.name }}" spec: -- cgit v1.2.3