Before completing T428625, we have discussed the prospect of renaming this chart. We rename charts very rarely, so there is no standardised procedure.
Proposed steps:
- Rename the chart directory
- Update Chart.yaml accordingly
- Update helmfile.d/services/rest-gateway/helmfile.yaml
- Find and fix any remaining references
The complication is the Service resource name, which is currently the concatenation of chart name and release name (api-gateway-main).
Since a NodePort is involved, Helm will try to create the new Service before deleting the old one, and that fails because two Services cannot claim the same port.
The workaround used previously is, per environment:
- Depool
- Destroy and recreate the release
- Pool
See Kubernetes/Deployments#Release breaking changes.
Thank you @Scott_French for coming up with this!