Skip to content
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

feat: allow setting annotations all the way down to pods #837

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cwrau
Copy link
Contributor

@cwrau cwrau commented Nov 28, 2024

pull annotations from K0smotronControlPlane all the way through the
k0sCluster to the StatefulSet template

this allows the user to add e.g. checksum/configmap on the K0smotronControlPlane to auto-roll the StatefulSet pods

Signed-off-by: Chris Werner Rau cwrau@cwrau.info


I'm not 100% sure if this is the preferred way, as this uses the "global" annotationsForCluster function. But this way there is at least no API change 😅

@cwrau cwrau requested a review from a team as a code owner November 28, 2024 14:36
@makhov
Copy link
Contributor

makhov commented Jan 10, 2025

I'm sorry, forgot about this one. @cwrau could you resolve conflicts, pls?

Copy link

github-actions bot commented Feb 9, 2025

The PR is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added the Stale label Feb 9, 2025
@cwrau cwrau force-pushed the feat/pull-annotations-through-object-chain branch from bed2bfd to 03e3802 Compare February 10, 2025 10:40
pull annotations from K0smotronControlPlane all the way through the
k0sCluster to the StatefulSet template

this allows the user to add e.g. `checksum/configmap` on the K0smotronControlPlane to auto-roll the StatefulSet pods

Signed-off-by: Chris Werner Rau <cwrau@cwrau.info>
@cwrau cwrau force-pushed the feat/pull-annotations-through-object-chain branch from 03e3802 to 694c85c Compare February 10, 2025 10:58
@github-actions github-actions bot removed the Stale label Feb 10, 2025
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.

2 participants