Bug 1986174
| Summary: | SRO should be able to read a complete chart form a ConfigMap. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Zvonko Kosic <zkosic> |
| Component: | Special Resource Operator | Assignee: | Brett Thurber <bthurber> |
| Status: | CLOSED ERRATA | QA Contact: | liqcui |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9 | CC: | aos-bugs |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:41: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: | |||
|
Description
Zvonko Kosic
2021-07-26 20:26:56 UTC
Verified Steps: 1. Deploy SRO from operatorhub using the latest version available from ART builds 2. Clone the SRO code from https://github.com/openshift/special-resource-operator 3. Add specialresource.openshift.io/from-configmap: "true" to charts/example/simple-kmod-0.0.1/templates/1000-driver-container.yaml 4. VERSION=0.0.1 REPO=example SPECIALRESOURCE=simple-kmod make chart 5. Change charts/example/simple-kmod-0.0.1/simple-kmod.yaml as below From url: file:///charts/example --- To: url: cm://simple-kmod/simple-kmod-chart 6. oc apply -f charts/example/simple-kmod-0.0.1/simple-kmod.yaml 7. oc get pods -n simple-kmod -w to wait simple-kmod-driver-container is running 8. oc describe daemonset simple-kmod-driver-container-12813789169ac0ee -n simple-kmod |grep from-configmap specialresource.openshift.io/from-configmap: true oc get daemonset simple-kmod-driver-container-12813789169ac0ee -n simple-kmod -o yaml |grep from specialresource.openshift.io/from-configmap: "true" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |