update typo in kompose.volume.subpath

This commit is contained in:
Kundan Kumar 2025-03-08 23:54:48 +05:30
parent 6b704502d6
commit cc56b19407
1 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ Labels are an important kompose concept as they allow you to add Kubernetes modi
| `String` | `1Gi` |
| [`kompose.volume.storage-class-name`](#komposevolumestorage-class-name) | StorageClassName for provisioning volumes |
| `String` | `standard` |
| [`kompose.volume.sub-path`](#komposevolumesub-path) | Subpath inside the mounted volume |
| [`kompose.volume.subpath`](#komposevolumesubpath) | Subpath inside the mounted volume |
| `String` | `/data` |
| [`kompose.volume.type`](#komposevolumetype) | Type of Kubernetes volume |
| `String` | `configMap`, `persistentVolumeClaim`, `emptyDir`, `hostPath` |
@ -541,14 +541,14 @@ services:
- db-data:/var/lib/postgresql/data
```
### kompose.volume.sub-path
### kompose.volume.subpath
```yaml
services:
pgadmin:
image: postgres
labels:
kompose.volume.sub-path: pg-data
kompose.volume.subpath: pg-data
```
### kompose.volume.type
@ -642,4 +642,4 @@ If you want to customize the build and push processes and use another containers
Kompose offers you the possibility to do that. You can use `--build-command` and `--push-command` flags
to achieve that.
e.g: `kompose -f convert --build-command 'whatever command --you-use' --push-command 'whatever command --you-use'`
e.g: `kompose -f convert --build-command 'whatever command --you-use' --push-command 'whatever command --you-use'`