Skip to content

[connect] Add ServiceAccount-specific labels support#1718

Open
ystkfujii wants to merge 1 commit intoredpanda-data:mainfrom
ystkfujii:feat/add_labels_for_sa
Open

[connect] Add ServiceAccount-specific labels support#1718
ystkfujii wants to merge 1 commit intoredpanda-data:mainfrom
ystkfujii:feat/add_labels_for_sa

Conversation

@ystkfujii
Copy link

@ystkfujii ystkfujii commented Jan 16, 2026

This PR allows adding labels that apply only to the ServiceAccount via values.yaml.

While the chart already supports common labels using
{{ include "redpanda-connect.labels" . }}, those labels are applied to multiple resources such as Service and ConfigMap. This makes them unsuitable when labels are required specifically for the ServiceAccount.

By introducing serviceAccount.labels, users can now attach labels exclusively to the ServiceAccount without affecting other resources.

A similar ServiceAccount-specific label configuration exists in other charts, such as Grafana:
https://github.com/grafana/helm-charts/blob/6665978af1eb54f27c389cdfaa2a01dca1f277c2/charts/grafana/templates/serviceaccount.yaml#L8

@CLAassistant
Copy link

CLAassistant commented Jan 16, 2026

CLA assistant check
All committers have signed the CLA.

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