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 [email protected]


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 😅

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 <[email protected]>
@cwrau cwrau requested a review from a team as a code owner November 28, 2024 14:36
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.

1 participant