diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.in.yaml index e60a26980185..d562b1c7e1e3 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.in.yaml @@ -56,9 +56,9 @@ securityPolicies: extAuth: http: backendRefs: - - name: http-backend - namespace: default - port: 80 + - name: http-backend + namespace: default + port: 80 headersToBackend: - header1 - header2 diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.in.yaml index b9318bb5538d..3f743d180672 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.in.yaml @@ -56,8 +56,8 @@ securityPolicies: extAuth: http: backendRefs: - - name: http-backend - namespace: default + - name: http-backend + namespace: default headersToBackend: - header1 - header2 diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.in.yaml index 33d4423f4868..06cb843241b5 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.in.yaml @@ -56,9 +56,9 @@ securityPolicies: extAuth: http: backendRefs: - - name: http-backend - namespace: envoy-gateway - port: 80 + - name: http-backend + namespace: envoy-gateway + port: 80 headersToBackend: - header1 - header2 diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.in.yaml index 9c9d8e8a840a..e47a1b0f5270 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.in.yaml @@ -47,9 +47,9 @@ securityPolicies: extAuth: http: backendRefs: - - name: http-backend - namespace: default - port: 80 + - name: http-backend + namespace: default + port: 80 headersToBackend: - header1 - header2 diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.in.yaml index 75ac0af41976..d2aee51b27e0 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.in.yaml @@ -198,9 +198,9 @@ securityPolicies: extAuth: http: backendRefs: - - Name: http-backend - Namespace: envoy-gateway - Port: 80 + - Name: http-backend + Namespace: envoy-gateway + Port: 80 Path: /auth headersToBackend: - header1 @@ -222,6 +222,6 @@ securityPolicies: - header2 grpc: backendRefs: - - name: grpc-backend - port: 9000 + - name: grpc-backend + port: 9000 failOpen: true diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth.in.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth.in.yaml index 0421cb7b45b1..ada3900ed60c 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth.in.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth.in.yaml @@ -126,7 +126,7 @@ referenceGrants: kind: SecurityPolicy namespace: default to: - - group: '' + - group: "" kind: Service securityPolicies: - apiVersion: gateway.envoyproxy.io/v1alpha1 @@ -146,13 +146,14 @@ securityPolicies: - header2 grpc: backendRefs: - - name: grpc-backend - port: 9000 + - name: grpc-backend + port: 9000 - apiVersion: gateway.envoyproxy.io/v1alpha1 kind: SecurityPolicy metadata: namespace: default - name: policy-for-gateway-1 # This will only apply to the httproute-2 + # This will only apply to the httproute-2 + name: policy-for-gateway-1 spec: targetRef: group: gateway.networking.k8s.io @@ -162,9 +163,9 @@ securityPolicies: failOpen: false http: backendRefs: - - Name: http-backend - Namespace: envoy-gateway - Port: 80 + - Name: http-backend + Namespace: envoy-gateway + Port: 80 Path: /auth headersToBackend: - header1