Skip to content

Commit

Permalink
docs: change "Mounting volumes" example text (#526)
Browse files Browse the repository at this point in the history
* Change example text

Kubernetes does not like it when you use underscores (_) in value names, and fails when using the example text from this tutorial. Changing to a dash makes it so that a user may apply this change without renaming it.

Signed-off-by: riso <[email protected]>

* Change example text in `/next`

Signed-off-by: riso <[email protected]>

---------

Signed-off-by: riso <[email protected]>
  • Loading branch information
risograph authored May 15, 2024
1 parent 875de67 commit f271222
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/latest/guide/recipes/overriding-pod-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ spec:
name: my-cluster
podOverrides: // [!code focus]
volumeMounts: // [!code focus]
- name: my_extra_volume // [!code focus]
- name: my-extra-volume // [!code focus]
mountPath: /mnt/path // [!code focus]
volumes: // [!code focus]
- name: my_extra_volume // [!code focus]
- name: my-extra-volume // [!code focus]
emptyDir: {} // [!code focus]
```

Expand Down
4 changes: 2 additions & 2 deletions docs/src/next/guide/recipes/overriding-pod-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ spec:
name: my-cluster
podOverrides: // [!code focus]
volumeMounts: // [!code focus]
- name: my_extra_volume // [!code focus]
- name: my-extra-volume // [!code focus]
mountPath: /mnt/path // [!code focus]
volumes: // [!code focus]
- name: my_extra_volume // [!code focus]
- name: my-extra-volume // [!code focus]
emptyDir: {} // [!code focus]
```

Expand Down

0 comments on commit f271222

Please sign in to comment.