Bug 1278294
Summary: | Deployment hook is not compatible with ImagePullSecrets which is in old dockercfg scheme | ||
---|---|---|---|
Product: | OKD | Reporter: | weiwei jiang <wjiang> |
Component: | Deployments | Assignee: | David Eads <deads> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, deads, wjiang, wsun |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-23 21:18:32 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
weiwei jiang
2015-11-05 08:08:19 UTC
I've proven that the kubelet respects imagePullSecrets specified on the pod in both the old and the new format using: https://gist.github.com/deads2k/919cafb99e1dffcac95e . It relies on https://github.com/openshift/origin/pull/5744 to have a sane way to create the secret. I'm still in the process of completing the entire deployment hook process. I had to get the latest deployer image to pick up https://github.com/openshift/origin/pull/5688, but this works for me. Can you confirm you are using the latest images? If so, please provide an `oc export` of your secrets, deployment configs, and pods. Also, you can see a helper command (not merge for 3.1) and my test case here: https://github.com/openshift/origin/pull/5744 (In reply to David Eads from comment #2) > I had to get the latest deployer image to pick up > https://github.com/openshift/origin/pull/5688, but this works for me. > > Can you confirm you are using the latest images? If so, please provide an > `oc export` of your secrets, deployment configs, and pods. Rechecked with devenv-rhel7_2643, and after modify the imageConfig.latest to true of node-config file, finally work as expected. imageConfig: format: openshift/origin-${component}:${version} latest: true Confirmed with devenv-rhel7_2672, the issue fixed. |