Skip to content

fix: security policy reference grant from field type#3386

Merged
arkodg merged 1 commit intoenvoyproxy:mainfrom
eguzki:fix-security-policy-reference-grant-requirement
May 14, 2024
Merged

fix: security policy reference grant from field type#3386
arkodg merged 1 commit intoenvoyproxy:mainfrom
eguzki:fix-security-policy-reference-grant-requirement

Conversation

@eguzki
Copy link
Copy Markdown
Contributor

@eguzki eguzki commented May 13, 2024

What type of PR is this?
fix: security policy reference grant from field type

What this PR does / why we need it:
When creating a SecurityPolicy in a different namespace than the targeted service, the controller expects a ReferenceGrant resource with an entry in the from field of the type HTTPRoute.

spec:
  from:
  - group: gateway.networking.k8s.io
    kind: HTTPRoute
    namespace: envoy-gateway-system

That resource does not even exist in our tests because the HTTPRoute lives in other namespace. But the securitypolicy only works if we add that entry.

This PR fixes that and requires the existence of a referencegrant with a securitypolicy type in the from field.

Which issue(s) this PR fixes:
Not created any issue. Just submitting the fix.

@eguzki eguzki requested a review from a team as a code owner May 13, 2024 14:41
@eguzki
Copy link
Copy Markdown
Contributor Author

eguzki commented May 13, 2024

There is one test failing TestGatewayAPIConformance/GatewayModifyListeners

--- FAIL: TestGatewayAPIConformance/GatewayModifyListeners (65.11s)
2024-05-13T14:55:49.1816693Z         --- FAIL: TestGatewayAPIConformance/GatewayModifyListeners/should_be_able_to_add_a_listener_that_then_becomes_available_for_routing_traffic (64.03s)
Details
2024-05-13T14:52:54.7532843Z === RUN   TestGatewayAPIConformance/GatewayModifyListeners/should_be_able_to_add_a_listener_that_then_becomes_available_for_routing_traffic
2024-05-13T14:52:54.7577978Z     helpers.go:217: 2024-05-13T14:52:54.757530542Z: Gateway gateway-conformance-infra/gateway-add-listener expected observedGeneration to be updated to 1 for all conditions, only 0/2 were updated. stale conditions are: Accepted (generation 0), Programmed (generation 0)
2024-05-13T14:52:55.7611239Z     helpers.go:228: 2024-05-13T14:52:55.760671566Z: Programmed condition set to Status False with Reason NoResources, expected Status True
2024-05-13T14:52:55.7623330Z     helpers.go:228: 2024-05-13T14:52:55.761356135Z: Programmed was not in conditions list [[{Accepted True 1 2024-05-13 14:52:54 +0000 UTC Accepted The Gateway has been scheduled by Envoy Gateway} {Programmed False 1 2024-05-13 14:52:55 +0000 UTC NoResources Deployment replicas unavailable}]]
2024-05-13T14:52:55.7626726Z     helpers.go:229: 2024-05-13T14:52:55.761471282Z: gateway-conformance-infra/gateway-add-listener Gateway not Programmed yet
2024-05-13T14:52:56.7589848Z     helpers.go:228: 2024-05-13T14:52:56.758626132Z: Programmed condition set to Status False with Reason NoResources, expected Status True
2024-05-13T14:52:56.7592389Z     helpers.go:228: 2024-05-13T14:52:56.758655828Z: Programmed was not in conditions list [[{Accepted True 1 2024-05-13 14:52:54 +0000 UTC Accepted The Gateway has been scheduled by Envoy Gateway} {Programmed False 1 2024-05-13 14:52:55 +0000 UTC NoResources Deployment replicas unavailable}]]
2024-05-13T14:52:56.7594296Z     helpers.go:229: 2024-05-13T14:52:56.758679763Z: gateway-conformance-infra/gateway-add-listener Gateway not Programmed yet
2024-05-13T14:52:57.7633218Z     helpers.go:248: 2024-05-13T14:52:57.762992522Z: Gateways and Pods in gateway-conformance-infra namespaces ready
2024-05-13T14:52:57.7812916Z     helpers.go:217: 2024-05-13T14:52:57.780940992Z: Gateway gateway-conformance-infra/gateway-add-listener expected observedGeneration to be updated to 2 for all conditions, only 0/2 were updated. stale conditions are: Accepted (generation 1), Programmed (generation 1)
2024-05-13T14:52:58.7814639Z     helpers.go:248: 2024-05-13T14:52:58.781147514Z: Gateways and Pods in gateway-conformance-infra namespaces ready
2024-05-13T14:52:58.7833454Z     helpers.go:716: 2024-05-13T14:52:58.783163145Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:52:59.7843140Z     helpers.go:716: 2024-05-13T14:52:59.784078854Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:00.7843661Z     helpers.go:716: 2024-05-13T14:53:00.784133208Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:01.7839597Z     helpers.go:716: 2024-05-13T14:53:01.783730261Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:02.7843591Z     helpers.go:716: 2024-05-13T14:53:02.784133063Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:03.7841094Z     helpers.go:716: 2024-05-13T14:53:03.78387658Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:04.7842043Z     helpers.go:716: 2024-05-13T14:53:04.783969625Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:05.7840590Z     helpers.go:716: 2024-05-13T14:53:05.783796472Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:06.7841304Z     helpers.go:716: 2024-05-13T14:53:06.783879873Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:07.7838542Z     helpers.go:716: 2024-05-13T14:53:07.783580321Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:08.7840687Z     helpers.go:716: 2024-05-13T14:53:08.783817275Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:09.7836809Z     helpers.go:716: 2024-05-13T14:53:09.783459928Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:10.7837647Z     helpers.go:716: 2024-05-13T14:53:10.783527481Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:11.7839616Z     helpers.go:716: 2024-05-13T14:53:11.783739655Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:12.7839487Z     helpers.go:716: 2024-05-13T14:53:12.78367248Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:13.7842430Z     helpers.go:716: 2024-05-13T14:53:13.783989333Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:14.7839111Z     helpers.go:716: 2024-05-13T14:53:14.783681544Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:15.7838910Z     helpers.go:716: 2024-05-13T14:53:15.783637497Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:16.7840392Z     helpers.go:716: 2024-05-13T14:53:16.783782457Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:17.7840238Z     helpers.go:716: 2024-05-13T14:53:17.783779217Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:18.7839193Z     helpers.go:716: 2024-05-13T14:53:18.783663866Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:19.7838341Z     helpers.go:716: 2024-05-13T14:53:19.783613328Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:20.7838231Z     helpers.go:716: 2024-05-13T14:53:20.783589531Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:21.7836820Z     helpers.go:716: 2024-05-13T14:53:21.783444089Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:22.7838281Z     helpers.go:716: 2024-05-13T14:53:22.783583939Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:23.7836453Z     helpers.go:716: 2024-05-13T14:53:23.78340513Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:24.7848497Z     helpers.go:716: 2024-05-13T14:53:24.784596065Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:25.7838674Z     helpers.go:716: 2024-05-13T14:53:25.783637247Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:26.7839508Z     helpers.go:716: 2024-05-13T14:53:26.783729646Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:27.7841705Z     helpers.go:716: 2024-05-13T14:53:27.783936709Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:28.7844397Z     helpers.go:716: 2024-05-13T14:53:28.783873559Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:29.7838865Z     helpers.go:716: 2024-05-13T14:53:29.78368193Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:30.7844081Z     helpers.go:716: 2024-05-13T14:53:30.784076471Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:31.7838341Z     helpers.go:716: 2024-05-13T14:53:31.783572832Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:32.7840623Z     helpers.go:716: 2024-05-13T14:53:32.783762068Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:33.7837037Z     helpers.go:716: 2024-05-13T14:53:33.783455878Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:34.7837446Z     helpers.go:716: 2024-05-13T14:53:34.783518319Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:35.7837646Z     helpers.go:716: 2024-05-13T14:53:35.783519472Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:36.7838740Z     helpers.go:716: 2024-05-13T14:53:36.783643408Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:37.7839468Z     helpers.go:716: 2024-05-13T14:53:37.783690608Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:38.7841602Z     helpers.go:716: 2024-05-13T14:53:38.783928049Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:39.7836817Z     helpers.go:716: 2024-05-13T14:53:39.783479156Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:40.7838299Z     helpers.go:716: 2024-05-13T14:53:40.783564226Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:41.7838984Z     helpers.go:716: 2024-05-13T14:53:41.78365499Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:42.7840529Z     helpers.go:716: 2024-05-13T14:53:42.783805595Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:43.7844461Z     helpers.go:716: 2024-05-13T14:53:43.78422214Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:44.7838585Z     helpers.go:716: 2024-05-13T14:53:44.783605563Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:45.7846753Z     helpers.go:716: 2024-05-13T14:53:45.784436562Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:46.7842228Z     helpers.go:716: 2024-05-13T14:53:46.783954475Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:47.7841840Z     helpers.go:716: 2024-05-13T14:53:47.783927821Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:48.7838932Z     helpers.go:716: 2024-05-13T14:53:48.783651676Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:49.7836952Z     helpers.go:716: 2024-05-13T14:53:49.783456156Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:50.7840338Z     helpers.go:716: 2024-05-13T14:53:50.783788217Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:51.7840815Z     helpers.go:716: 2024-05-13T14:53:51.783843051Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:52.7839314Z     helpers.go:716: 2024-05-13T14:53:52.783666708Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:53.7836079Z     helpers.go:716: 2024-05-13T14:53:53.783357743Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:54.7838959Z     helpers.go:716: 2024-05-13T14:53:54.783653305Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:55.7841418Z     helpers.go:716: 2024-05-13T14:53:55.783861012Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:56.7837055Z     helpers.go:716: 2024-05-13T14:53:56.783476445Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:57.7845248Z     helpers.go:716: 2024-05-13T14:53:57.784298789Z: Expected 2 Gateway status listeners, got 1
2024-05-13T14:53:58.7823768Z     gateway-modify-listeners.go:125: 
2024-05-13T14:53:58.7825816Z         	Error Trace:	/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/utils/kubernetes/helpers.go:718
2024-05-13T14:53:58.7828908Z         	            				/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/tests/gateway-modify-listeners.go:125
2024-05-13T14:53:58.7830547Z         	Error:      	Received unexpected error:
2024-05-13T14:53:58.7834966Z         	            	error fetching Gateway: client rate limiter Wait returned an error: context deadline exceeded
2024-05-13T14:53:58.7837230Z         	Test:       	TestGatewayAPIConformance/GatewayModifyListeners/should_be_able_to_add_a_listener_that_then_becomes_available_for_routing_traffic
2024-05-13T14:53:58.7839171Z         	Messages:   	error waiting for Gateway status to have listeners matching expectations

