You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make mirror-by-digest-only option configurable through ImageContentSourcePolicy #636
When working with disconnected environments, sometimes you need to define multiple ImageContentSourcePolicies, some of them are used by apps / manifests that don't use digests when pulling the images.
Currently, all configurations are added with mirror-by-digest-only property set to true. It will be nice if this property could be configured using the ImageContentSourcePolicy.
Thanks,
Reacted by adawg, rhwen, Eduardo Mínguez, thomaswhode, Regina Voloshin, dwi256 and Dan Williams
And as you see on every entry from oc release mirror... command will include the attribute mirror-by-digest-only = true and also is included in the main section called [registries], the thing is, if you add a separated ICSP this option will be included by default and there is not any way via API to configure this parameter.
The use case is easy, think in a non-released product (ACM) and on a disconnected deployment. We need to provide a way through the API to configure these parameters in order to avoid access the nodes by ssh and modify the file manually.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
I am having the same issue, this would be very useful when using internal image registries. There is no other way to bypass the machineconfig cluster operator and degraded it...
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Activity
jparrill commentedon May 21, 2020
Some examples of this method:
In a Master, by default you will have this config (head -10 of the
/etc/containers/registries.conffile):And as you see on every entry from
oc release mirror...command will include the attributemirror-by-digest-only = trueand also is included in the main section called[registries], the thing is, if you add a separated ICSP this option will be included by default and there is not any way via API to configure this parameter.The use case is easy, think in a non-released product (ACM) and on a disconnected deployment. We need to provide a way through the API to configure these parameters in order to avoid access the nodes by ssh and modify the file manually.
jianzhangbjz commentedon Jun 2, 2020
/cc
openshift-bot commentedon Oct 16, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
openshift-bot commentedon Nov 15, 2020
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle rotten
/remove-lifecycle stale
a-dawg commentedon Nov 24, 2020
I am having the same issue, this would be very useful when using internal image registries. There is no other way to bypass the machineconfig cluster operator and degraded it...
openshift-bot commentedon Dec 24, 2020
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.Mark the issue as fresh by commenting
/remove-lifecycle rotten.Exclude this issue from closing again by commenting
/lifecycle frozen./close
openshift-ci-robot commentedon Dec 24, 2020
@openshift-bot: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
reggie-k commentedon Dec 29, 2020
High priority for our org as well.
Any updates?
Add mirror-by-digest-only to ImageContentSourcePolicy
Add mirror-by-digest-only to ImageContentSourcePolicy
Add MirrorByDigestOnly under RepositoryDigestMirrors
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
Add repositoryMirrors spec to ImageContentSourcePolicy
bdurrow commentedon Apr 18, 2022
As best I can tell, as of 4.10, OCPNODE-717 remains open and unimplemented. Until completed,
ImageContentPolicyhas no effectnate-duke commentedon Dec 12, 2022
somebody who has permissions to do so should probably tell the bot to reopen this issue.
jonasbartho commentedon Jan 5, 2023
I can confirm this is still an issue in OKD4.11