Skip to content

Commit 9dee066

Browse files
committed
conf(grep): Rename PVC to be unique
Can't change these once defined (immutable). Create a new name to allow the removal of NFS.
1 parent e0af31a commit 9dee066

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/grep/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ spec:
6767
volumes:
6868
- name: gitrepo
6969
persistentVolumeClaim:
70-
claimName: gitrepo
70+
claimName: gitrepo-pv

apps/grep/base/pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: PersistentVolumeClaim
33
metadata:
4-
name: gitrepo
4+
name: gitrepo-pv
55
spec:
66
accessModes:
77
- ReadWriteOnce

0 commit comments

Comments
 (0)