Repository navigation
feat(chart): add podLabels value for the manager pod - #413
Merged
raffaelespazzoli merged 1 commit intoNov 15, 2026
Merged
Conversation
Collaborator
|
can you rebase from main. this should fix the ci issue |
Collaborator
|
I'd like to release soon, I checked this PR and it's ok. I will merge it as soon as the ci works. please rebase, it should fix the issue. |
Add a podLabels value to the Helm chart so users can set extra labels on the manager pod, alongside the existing podAnnotations. Labels are added to the Deployment's pod template only; the selector is unchanged. Defaults remain unchanged: podLabels is empty, so the rendered output is identical until a values file sets it. Adds helm-unittest coverage for the default labels, custom labels and the selector.
markkanen89
force-pushed
the
feat/chart-pod-labels
branch
from
November 15, 2026 15:09
7828eca to
83c5b6e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a
podLabelsvalue to the Helm chart so that additional labels can be seton the manager pod. It complements the existing
podAnnotationsvalue andfollows the same convention used by most community charts.
Motivation
The chart currently allows extra annotations on the manager pod but provides no
way to set labels. Labels are commonly required for purposes such as ownership
and cost attribution, and for admission policies that require specific labels
on every pod. Without this value, users must patch the rendered Deployment
after installation or maintain a fork of the chart.
Backward compatibility
podLabelsdefaults to an empty map. With default values the renderedmanifests are identical to those produced before this change, so existing
installations should be unaffected.