IMHO it does not have anything to do with the changes in this PR, mainly because the tests passed for k8s 1.28 and 1.27, but not for 1.29. But, correct me if I am wrong, please.

Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks !

relates to #3322

@arkodg arkodg requested review from a team May 13, 2024 19:28
Copy link
Copy Markdown
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@arkodg arkodg merged commit bd72474 into envoyproxy:main May 14, 2024
@eguzki eguzki deleted the fix-security-policy-reference-grant-requirement branch May 14, 2024 07:44
arkodg pushed a commit to arkodg/gateway that referenced this pull request Jun 11, 2024
fix: security policy reference grant from field

Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
(cherry picked from commit bd72474)
Signed-off-by: Arko Dasgupta <[email protected]>
arkodg pushed a commit to arkodg/gateway that referenced this pull request Jun 12, 2024
fix: security policy reference grant from field

Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
(cherry picked from commit bd72474)
Signed-off-by: Arko Dasgupta <[email protected]>
Xunzhuo pushed a commit that referenced this pull request Jun 12, 2024
* Use <proto>-<port> for naming service and container ports (#3130)

* Use <proto>-<port> for naming service and container ports

Takes inspiration from #2973
to name port, not off the listener but off the port-proto ensuring
that patch (during updates) also works

Fixes: #3111

Signed-off-by: Arko Dasgupta <[email protected]>

* testdata

Signed-off-by: Arko Dasgupta <[email protected]>

* fix test

Signed-off-by: Arko Dasgupta <[email protected]>

* move to helper pkg

Signed-off-by: Arko Dasgupta <[email protected]>

* fix e2e

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

* fix e2e

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit c41247b)
Signed-off-by: Arko Dasgupta <[email protected]>

