Skip to content

fix(docker): add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799]#4385

Open
rm3l wants to merge 2 commits intoredhat-developer:mainfrom
rm3l:rhdhbugs-2799-init-container-unable-to-pull-from-registry.access.redhat.com-source-image-rejected-none-of-the-signatures-were-accepted--main
Open

fix(docker): add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799]#4385
rm3l wants to merge 2 commits intoredhat-developer:mainfrom
rm3l:rhdhbugs-2799-init-container-unable-to-pull-from-registry.access.redhat.com-source-image-rejected-none-of-the-signatures-were-accepted--main

Conversation

@rm3l
Copy link
Member

@rm3l rm3l commented Mar 11, 2026

Description

Manual cherry-pick of #4380 (comment) into main because of conflicts.

This contains a specific identity mapping for pulls against registry.access.redhat.com/rhdh.
For some reason, Skopeo would fail otherwise with Source image rejected: None of the signatures were accepted.

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

See RHDHBUGS-2799 for more context.

…s to work correctly [RHDHBUGS-2799]

This contains a specific identity mapping for pulls against registry.access.redhat.com/rhdh.
For some reason, Skopeo would fail otherwise with "Source image
rejected: None of the signatures were accepted".

This cherrypicks 8ba897d.

ref: https://issues.redhat.com/browse/RHDHBUGS-2799
@rm3l rm3l changed the title fix(docker): Add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799] fix(docker): Add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799] Mar 11, 2026
@rm3l rm3l changed the title fix(docker): Add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799] fix(docker): add a custom policy.json file in the RHDH image for pulls to work correctly [RHDHBUGS-2799] Mar 11, 2026
@rm3l
Copy link
Member Author

rm3l commented Mar 11, 2026

/cc @nickboldt

@openshift-ci openshift-ci bot requested a review from nickboldt March 11, 2026 08:15
@github-actions
Copy link
Contributor

The container image build workflow finished with status: failure.

@sonarqubecloud
Copy link

@rm3l
Copy link
Member Author

rm3l commented Mar 11, 2026

/test e2e-ocp-helm

@github-actions
Copy link
Contributor

Image was built and published successfully. It is available at:

@rm3l
Copy link
Member Author

rm3l commented Mar 11, 2026

/test e2e-ocp-helm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant