Bug 2042732
| Summary: | DeploymentConfigs ignore resolve-names annotation | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | ImageStreams | Assignee: | Oleg Bulatov <obulatov> |
| Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.6.z | CC: | aos-bugs, jcoscia, jpinto, luaparicio, mdeloren, nmorono, obulatov, rgarrote |
| Target Milestone: | --- | ||
| Target Release: | 4.8.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-01 12:44:33 UTC | Type: | --- |
| 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: | 2040240 | ||
| Bug Blocks: | |||
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 (OpenShift Container Platform 4.8.29 bug fix 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/RHBA-2022:0278 |
Verified on 4.8.0-0.nightly-2022-01-21-182704 Scenario: $oc tag docker.io/library/nginx:latest myis:latest $oc apply -f - <<END apiVersion: v1 kind: DeploymentConfig metadata: name: mydc spec: replicas: 1 selector: app: mydc template: metadata: annotations: alpha.image.policy.openshift.io/resolve-names: '*' labels: app: mydc spec: containers: - image: myis name: mycontainer END $oc get dc mydc -o jsonpath='{.spec.template.spec.containers[*].image}{"\n"}' docker.io/library/nginx@sha256:ee89b00528ff4f02f2405e4ee221743ebc3f8e8dd0bfd5c4c20a2fa2aaa7ede3