* bug: Tests are failing due to an expired certificate in one of the translator tests (#3476)

Replaced a certificate in the test that had expired.

The old certificate expired May 24 2024:

Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            ca:7c:5c:b7:25:5d:bb:f9
        Signature Algorithm: ecdsa-with-SHA256
        Issuer: CN=test.example.com
        Validity
            Not Before: May 25 14:10:42 2023 GMT
            Not After : May 24 14:10:42 2024 GMT
        Subject: CN=test.example.com
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (384 bit)
                pub:
                    04:78:cb:47:0b:78:48:7a:ad:90:b1:d9:2d:4a:2f:
                    d9:35:1f:cc:28:d6:af:4a:6d:c7:36:7e:ed:1a:88:
                    1f:a9:aa:a7:f0:04:a0:1c:86:bb:c9:45:3e:f8:fb:
                    28:0c:3e:a4:7f:ef:82:7b:bb:ac:77:49:90:3b:54:
                    a7:75:82:16:8f:64:0b:88:8c:f4:35:91:fc:07:f4:
                    2b:e2:2e:c9:d0:82:b0:b1:09:54:9e:e9:d9:aa:fe:
                    4a:63:d4:cb:41:ad:27
                ASN1 OID: secp384r1
                NIST CURVE: P-384
    Signature Algorithm: ecdsa-with-SHA256
    Signature Value:
        30:65:02:31:00:86:4e:33:e4:86:37:4c:26:a7:be:57:51:44:
        8e:6c:88:ea:3c:03:58:00:a3:5e:7a:53:9e:2c:54:b3:ab:82:
        25:fe:4c:e4:be:4d:8c:56:e2:da:d8:de:d2:20:ca:13:55:02:
        30:0c:2a:27:a7:fd:2b:a9:87:4f:06:ea:4e:2d:cc:48:4d:9d:
        d7:cf:73:88:6d:98:54:18:83:6d:e5:a9:c3:84:75:c9:ee:c6:
        0d:1a:15:a2:8c:68:86:88:83:17:b9:7a:9b

The new certificate is good for 10 years.

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            42:29:94:01:e1:cb:32:dc:f8:b4:64:6d:9e:1e:28:8d:7b:5a:53:3b
        Signature Algorithm: ecdsa-with-SHA256
        Issuer: CN=test.example.com
        Validity
            Not Before: May 25 09:11:37 2024 GMT
            Not After : May 23 09:11:37 2034 GMT
        Subject: CN=test.example.com
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (384 bit)
                pub:
                    04:78:cb:47:0b:78:48:7a:ad:90:b1:d9:2d:4a:2f:
                    d9:35:1f:cc:28:d6:af:4a:6d:c7:36:7e:ed:1a:88:
                    1f:a9:aa:a7:f0:04:a0:1c:86:bb:c9:45:3e:f8:fb:
                    28:0c:3e:a4:7f:ef:82:7b:bb:ac:77:49:90:3b:54:
                    a7:75:82:16:8f:64:0b:88:8c:f4:35:91:fc:07:f4:
                    2b:e2:2e:c9:d0:82:b0:b1:09:54:9e:e9:d9:aa:fe:
                    4a:63:d4:cb:41:ad:27
                ASN1 OID: secp384r1
                NIST CURVE: P-384
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                DA:49:EA:13:99:CA:DE:10:D2:70:2B:27:E2:60:AA:E0:F4:7B:EA:50
            X509v3 Authority Key Identifier:
                DA:49:EA:13:99:CA:DE:10:D2:70:2B:27:E2:60:AA:E0:F4:7B:EA:50
            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: ecdsa-with-SHA256
    Signature Value:
        30:65:02:30:6d:4e:25:4f:84:f4:38:7e:c4:de:c8:d1:55:0c:
        af:4b:e4:c0:a1:f3:59:de:fb:48:0a:96:07:65:29:9f:fe:7c:
        3c:ee:f0:c9:ca:17:bc:cd:bd:a4:31:38:24:4f:c6:e5:02:31:
        00:e6:9a:ce:52:60:4b:b8:0e:e7:23:6d:8a:69:a0:21:e5:d1:
        bb:e8:e9:09:6a:32:d6:8c:58:49:f4:76:86:e6:c1:b8:24:d3:
        44:08:fa:1c:ef:34:70:c1:24:76:a9:35:8f

Signed-off-by: Lior Okman <[email protected]>
(cherry picked from commit c2c9b43)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix: use Patch API for infra-client (#3034)

* fix(infrastructure): use Patch API instead

Signed-off-by: Ardika Bagus <[email protected]>

* chore: add interceptor for ApplyPatch on fake client

Signed-off-by: Ardika Bagus <[email protected]>

* chore: trigger make generate

Signed-off-by: Ardika Bagus <[email protected]>

* chore: remove update verb

Signed-off-by: Ardika Bagus <[email protected]>

* chore: SetUID no longer needed

Signed-off-by: Ardika Bagus <[email protected]>

---------

Signed-off-by: Ardika Bagus <[email protected]>
(cherry picked from commit cc01bf5)
Signed-off-by: Arko Dasgupta <[email protected]>

* refactor: infra client CreateOrUpdate to ServerSideApply (#3134)

* refactor(infra-client): CreateOrUpdate to ServerSideApply

Signed-off-by: Ardika Bagus <[email protected]>

* test(infra-client): add e2e test for ServerSideApply

Signed-off-by: Ardika Bagus <[email protected]>

* chore: remove comment

Signed-off-by: Ardika Bagus <[email protected]>

* chore: fix linter

Signed-off-by: Ardika Bagus <[email protected]>

---------

Signed-off-by: Ardika Bagus <[email protected]>
(cherry picked from commit 81108f2)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix: duplicated xroutes are added to gatewayapi.Resources (#3282)

fix duplicated xroutes

Signed-off-by: Dingkang Li <[email protected]>
(cherry picked from commit 32c6876)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix: add proxy protocol always as first listenerFilter (#3332)

* add proxy protocol always as first listenerFilter

Signed-off-by: Jesse Haka <[email protected]>

* add test

Signed-off-by: Jesse Haka <[email protected]>

---------

Signed-off-by: Jesse Haka <[email protected]>
(cherry picked from commit 6d8f2dc)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix: security policy reference grant from field type (#3386)

fix: security policy reference grant from field

Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
(cherry picked from commit bd72474)
Signed-off-by: Arko Dasgupta <[email protected]>

* bug: Route extension filters with different types but the same name and namespace aren't correctly cached (#3388)

* Route extension filters are unstructured.Unstructured instances, so
caching them should be done with both the name and type as a key.

Signed-off-by: Lior Okman <[email protected]>

* Moved NamespacedNameAndType to the Kubernetes helpers, and renamed it to
be clearer about what it has.

Signed-off-by: Lior Okman <[email protected]>

* Also renamed the helper function.

Signed-off-by: Lior Okman <[email protected]>

* Moved to the 'utils' package to be beside NamespacedName.

Signed-off-by: Lior Okman <[email protected]>

* Renamed structure according to review, and updated the comments

Signed-off-by: Lior Okman <[email protected]>

---------

Signed-off-by: Lior Okman <[email protected]>
(cherry picked from commit 95e2e35)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix(translator): set ignoreCase for header matchers in extAuth (#3420)

fix: set ignoreCase for header matchers in extAuth

Signed-off-by: haoqixu <[email protected]>
(cherry picked from commit 8206e11)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix secrets/configmap updates do not trigger a controller reconcile (#3499)

* ensure both secrets and config map reconcile upon changes

ensure secret/config map changes trigger a reconcile

Signed-off-by: Alex Volchok <[email protected]>

* Update controller.go

Signed-off-by: Alex Volchok <[email protected]>

* Update controller.go

Signed-off-by: Alex Volchok <[email protected]>

---------

Signed-off-by: Alex Volchok <[email protected]>
(cherry picked from commit ff2c598)
Signed-off-by: Arko Dasgupta <[email protected]>

* feat: backend TLS SAN validation (#3507)

* BTLS: enforce SAN validation

Signed-off-by: Guy Daich <[email protected]>

* use dedicated cert for ext-proc e2e test

Signed-off-by: Guy Daich <[email protected]>

* fix ext-proc server client tls settings

Signed-off-by: Guy Daich <[email protected]>

---------

Signed-off-by: Guy Daich <[email protected]>
(cherry picked from commit dc201ba)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix: ReplaceFullPath not working for root path (/) (#3530)

* fix: ReplaceFullPath not working for root path (/)

Takes #2817 forward

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 8f83c3d)
Signed-off-by: Arko Dasgupta <[email protected]>

* chore: Remove namespace restriction for EnvoyProxy parametersRef reso… (#3544)

chore: Remove namespace restriction for EnvoyProxy parametersRef resource
(cherry picked from commit b870e39)
Signed-off-by: Arko Dasgupta <[email protected]>

* fix test

rm invalid diff related to #3134

Signed-off-by: Arko Dasgupta <[email protected]>

* fix GatewayInfraResourceTest

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Lior Okman <[email protected]>
Signed-off-by: Ardika Bagus <[email protected]>
Signed-off-by: Dingkang Li <[email protected]>
Signed-off-by: Jesse Haka <[email protected]>
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
Signed-off-by: haoqixu <[email protected]>
Signed-off-by: Alex Volchok <[email protected]>
Signed-off-by: Guy Daich <[email protected]>
Co-authored-by: Lior Okman <[email protected]>
Co-authored-by: Ardika <[email protected]>
Co-authored-by: Dingkang Li <[email protected]>
Co-authored-by: Jesse Haka <[email protected]>
Co-authored-by: Eguzki Astiz Lezaun <[email protected]>
Co-authored-by: xu0o0 <[email protected]>
Co-authored-by: Alex Volchok <[email protected]>
Co-authored-by: Guy Daich <[email protected]>
Co-authored-by: zou rui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants