From 74587e6f78d721a9aab30467061207ff812b8069 Mon Sep 17 00:00:00 2001 From: mikeplotean <101570226+mikeplotean@users.noreply.github.com> Date: Fri, 11 Aug 2023 13:34:50 +0300 Subject: [PATCH] chore: updated dev and prod deployments pvc and cm names (#170) --- k8s/deployment-dev.yaml | 16 ++++++++-------- k8s/deployment-prod.yaml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/k8s/deployment-dev.yaml b/k8s/deployment-dev.yaml index 1232fb9a..56081889 100644 --- a/k8s/deployment-dev.yaml +++ b/k8s/deployment-dev.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: wallet-config + name: walletkit-config data: issuer-config.json: | { @@ -63,7 +63,7 @@ data: apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: wallet-data-volume-claim + name: walletkit-data-volume-claim spec: accessModes: - ReadWriteMany @@ -91,14 +91,14 @@ spec: - name: walletkit image: waltid/walletkit:latest volumeMounts: - - name: wallet-config + - name: walletkit-config mountPath: "/waltid/wallet/config/" readOnly: true - name: issuers-secret mountPath: "/waltid/wallet/secrets" readOnly: true - mountPath: "/waltid/wallet/data/" - name: wallet-data + name: walletkit-data env: - name: WALTID_DATA_ROOT value: "/waltid/wallet" @@ -110,15 +110,15 @@ spec: - containerPort: 8080 name: http-api volumes: - - name: wallet-config + - name: walletkit-config configMap: - name: wallet-config + name: walletkit-config - name: issuers-secret secret: secretName: issuers-secret - - name: wallet-data + - name: walletkit-data persistentVolumeClaim: - claimName: wallet-data-volume-claim + claimName: walletkit-data-volume-claim --- kind: Service apiVersion: v1 diff --git a/k8s/deployment-prod.yaml b/k8s/deployment-prod.yaml index 0528ee65..5ff78e2d 100644 --- a/k8s/deployment-prod.yaml +++ b/k8s/deployment-prod.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: wallet-config + name: walletkit-config data: issuer-config.json: | { @@ -53,7 +53,7 @@ data: apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: wallet-data-volume-claim + name: walletkit-data-volume-claim namespace: default spec: accessModes: @@ -82,14 +82,14 @@ spec: - name: walletkit image: waltid/walletkit:latest volumeMounts: - - name: wallet-config + - name: walletkit-config mountPath: "/waltid/wallet/config/" readOnly: true - name: issuers-secret mountPath: "/waltid/wallet/secrets" readOnly: true - mountPath: "/waltid/wallet/data/" - name: wallet-data + name: walletkit-data env: - name: WALTID_DATA_ROOT value: "/waltid/wallet" @@ -101,15 +101,15 @@ spec: - containerPort: 8080 name: http-api volumes: - - name: wallet-config + - name: walletkit-config configMap: - name: wallet-config + name: walletkit-config - name: issuers-secret secret: secretName: issuers-secret - - name: wallet-data + - name: walletkit-data persistentVolumeClaim: - claimName: wallet-data-volume-claim + claimName: walletkit-data-volume-claim --- kind: Service apiVersion: v1