You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support custom labels on the operator Deployment and pod #790
The operator Helm chart only adds its built-in app and version labels to the operator Deployment and pod. It supports custom annotations, but it does not provide a value for adding custom labels.
Users that require ownership, cost-allocation, policy, or workload-integration labels must maintain a downstream copy of the chart to modify templates/deployment.yaml.
Describe the enhancement
Add an optional starrocksOperator.labels map to the operator chart. When configured, render these labels on:
the operator Deployment metadata;
the operator pod-template metadata.
Keep the Deployment selector unchanged. Custom organizational labels are mutable and should not become part of the immutable spec.selector.
Example:
starrocksOperator:
labels:
team: data-platformenvironment: production
The default should remain {} so existing rendered manifests do not change.
Additional context
This would remove the need for downstream chart forks whose only template modification is custom operator labels. The chart already exposes starrocksOperator.annotations; providing the equivalent label capability would make its metadata configuration more complete.
Activity