diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/elasticsearch/statefulset.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/elasticsearch/statefulset.yaml index 2aad6176d..3d445ff6e 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/elasticsearch/statefulset.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/elasticsearch/statefulset.yaml @@ -70,7 +70,9 @@ spec: configMap: name: elasticsearch-config volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: data-volume spec: accessModes: [ "ReadWriteOnce" ] diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml index 84dfc3875..ef2301879 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml @@ -39,7 +39,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: mongo-data spec: accessModes: