Skip to content

fix: apply additionalLabels also to podSpec#24

Closed
fstr wants to merge 3 commits into
pyrra-dev:mainfrom
fstr:fstr/issue-21
Closed

fix: apply additionalLabels also to podSpec#24
fstr wants to merge 3 commits into
pyrra-dev:mainfrom
fstr:fstr/issue-21

Conversation

@fstr
Copy link
Copy Markdown

@fstr fstr commented Jun 11, 2025

This patch adds the additionalLabels to the podSpec, not just the deploymentSpec. I believe that this approach is the most backwards friendly approach.

I checked how other charts use it and it's really a mixed approach. Some have global "labels" and specific "podLabels". Some have "extraLabels" and apply them to all resources.

Solves #21

@sebastiangaiser
Copy link
Copy Markdown
Collaborator

Hey, thank you for your PR. We will revisit this once the initial release using this repository is done.

@sebastiangaiser
Copy link
Copy Markdown
Collaborator

Hey, I think the chart is finally ready to go. Can you please rebase your PR as we released 0.16.0

@sebastiangaiser
Copy link
Copy Markdown
Collaborator

@fstr are you still planning to implement this?

@idris-nintex
Copy link
Copy Markdown

@fstr
We needed this feature , could you pls merge this PR?

@fstr fstr force-pushed the fstr/issue-21 branch 3 times, most recently from 6082ff4 to 34930d1 Compare April 8, 2026 12:34
@fstr
Copy link
Copy Markdown
Author

fstr commented Apr 8, 2026

@sebastiangaiser @idris-nintex I just rebased the changes onto latest main. Requires a new approval.

Comment thread charts/pyrra/Chart.yaml Outdated
Comment thread README.md Outdated
fstr and others added 3 commits April 16, 2026 16:13
Signed-off-by: Florian Strübe <florian@firebolt.io>
Co-authored-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
Signed-off-by: Florian Strübe <florian@firebolt.io>
Co-authored-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
Signed-off-by: Florian Strübe <florian@firebolt.io>
Copy link
Copy Markdown
Collaborator

@sebastiangaiser sebastiangaiser left a comment

Choose a reason for hiding this comment

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

Can you please add a simple Helm unit-test

sebastiangaiser added a commit to sebastiangaiser/pyrra-dev-helm-charts that referenced this pull request May 22, 2026
Mirror the existing podAnnotations value with a new podLabels knob that adds labels to spec.template.metadata.labels only. The Deployment selector (matchLabels) is intentionally left
  untouched to preserve Kubernetes' immutable selector contract.

Closes pyrra-dev#21, supersedes pyrra-dev#24

Signed-off-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
sebastiangaiser added a commit to sebastiangaiser/pyrra-dev-helm-charts that referenced this pull request May 22, 2026
Mirror the existing podAnnotations value with a new podLabels knob that adds labels to spec.template.metadata.labels only. The Deployment selector (matchLabels) is intentionally left
  untouched to preserve Kubernetes' immutable selector contract.

Closes pyrra-dev#21, supersedes pyrra-dev#24

Signed-off-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
@sebastiangaiser
Copy link
Copy Markdown
Collaborator

Closing as #111 got merged.

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.

5 participants