envoyproxy/gateway

Reconcile immutable fields for `Service` objects created

Open

#1844 aperta il 29 ago 2023

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)Go (802 fork)auto 404
area/apiarea/infra-mgrhelp wantedkind/enhancement

Metriche repository

Star
 (2871 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Description:

When changes are made to fields such as loadBalancerClass, they can only be realized by deleting and recreating the Service object.

Other operators that handle these kinds of things do so with force flag so that the user knowingly opts in to this destructive behavior.

apiVersion: config.gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
  ...
spec:
  provider:
    type: Kubernetes
    kubernetes:
      ...
      envoyService:
        force: true # force reconciliation by delete/create

Related Issues:

https://github.com/envoyproxy/gateway/pull/1840 https://github.com/envoyproxy/gateway/issues/1818

Guida contributor