Skip to content

feat(helm): add podLabels attribute - #144

Merged
marlonbaeten merged 1 commit into
tweedegolf:mainfrom
jperville:feat/helm-additional-pod-labels
Jul 5, 2026
Merged

marlonbaeten merged 1 commit into
tweedegolf:mainfrom
jperville:feat/helm-additional-pod-labels

Conversation

@jperville

Copy link
Copy Markdown
Contributor

This PR adds an optional podLabels attribute to the helm chart values.yml
The default value is an empty object to be compatible with the existing behavior.

Tests:

# if `yq` is not present, install from https://github.com/mikefarah/yq

# with the default/empty podLabels
helm template my-mailcrab . \
  | yq 'select(.kind == "Deployment").spec.template.metadata' 

# with a custom podLabels
helm template my-mailcrab . --set-json podLabels='{"my":"label"}' \
  | yq 'select(.kind == "Deployment").spec.template.metadata'

@jperville

Copy link
Copy Markdown
Contributor Author

@marlonbaeten would it be possible to review this simple PR for mailcrab helm chart? Thanks a lot.

@marlonbaeten
marlonbaeten merged commit 6484091 into tweedegolf:main Jul 5, 2026
3 checks passed
@jperville
jperville deleted the feat/helm-additional-pod-labels branch July 9, 2026 08:53
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