Skip to content

(helm/v2-alpha plugin) Allow customizing pod spec fields (e.g. priorityClassName) #5544

@camilamacedo86

Description

@camilamacedo86

Problem

The Helm chart generated by the helm/v2-alpha plugin exposes some pod configuration through the values.manager.<value> pattern. However, certain pod spec fields such as priorityClassName are not currently configurable.

This makes it harder for users to customize scheduling or other pod settings without modifying the generated chart templates.

Proposal

We could consider one of the following approaches:

  • Add support for specific fields such as priorityClassName.
  • Introduce a more flexible option such as extraPodSpec that allows users to extend the pod spec with additional fields not explicitly exposed in the chart values (similar to patterns used in other Helm charts).
  • Explore dynamically exposing options only when they exist in the kustomize manifests to avoid divergence.

The goal would be to keep the Helm chart aligned with the kustomize manifests, while still allowing users to customize pod settings when needed.

Additional Context

Suggestion originally raised by @liam Mackie in Slack: https://kubernetes.slack.com/archives/CAR30FCJZ/p1773631814394009

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions