Skip to content

Commit

Permalink
small correction
Browse files Browse the repository at this point in the history
  • Loading branch information
uttiyahazra committed Jan 10, 2025
1 parent 408c5f2 commit de33b8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion myk8sapp/templates/myk8sapp-mongodb-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ spec:
volumes:
- name: "mongo-data-dir"
persistentVolumeClaim:
claimName: "mongo-data"
claimName: "mongo-data-pvc"
2 changes: 1 addition & 1 deletion myk8sapp/templates/myk8sapp-mongodb-pv.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: mongo-data
name: mongo-data-pv
spec:
accessModes:
- ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions myk8sapp/templates/myk8sapp-mongodb-pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc
name: mongo-data-pvc
spec:
storageClassName: ""
accessModes:
- ReadWriteOnce
volumeName: pv
volumeName: mongo-data-pv
resources:
requests:
storage: 1Gi

0 comments on commit de33b8c

Please sign in to comment.