Skip to content

Commit

Permalink
Fix docs warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Sep 17, 2024
1 parent e64a65b commit f3b2e13
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ KubeTaskParallel
----------------

KubeTaskParallel spins up a new pod with two containers connected
via shared emptyDir volume.
via shared `emptyDir`_ volume.
It's similar to KubeTask, but allows using multiple images to move backup data.
"background" container is one responsible for generating data, while "output" container
should export it to destination.
Expand All @@ -177,12 +177,12 @@ The function also supports an optional init container to set up the volume conte
`podOverride`, No, `map[string]interface{}`, specs to override default pod specs with
`podAnnotations`, No, `map[string]string`, custom annotations for the temporary pod that gets created
`podLabels`, No, `map[string]string`, custom labels for the temporary pod that gets created
`sharedVolumeMedium`, No, `string`, medium setting for shared volume. See the Kubernetes `documentation
<https://kubernetes.io/docs/concepts/storage/volumes/#emptydir>`_.
`sharedVolumeSizeLimit`, No, `string`, sizeLimit setting for shared volume. See the Kubernetes `documentation
<https://kubernetes.io/docs/concepts/storage/volumes/#emptydir>`_.
`sharedVolumeMedium`, No, `string`, medium setting for shared volume. See `emptyDir`_.
`sharedVolumeSizeLimit`, No, `string`, sizeLimit setting for shared volume. See `emptyDir`_.
`sharedVolumeDir`, No, `string`, directory to mount shared volume. Defaults to `/tmp`

.. _emptyDir: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

Example:

.. code-block:: yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ kopia
hostname
emptyDir
sizeLimit
init
init
6 changes: 3 additions & 3 deletions docs_new/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Example:
### KubeTaskParallel
KubeTaskParallel spins up a new pod with two containers connected via shared emptyDir volume.
KubeTaskParallel spins up a new pod with two containers connected via shared [emptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) volume.
It's similar to KubeTask, but allows using multiple images to move backup data.
"background" container is one responsible for generating data, while "output" container
should export it to destination.
Expand All @@ -152,8 +152,8 @@ The function also supports an optional init container to set up the volume conte
| podOverride | No | map[string]interface{} | specs to override default pod specs with |
| podAnnotations | No | map[string]string | custom annotations for the temporary pod that gets created |
| podLabels | No | map[string]string | custom labels for the temporary pod that gets created |
| sharedVolumeMedium | No | string | medium setting for shared volume. See the Kubernetes [documentation](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir). |
| sharedVolumeSizeLimit | No | string | sizeLimit setting for shared volume. See the Kubernetes [documentation](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir). |
| sharedVolumeMedium | No | string | medium setting for shared volume. See [emptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir). |
| sharedVolumeSizeLimit | No | string | sizeLimit setting for shared volume. See [emptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir). |
| sharedVolumeDir | No | string | directory to mount shared volume, defaults to `/tmp` |


Expand Down

0 comments on commit f3b2e13

Please sign in to comment.