-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport commits to release/3.1.x (#5665)
* feat: managed gateways config pushed when accepted (#5662) Signed-off-by: Mattia Lavacca <[email protected]> * fix(controllers) skip routes bound to excluded GWs (#5642) In single-Gateway mode, properly skip route parent references for other Gateways when determining whether to include a route. * chore: generate validating webhook config using controller-gen (#5659) * tests: port KongVault validation webhook tests to envtests (#5605) Co-authored-by: Patryk Małek <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> Co-authored-by: Travis Raines <[email protected]> Co-authored-by: Grzegorz Burzyński <[email protected]> Co-authored-by: Patryk Małek <[email protected]>
- Loading branch information
1 parent
fcc24cb
commit fc60603
Showing
18 changed files
with
832 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
--- | ||
apiVersion: admissionregistration.k8s.io/v1 | ||
kind: ValidatingWebhookConfiguration | ||
metadata: | ||
name: validating-webhook-configuration | ||
webhooks: | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: gateways.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- gateway.networking.k8s.io | ||
apiVersions: | ||
- v1 | ||
- v1beta1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- gateways | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: httproutes.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- gateway.networking.k8s.io | ||
apiVersions: | ||
- v1 | ||
- v1beta1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- httproutes | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: ingresses.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- networking.k8s.io | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- ingresses | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongclusterplugins.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- kongclusterplugins | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongconsumergroups.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1beta1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- kongconsumergroups | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongconsumers.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- kongconsumers | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongingresses.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- kongingresses | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongplugins.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- kongplugins | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: kongvaults.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- configuration.konghq.com | ||
apiVersions: | ||
- v1alpha1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- kongvaults | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: secrets.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- "" | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- secrets | ||
sideEffects: None | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
service: | ||
name: webhook-service | ||
namespace: system | ||
path: / | ||
failurePolicy: Fail | ||
matchPolicy: Equivalent | ||
name: services.validation.ingress-controller.konghq.com | ||
rules: | ||
- apiGroups: | ||
- "" | ||
apiVersions: | ||
- v1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE | ||
resources: | ||
- services | ||
sideEffects: None |
Oops, something went wrong.