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
|
||||
volumeMounts:
|
||||
# name must match the volume name below
|
||||
- name: redis-persistent-storage
|
||||
# name must match the volume name defined in volumes
|
||||
- name: redis-persistent-storage
|
||||
# mount path within the container
|
||||
mountPath: /data/redis
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user