emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
https://www.getambassador.io
Apache License 2.0
4.32k stars 683 forks source link

[BREAKING CHANGE] 4.x chart mod #5692

Closed kflynn closed 1 month ago

kflynn commented 1 month ago

https://github.com/emissary-ingress/emissary/pull/5691 needs to land before this.

Four significant changes here:

  1. Make the chart version match the image version.

This will appear to be a conflict with existing Emissary charts, but the 4.x charts and the older charts don't live in the same Helm repository, so it doesn't matter.

NOTE WELL: this may be something we need to change later, since right now a Helm-chart-only change will require making new binaries. The goal here is that releases get to be sufficiently lightweight that we don't care.

  1. Also, change the default naming so that we don't end with insane things like a Service named "emissary-ingress-emissary-chart-admin".

  2. Also, change the app.kubernetes.io/name annotation not to default to .Chart.Name -- https://helm.sh/docs/chart_best_practices/labels/ differentiates this from the helm.sh/chart annotation, so use Emissary's name for the app.kubernetes.io/name annotation.

  3. Ditch the a8r.io/* annotations that were left over from older Ambassador Cloud stuff.

Also, I cleaned up the chart README some. Holy crap that was out of date.