Skip to content

Comments

Update helm chart to add option of custom pod labels#528

Closed
LEttenfield wants to merge 1 commit intokosli-dev:mainfrom
LEttenfield:add-custom-pod-labels-to-cronjob-spec
Closed

Update helm chart to add option of custom pod labels#528
LEttenfield wants to merge 1 commit intokosli-dev:mainfrom
LEttenfield:add-custom-pod-labels-to-cronjob-spec

Conversation

@LEttenfield
Copy link

This adds an optional value for adding a map of pod labels to the cron job.

This capability is required if for example pod Labels are required for selecting pods to run on eks fargate nodes.

Range was used to ensure that key and values are formatted with correct indents otherwise yaml to json mapping errors can occur. This should take into account multiple label values

This has been tested locally through a helm release referencing multiple labels, a single label and 0 labels to ensure correct templating

This adds an optional value for adding a map of pod labels to the cron job. This capability is required if for example Labels are required for selecting pods to run on eks fargate nodes.
@ToreMerkely
Copy link
Contributor

ToreMerkely commented Sep 2, 2025

Since our test do not run on push from external I have merged this change as a new PR
#532

The update will be part of v2.11.22 and later

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