set volume access modes

This commit is contained in:
Mikaël Cluseau 2023-09-27 22:07:05 +02:00
parent 750744ea3b
commit 9476d38a2b

View File

@ -17,7 +17,8 @@ spec:
containers:
- name: db
image: quay.io/coreos/etcd:v3.5.9
args:
command:
- etcd
- --data-dir=/data
env:
- name: ETCD_INITIAL_CLUSTER_STATE
@ -29,7 +30,9 @@ spec:
- metadata:
name: data
spec:
storageClass: local
storageClassName: local
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi