feat(common): Release version 2.0.0-beta.1 (#173)

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2023-09-13 11:24:23 +02:00 committed by GitHub
parent 19767d668c
commit 7b6ee00be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
189 changed files with 3110 additions and 3023 deletions

View file

@ -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
```