Use a distinctive app.kubernetes.io/name for the gateway Helm chart
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Description
The gateway-helm-chart sets app.kubernetes.io/name from the chart name, which is currently gateway (Chart.yaml). This value is too generic: in any cluster also running Envoy Gateway, Istio, NGINX, etc., a selector like -l app.kubernetes.io/name=gateway is ambiguous and risks collisions, and it is a weak application identity.
Proposed changes:
- Use a distinctive
app.kubernetes.io/name, e.g.apip-gateway— aligns with the existingAPIP_/APIP_GW_config prefix and stays parallel to the siblingevent-gatewaychart. - Add
app.kubernetes.io/part-of: wso2-api-platformto the standard label set so the WSO2/product grouping is recorded in the conventionally-correct label (vendor/product belongs inpart-of, notname).
Considerations:
app.kubernetes.io/nameis also a selector label (used ingateway-operator.selectorLabels), so it is immutable on existing releases — this should be decided before GA, as changing it later requires uninstall/reinstall.- The chart name and the label are coupled (the label defaults to
.Chart.Name). Renaming the chart inChart.yamlalso changes the published OCI artifact name and resource-name prefix. If only the label should change, set the default vianameOverrideand leaveChart.yamlas is.
Version
No response
Related Issue
#2179
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the gateway-helm-chart Chart.yaml and the gateway-operator.selectorLabels usage to trace how the chart name supplies app.kubernetes.io/name. Compare the sibling event-gateway chart and decide whether a nameOverride preserves the chart and OCI artifact names. Done means the gateway uses a distinctive name and includes app.kubernetes.io/part-of: wso2-api-platform without breaking immutable selectors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100