Skip to content

Commit 7bea9a3

Browse files
committed
fix(init_containers.yml): Remove volume from init container example to match counter.yml
1 parent e8606fc commit 7bea9a3

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

init_containers.yml

-20
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
apiVersion: v1
2-
kind: PersistentVolumeClaim
3-
metadata:
4-
name: redis
5-
labels:
6-
project: counter
7-
spec:
8-
accessModes:
9-
- ReadWriteOnce
10-
resources:
11-
requests:
12-
storage: 1Gi
13-
---
141
apiVersion: apps/v1
152
kind: StatefulSet
163
metadata:
@@ -46,13 +33,6 @@ spec:
4633
memory: 50Mi
4734
ports:
4835
- containerPort: 6379
49-
volumeMounts:
50-
- mountPath: /data
51-
name: data
52-
volumes:
53-
- name: data
54-
persistentVolumeClaim:
55-
claimName: redis
5636
---
5737
apiVersion: v1
5838
kind: Service

0 commit comments

Comments
 (0)