mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
feat(common): Release version 2.0.0-beta.1 (#173)
This commit is contained in:
parent
19767d668c
commit
7b6ee00be6
189 changed files with 3110 additions and 3023 deletions
|
@ -1,43 +1,31 @@
|
|||
# Multiple subPaths for 1 volume
|
||||
|
||||
It is possible to mount multiple subPaths from the same volume to the main
|
||||
It is possible to mount multiple subPaths from the same volume to a
|
||||
container. This can be achieved by specifying `subPath` with a list
|
||||
instead of a string.
|
||||
|
||||
```admonish note
|
||||
It is not possible to define `mountPath` at the top level when using this
|
||||
feature
|
||||
```
|
||||
|
||||
## Examples:
|
||||
|
||||
```yaml
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
type: custom
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: myData
|
||||
subPath:
|
||||
- path: myFirstScript.sh
|
||||
mountPath: /data/myFirstScript.sh
|
||||
- path: myCertificate.pem
|
||||
mountPath: /certs/myCertificate.pem
|
||||
readOnly: true
|
||||
```
|
||||
|
||||
```yaml
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
type: pvc
|
||||
existingClaim: myAppData
|
||||
subPath:
|
||||
- path: .
|
||||
mountPath: /my_media
|
||||
- path: Series
|
||||
mountPath: /series
|
||||
- path: Downloads
|
||||
mountPath: /downloads
|
||||
type: configMap
|
||||
name: my-configMap
|
||||
advancedMounts:
|
||||
main: # the controller with whe "main" identifier
|
||||
main: # the container with whe "main" identifier
|
||||
- path: /data/config.yaml
|
||||
readOnly: false
|
||||
subPath: config.yaml
|
||||
- path: /data/secondConfigFile.yaml
|
||||
readOnly: false
|
||||
subPath: secondConfigFile.yaml
|
||||
second-container: # the container with whe "second-container" identifier
|
||||
- path: /appdata/config
|
||||
readOnly: true
|
||||
second-controller: # the controller with whe "second-controller" identifier
|
||||
main: # the container with whe "main" identifier
|
||||
- path: /data/config.yaml
|
||||
readOnly: false
|
||||
subPath: config.yaml
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue