Skip to content

Commit

Permalink
feat(helm): add MeshGatewayConfig with crossMesh: true
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont committed Oct 20, 2022
1 parent b635e88 commit 1bd27a9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2720,9 +2720,27 @@ spec:
apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
name: kuma
name: kuma
spec:
controllerName: "gateways.kuma.io/controller"
controllerName: "gateways.kuma.io/controller"
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
name: kuma-cross-mesh
spec:
controllerName: "gateways.kuma.io/controller"
parametersRef:
group: kuma.io/v1alpha1
kind: MeshGatewayConfig
name: default-cross-mesh
---
apiVersion: kuma.io/v1alpha1
kind: MeshGatewayConfig
metadata:
name: default-cross-mesh
spec:
crossMesh: true
---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
Expand Down
22 changes: 20 additions & 2 deletions deployments/charts/kuma/templates/gateway-class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@
apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
name: kuma
name: kuma
spec:
controllerName: "gateways.kuma.io/controller"
controllerName: "gateways.kuma.io/controller"
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
name: kuma-cross-mesh
spec:
controllerName: "gateways.kuma.io/controller"
parametersRef:
group: kuma.io/v1alpha1
kind: MeshGatewayConfig
name: default-cross-mesh
---
apiVersion: kuma.io/v1alpha1
kind: MeshGatewayConfig
metadata:
name: default-cross-mesh
spec:
crossMesh: true
{{- end }}

0 comments on commit 1bd27a9

Please sign in to comment.