Merge pull request #1998 from kundan2707/kompose_volumen_subpath

update typo in kompose.volume.subpath
This commit is contained in:
Kubernetes Prow Robot 2025-03-13 14:43:47 -07:00 committed by GitHub
commit 3bff27f395
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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