Bug 1954317
| Summary: | [assisted operator] Environment variables set in the subscription not being inherited by the assisted-service container | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Trey West <trwest> |
| Component: | assisted-installer | Assignee: | David Zager <dzager> |
| assisted-installer sub component: | Deployment Operator | QA Contact: | bjacot |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | alazar, aos-bugs, asegurap, dzager, mhrivnak, ohochman |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | AI-Team-Platform | ||
| Fixed In Version: | OCP-Metal-v1.0.20.1 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:04:13 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
Trey West
2021-04-27 21:19:31 UTC
I think this is working as intended. Only some environment variables get propagated. We should update the docs here to clarify: https://github.com/openshift/assisted-service/blob/913aba6/docs/operator.md#subscription-config If your goal is to serve the API without TLS, this will get you that for now: https://github.com/openshift/assisted-service/pull/1581 We aren't going to add more items to the "whitelist" of environment variables we will pass from the subscription.spec.config (specifically subscription.spec.config.env) -> assisted-service container. However, we will be addressing this bug by allowing an "unsupported.agent-install.openshift.io/assisted-service-config" annotation on the AgentServiceConfig that is the name of the configmap to be used as EnvFrom on the assisted-service container. Verified 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.8.2 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:2438 |