mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Automount volumes (#6698)
* Simplify AddOdoProjectVolume and AddOdoMandatoryVolume * Rename / Clarify HandleEphemeralStorage function * Regroup volume-specific code * Move volume specific code to a separated function * Add a new module configAutomount * Automount PVC (without options) * Add unit tests * Separate functions * Mount secrets * Mount configmaps * Specific mount path * MountAs annotation * Mounting cm/secret as env * Refacto: use inAllContainers + replace result with volume * Mounting cm/secret as subpath * Read-only * Integration tests * Rename label * Automount during odo deploy Exec command * Add documentation * Fix TODO * Review * Fix indentation * Rename labels/annotations
This commit is contained in:
@@ -95,3 +95,7 @@ $mockgen -source=pkg/exec/interface.go \
|
||||
$mockgen -source=pkg/podman/interface.go \
|
||||
-package podman \
|
||||
-destination pkg/podman/mock.go
|
||||
|
||||
$mockgen -source=pkg/configAutomount/interface.go \
|
||||
-package configAutomount \
|
||||
-destination pkg/configAutomount/mock.go
|
||||
|
||||
Reference in New Issue
Block a user