bjw-s / helm-charts

A collection of Helm charts
https://bjw-s.github.io/helm-charts/
Apache License 2.0
582 stars 106 forks source link

feat(common): Kubernetes Service - App Protocol support #226

Closed larivierec closed 10 months ago

larivierec commented 10 months ago

Description of the change

As this impacts the modification of "service" everyone that has services would be able to add this.

Allows users to specify the Application Protocol available since k8s 1.20. kubernetes.io/h2c -> http/2 over cleartext kubernetes.io/ws -> websocket kubernetes.io/wss -> websocket secure

are some examples

Added

Helm chart value appProtocol

Benefits

With Gateway APIs, it tells the Gateway APIs implementation (cilium) how to communicate with the application.

From K8s docs (App Protocol)[https://kubernetes.io/docs/concepts/services-networking/service/#application-protocol]

This is used as a hint for implementations to offer richer behavior for protocols that they understand. The value of this field is mirrored by the corresponding Endpoints and EndpointSlice objects.

Applicable issues

N/A

Additional information

Checklist