Description of problem: For debugging and local development we introduced a ConfigMap to override specific states in the deployed chart. Some customers that do not want to package charts in SRO or push the charts to a HTTP registry want an easy way to deploy charts locally. SRO should be able to read a complete chart form a ConfigMap.
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