diff --git a/dev-upgrade/mongo/mongo-dev.yaml b/dev-upgrade/mongo/mongo-dev.yaml index faae3b6..5733606 100644 --- a/dev-upgrade/mongo/mongo-dev.yaml +++ b/dev-upgrade/mongo/mongo-dev.yaml @@ -1,13 +1,4 @@ -# --- -# apiVersion: storage.k8s.io/v1 -# kind: StorageClass -# metadata: -# name: mongo-dev -# provisioner: kubernetes.io/no-provisioner -# allowVolumeExpansion: true -# volumeBindingMode: WaitForFirstConsumer - --- apiVersion: v1 kind: PersistentVolume @@ -16,7 +7,7 @@ metadata: labels: type: local spec: - storageClassName: local-storage + storageClassName: local-mongo capacity: storage: 10Gi accessModes: diff --git a/dev-upgrade/mongo/mongo-release.yaml b/dev-upgrade/mongo/mongo-release.yaml index c2c35b4..ce8ba7d 100644 --- a/dev-upgrade/mongo/mongo-release.yaml +++ b/dev-upgrade/mongo/mongo-release.yaml @@ -1,13 +1,3 @@ - ---- -apiVersion: storage.k8s.io/v1 -kind: StorageClass -metadata: - name: mongo-release -provisioner: kubernetes.io/no-provisioner -allowVolumeExpansion: true -volumeBindingMode: WaitForFirstConsumer - --- apiVersion: v1 kind: PersistentVolume @@ -16,7 +6,7 @@ metadata: labels: type: local spec: - storageClassName: mongo-release + storageClassName: local-mongo capacity: storage: 10Gi accessModes: diff --git a/dev-upgrade/mongo/mongo-storage.yaml b/dev-upgrade/mongo/mongo-storage.yaml new file mode 100644 index 0000000..5d453b4 --- /dev/null +++ b/dev-upgrade/mongo/mongo-storage.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: local-mongo +provisioner: kubernetes.io/no-provisioner +allowVolumeExpansion: true +volumeBindingMode: WaitForFirstConsumer \ No newline at end of file