diff --git a/dev-upgrade/mongo/mongo-dev.yaml b/dev-upgrade/mongo/mongo-dev.yaml index e594aba..faae3b6 100644 --- a/dev-upgrade/mongo/mongo-dev.yaml +++ b/dev-upgrade/mongo/mongo-dev.yaml @@ -1,12 +1,12 @@ ---- -apiVersion: storage.k8s.io/v1 -kind: StorageClass -metadata: - name: mongo-dev -provisioner: kubernetes.io/no-provisioner -allowVolumeExpansion: true -volumeBindingMode: WaitForFirstConsumer +# --- +# apiVersion: storage.k8s.io/v1 +# kind: StorageClass +# metadata: +# name: mongo-dev +# provisioner: kubernetes.io/no-provisioner +# allowVolumeExpansion: true +# volumeBindingMode: WaitForFirstConsumer --- apiVersion: v1 @@ -16,7 +16,7 @@ metadata: labels: type: local spec: - storageClassName: mongo-dev + storageClassName: local-storage capacity: storage: 10Gi accessModes: @@ -71,7 +71,7 @@ spec: name: mongo-data spec: accessModes: ['ReadWriteOnce'] - storageClassName: "mongo-dev" + storageClassName: local-storage resources: requests: storage: 5Gi