-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete deprecated registries config #8161
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -543,6 +543,8 @@ type ImageConfig struct { | |
// ImageVolumes controls how volumes specified in image config are handled | ||
ImageVolumes ImageVolumesType `toml:"image_volumes"` | ||
// Registries holds a list of registries used to pull unqualified images | ||
// Deprecated: Support for this option has been dropped, and it has no effect. | ||
// Please refer to containers-registries.conf(5) for configuring unqualified-search registries. | ||
Registries []string `toml:"registries"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if we should just be done with it and remove it already? It's been a while since 2021... @cri-o/cri-o-maintainers, thoughts on removing this completely? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have we ever deprecated this? If not, then we have to per https://github.com/cri-o/cri-o/blob/main/deprecating_process.md There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would this stand in for deprecation? This has been defunct for about two years now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Somehow, yes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can:
@cri-o/cri-o-maintainers, thoughts? |
||
// Temporary directory for big files | ||
BigFilesTemporaryDir string `toml:"big_files_temporary_dir"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we do need this config in /etc/containers/registries.conf.d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we?
It hasn't been used since #4455.
According to the log, it wasn't used.
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/cri-o_cri-o/8102/pull-ci-cri-o-cri-o-main-ci-fedora-integration/1786581177407115264/artifacts/fedora-integration/cri-o-gather/artifacts/testout.txt
I don't know how we configure the
registries.conf
in prow CIs, but at least for github actions, there is alreadyregistries.conf
.cri-o/scripts/github-actions-setup
Line 161 in 9712c53
cri-o/test/registries.conf
Lines 1 to 4 in 9712c53
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah since we have completely different install paths for github actions and prow, I think we may still need this.
can you try with it to see if the ci failures are due to this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jk I think failures are not flakes from this #8167
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bitoku @haircommander, what would be the way forward here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like we don't need this anymore because it passed CI?