Migration: Steps needed between the versions
v3.0 to v3.1
Kubernetes Provider RBACs
Starting with v3.1, the Kubernetes Providers now use the EndpointSlices API (Kubernetes >=v1.21) to discover service endpoint addresses.
Therefore, in the corresponding RBACs (see KubernetesIngress, KubernetesCRD, and KubernetesGateway provider RBACs), the endpoints
right has to be removed and the following endpointslices
right has to be added.
...
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
...
Gateway API: KubernetesGateway Provider
In v3.1, the KubernetesGateway Provider is no longer an experimental feature. It can be enabled without the associated experimental.kubernetesgateway
option, which is now deprecated.
An example of the experimental kubernetesgateway
option
File (YAML)
experimental:
kubernetesgateway: true
File (TOML)
[experimental]
kubernetesgateway=true
CLI
--experimental.kubernetesgateway=true
Remediation
The kubernetesgateway
option should be removed from the experimental section of the static configuration. To configure kubernetesgateway
, please check out the KubernetesGateway Provider documentation.