Bug 1554868
| Summary: | [3.4] subpath volume mounts do not work with secret, configmap, projected, or downwardAPI volumes | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jan Safranek <jsafrane> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wenqi He <wehe> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.1 | CC: | aos-bugs, aos-storage-staff, bchilds, dma, jhou, mifiedle, vlaad |
| Target Milestone: | --- | ||
| Target Release: | 3.4.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
OpenShift did not check correctly for parent directories when creating SubPath.
Consequence:
Secrets, ConfigMap, DownwardAPI and Projected volumes could not be used with SubPaths in pods.
Fix:
OpenShift correctly evaluates parent directories.
Result:
Secrets, ConfigMap, DownwardAPI and Projected volumes can be used with SubPaths in pods.
|
Story Points: | --- |
| Clone Of: | 1554670 | Environment: | |
| Last Closed: | 2018-10-08 13:55:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1554670, 1663260 | ||
| Bug Blocks: | |||
|
Description
Jan Safranek
2018-03-13 13:40:40 UTC
Tested on below version: openshift v3.4.1.44.53 kubernetes v1.4.0+776c994 # uname -a Linux 3.10.0-514.6.1.el7.x86_64 #1 SMP Sat Dec 10 11:15:38 EST 2016 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) secret, configmap, projected, or downwardAPI pods with subpath could be running # oc get pods NAME READY STATUS RESTARTS AGE configmap 1/1 Running 0 1m downwordapi 1/1 Running 0 21s secret 1/1 Running 0 8m projected 1/1 Running 0 29s |