Bug 1800320
| Summary: | Adding a default pull secret using the UI doesn't link it with the "default" service account [openshift-4.3] | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | bpeterse |
| Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED ERRATA | QA Contact: | XiaochuanWang <xiaocwan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.z | CC: | aos-bugs, bpeterse, jhadvig, jokerman, sgarciam, xiaocwan, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.3.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1795144 | Environment: | |
| Last Closed: | 2020-03-10 23:53:27 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: | 1795144 | ||
| Bug Blocks: | |||
|
Description
bpeterse
2020-02-06 21:03:26 UTC
Verified on 4.3.0-0.nightly-2020-02-27-225047
After created and added a secret "imagepullsec" to default SA:
xiaocwan ~$ oc describe sa default
Name: default
Namespace: xiaocwan-t
Labels: <none>
Annotations: <none>
Image pull secrets: default-dockercfg-ndk5x
imagepullsec
Mountable secrets: default-token-w2c2m
default-dockercfg-ndk5x
Tokens: default-token-js2m6
default-token-w2c2m
Events: <none>
Then deploy image by DC (or Deployment), it'll use "Image pull secrets" correctly for pods and containers
spec:
restartPolicy: Always
serviceAccountName: default
imagePullSecrets:
- name: default-dockercfg-ndk5x
- name: imagepullsec
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, 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-2020:0676 |