Fix the comment's ambiguous
Origin commit means volumeMounts.name should match the volume name below, but there's nothing below.
This commit is contained in:
@@ -97,8 +97,8 @@ volumes:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
# name must match the volume name below
|
# name must match the volume name defined in volumes
|
||||||
- name: redis-persistent-storage
|
- name: redis-persistent-storage
|
||||||
# mount path within the container
|
# mount path within the container
|
||||||
mountPath: /data/redis
|
mountPath: /data/redis
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user