Skip to content

Conversation

@shanduur
Copy link
Member

@shanduur shanduur commented Nov 21, 2025

Upon starting a image cache server, attempt to generate patch for Talos.

Signed-off-by: Mateusz Urbanek [email protected]

@github-project-automation github-project-automation bot moved this to To Do in Planning Nov 21, 2025
@talos-bot talos-bot moved this from To Do to In Review in Planning Nov 21, 2025
@shanduur shanduur force-pushed the feat-generate-mirrors-patch branch from 26fc654 to 33f9da5 Compare November 21, 2025 14:32
imageCacheServeCmdFlags.mirrors,
imageCacheServeCmdFlags.tlsCertFile != "" && imageCacheServeCmdFlags.tlsKeyFile != "",
); err != nil {
development.Error("failed to generate Talos config patch for registry mirrors", zap.Error(err))
Copy link
Member Author

Choose a reason for hiding this comment

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

This is not a fatal error, we don't want to crash image-cache server here, so just log it.

Upon starting a image cache server, attempt to generate patch for Talos.

Signed-off-by: Mateusz Urbanek <[email protected]>
@shanduur shanduur force-pushed the feat-generate-mirrors-patch branch from 33f9da5 to f1c04e4 Compare November 21, 2025 14:46
return err
}

const patchFile = "image-cache-mirrors-patch.yaml"
Copy link
Member

Choose a reason for hiding this comment

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

should we make this configurable?

Copy link
Member Author

Choose a reason for hiding this comment

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

Most of our patches are not configurable now. I want to change it at some point, but make it all at once.

@github-project-automation github-project-automation bot moved this from In Review to Approved in Planning Nov 24, 2025
@shanduur
Copy link
Member Author

/m

@talos-bot talos-bot merged commit f1c04e4 into siderolabs:main Nov 24, 2025
58 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Planning Nov 24, 2025
@shanduur shanduur moved this from Proposed to In Progress in Backports to v1.12 Nov 26, 2025
@shanduur shanduur moved this from In Progress to Backported in Backports to v1.12 Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backported
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants