Skip to content

Commit

Permalink
Update configure-redis-using-configmap.md
Browse files Browse the repository at this point in the history
Fix missing configMap parent key
  • Loading branch information
tchiaspko committed Dec 17, 2023
1 parent 0002f69 commit bd2c8d0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -61,7 +61,7 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/conte
Examine the contents of the Redis pod manifest and note the following:

* A volume named `config` is created by `spec.volumes[1]`
* The `key` and `path` under `spec.volumes[1].items[0]` exposes the `redis-config` key from the
* The `key` and `path` under `spec.volumes[1].configMap.items[0]` exposes the `redis-config` key from the
`example-redis-config` ConfigMap as a file named `redis.conf` on the `config` volume.
* The `config` volume is then mounted at `/redis-master` by `spec.containers[0].volumeMounts[1]`.

Expand Down

0 comments on commit bd2c8d0

Please sign in to comment.