Skip to content

Commit

Permalink
chore: updated dev and prod deployments pvc and cm names (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean authored Aug 11, 2023
1 parent 37377c8 commit 74587e6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions k8s/deployment-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: wallet-config
name: walletkit-config
data:
issuer-config.json: |
{
Expand Down Expand Up @@ -63,7 +63,7 @@ data:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wallet-data-volume-claim
name: walletkit-data-volume-claim
spec:
accessModes:
- ReadWriteMany
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down
16 changes: 8 additions & 8 deletions k8s/deployment-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: wallet-config
name: walletkit-config
data:
issuer-config.json: |
{
Expand Down Expand Up @@ -53,7 +53,7 @@ data:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wallet-data-volume-claim
name: walletkit-data-volume-claim
namespace: default
spec:
accessModes:
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 74587e6

Please sign in to comment.