diff --git a/configs/kube-deployment.yml b/configs/kube-deployment.yml index 3bcee5de..ad6c7b04 100644 --- a/configs/kube-deployment.yml +++ b/configs/kube-deployment.yml @@ -26,6 +26,8 @@ spec: volumeMounts: - mountPath: /docker-entrypoint-initdb.d/mongo-init.js name: mongo-init + - mountPath: /data/db + name: mongo-data env: - name: MONGO_INITDB_ROOT_USERNAME value: ${MONGO_ADMIN_USERNAME} @@ -199,3 +201,7 @@ spec: hostpath: path: ./configs/mongo-init.js type: File + + - name: mongo-data + persistentVolumeClaim: + claimName: unifed-mongo-data diff --git a/scripts/podman.mk b/scripts/podman.mk index d333455c..b3349273 100644 --- a/scripts/podman.mk +++ b/scripts/podman.mk @@ -10,12 +10,12 @@ POD_NAME:=unifed PODMAN_COMMAND:=cd .. && podman -ifneq ($(shell podman --version | awk '{print $$3}'),2.1.1) +ifneq ($(shell podman --version | awk '{print $$3}'),3.0.0-rc3) define n endef -$(error $n Requires Podman version 2.1.1. See $n https://github.com/kiancross/unifed/wiki/Installation#step-3---setup-a-container-service $n) +$(error $n Requires Podman version 3.0.0-rc3. See $n https://github.com/kiancross/unifed/wiki/Installation#step-3---setup-a-container-service $n) endif .PHONY: start