fix(common): Release 2.0.2 (#196)

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2023-10-05 12:25:05 +02:00 committed by GitHub
parent d86b0de790
commit f729651dbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 260 additions and 41 deletions

View file

@ -1,42 +0,0 @@
---
hide:
- toc
---
# Multiple subPaths for 1 volume
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.
## Example
```yaml
persistence:
config:
type: configMap
name: my-configMap
advancedMounts:
main: # (1)!
main: # (2)!
- path: /data/config.yaml
readOnly: false
subPath: config.yaml
- path: /data/secondConfigFile.yaml
readOnly: false
subPath: secondConfigFile.yaml
second-container: # (3)!
- path: /appdata/config
readOnly: true
second-controller: # (4)!
main: # (5)!
- path: /data/config.yaml
readOnly: false
subPath: config.yaml
```
1. the controller with the "main" identifier
2. the container with the "main" identifier
3. the container with the "second-container" identifier
4. the controller with the "second-controller" identifier
5. the container with the "main" identifier