Skip to content

Conversation

newtondev
Copy link

You can limit the resolve of image tags to only a specific platform by specifying the --platform command-line flag with the target platform e.g. linux/amd64.

Fixes #3

@halvards halvards assigned halvards and newtondev and unassigned halvards Oct 2, 2024
@halvards
Copy link
Contributor

halvards commented Oct 2, 2024

Thanks for your contribution @newtondev! I've left some comments above.

@newtondev
Copy link
Author

@halvards I have closed the other PR in favour of this one which has all the version bumps inlcluded. thanks

}

func setupControllers(mgr manager.Manager, log logr.Logger, dryRun bool, ignoreErrors bool, certSetupFinished chan struct{}, skipPrefixes []string) {
func setupControllers(mgr manager.Manager, log logr.Logger, dryRun bool, ignoreErrors bool, certSetupFinished chan struct{}, skipPrefixes []string, platform string) {
Copy link

@vahan-sahakyan-op vahan-sahakyan-op Mar 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you guys follow no-wrapping-args coding style for go at Google?

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.

Add flag to resolve platform-specific images

3 participants