We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The change is applied on DataPlane object but isn't transferred to Service.
Update of externalTrafficPolicy will be possible
helm repo add kong https://charts.konghq.com helm repo update helm install kong-gtw-operator kong/gateway-operator --version 0.2.3
--- kind: Gateway apiVersion: gateway.networking.k8s.io/v1 metadata: name: kong spec: gatewayClassName: kong listeners: - allowedRoutes: namespaces: from: All name: http port: 80 protocol: HTTP --- kind: GatewayClass apiVersion: gateway.networking.k8s.io/v1 metadata: name: kong spec: controllerName: konghq.com/gateway-operator parametersRef: group: gateway-operator.konghq.com kind: GatewayConfiguration name: kong namespace: "default" --- apiVersion: gateway-operator.konghq.com/v1beta1 kind: GatewayConfiguration metadata: name: kong spec: dataPlaneOptions: deployment: podTemplateSpec: spec: containers: - name: proxy imagePullPolicy: Always readinessProbe: initialDelaySeconds: 1 periodSeconds: 1 env: - name: KONG_NGINX_ADMIN_SSL_VERIFY_CLIENT value: "off" - name: KONG_ADMIN_LISTEN value: "0.0.0.0:8001, 0.0.0.0:8444 http2 ssl reuseport backlog=16384" - name: KONG_LOG_LEVEL value: "debug" - name: KONG_NGINX_HTTP_LOG_FORMAT value: "custom_format '$remote_addr - $remote_user [$time_local] \"$request\" $status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" $sent_http_HUB_Correlation_ID'" - name: KONG_NGINX_HTTP_PROXY_BUFFER_SIZE value: "256k" - name: KONG_NGINX_HTTP_PROXY_BUFFERS value: "16 128k" - name: KONG_NGINX_HTTP_PROXY_BUSY_BUFFERS_SIZE value: "256k" - name: KONG_NGINX_WORKER_PROCESSES value: "2" - name: KONG_OPENTELEMETRY_TRACING value: "all" - name: KONG_PLUGINS value: "bundled,session" - name: KONG_PROXY_ACCESS_LOG value: "/dev/stdout custom_format" - name: KONG_PROXY_LISTEN value: "0.0.0.0:8000, 0.0.0.0:8443 http2 ssl" - name: KONG_TRACING_SAMPLING_RATE value: "1" ports: - containerPort: 8001 name: admin protocol: TCP replicas: 1 network: services: ingress: externalTrafficPolicy: Cluster type: LoadBalancer controlPlaneOptions: deployment: replicas: 1 podTemplateSpec: spec: containers: - name: controller env: - name: CONTROLLER_LOG_LEVEL value: info
kubectl apply -f gateway_objects.yaml
kubectl get dataplane -o template --template="{{ (index .items 0).spec.network.services.ingress.externalTrafficPolicy }}" kubectl get service --selector=gateway-operator.konghq.com/dataplane-service-type=ingress -o template --template '{{ (index .items 0).spec.externalTrafficPolicy }}'
kind: GatewayConfiguration spec: dataPlaneOptions: network: services: ingress: externalTrafficPolicy: Local
Operator: 1.3 Helm package: 0.2.3
kubectl version
Client Version: v1.28.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.28.2
The text was updated successfully, but these errors were encountered:
Hi @rkuccf 👋
This should be fixed in main via #750. You can try running nightly or 1.4 https://github.com/Kong/gateway-operator/releases/tag/v1.4.0
main
nightly
Sorry, something went wrong.
No branches or pull requests
Current Behavior
The change is applied on DataPlane object but isn't transferred to Service.
Expected Behavior
Update of externalTrafficPolicy will be possible
Steps To Reproduce
Operator Version
Operator: 1.3
Helm package: 0.2.3
kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2
The text was updated successfully, but these errors were encountered: