Skip to content

Commit 87a0be6

Browse files
authored
Merge pull request #172 from tv2-oss/feature/aws-crossplane-private-gatewayclass
Add aws crossplane private gatewayclass
2 parents 1de0d35 + 3eaaf8b commit 87a0be6

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

blueprints/aws-alb-crossplane/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the Istio ingress gateway.
2424
This definition is provided in the following files:
2525

2626
- [`gatewayclassblueprint-aws-alb-crossplane.yaml`](gatewayclassblueprint-aws-alb-crossplane.yaml) blueprint for infrastructure implementation
27-
- [`gatewayclass-aws-alb-crossplane.yaml`](gatewayclass-aws-alb-crossplane.yaml) definitions of `GatewayClass`es referencing the above `GatewayClassBlueprint`. Two `GatewayClass`es are created, one that is intended for internet exposed gateways, and one for non internet exposed gateways.
27+
- [`gatewayclass-aws-alb-crossplane.yaml`](gatewayclass-aws-alb-crossplane.yaml) definitions of `GatewayClass`es referencing the above `GatewayClassBlueprint`. Three `GatewayClass`es are created, one that is intended for internet exposed gateways (`public`), one for internet exposed gateways but access limited by e.g. ACLs (`private`) and one for non internet exposed gateways (`internal`).
2828
- [`gatewayclassconfig-aws-alb-crossplane-dev-env.yaml`](../../test-data/gatewayclassconfig-aws-alb-crossplane-dev-env.yaml) example settings for the two `GatewayClass`es defined in `gatewayclass-aws-alb-crossplane.yaml`, i.e. with different subnet settings for the internet-exposed and non internet-exposed `GatewayClass'es.
2929
- [`gatewayclassblueprint-crossplane-aws-alb-values.yaml`](../../charts/bifrost-gateway-controller/ci/gatewayclassblueprint-crossplane-aws-alb-values.yaml)
3030
RBAC for bifrost-gateway-controller Helm deployment suited for the `aws-alb-crossplane` blueprint.

blueprints/aws-alb-crossplane/gatewayclass-aws-alb-crossplane.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# The naming convention is:
2+
# public - for internet exposed gateways
3+
# private - for internet exposed gateways but access limited by e.g. ACLs
4+
# internal - for non internet exposed gateways
15
apiVersion: gateway.networking.k8s.io/v1beta1
26
kind: GatewayClass
37
metadata:
@@ -21,3 +25,16 @@ spec:
2125
group: gateway.tv2.dk
2226
kind: GatewayClassBlueprint
2327
name: aws-alb-crossplane
28+
---
29+
# This 'private' GatewayClass will need additional attached policies to limit access
30+
apiVersion: gateway.networking.k8s.io/v1beta1
31+
kind: GatewayClass
32+
metadata:
33+
name: aws-alb-crossplane-private
34+
spec:
35+
controllerName: "github.com/tv2-oss/bifrost-gateway-controller"
36+
description: "Private AWS ALB and Istio ingress gateway"
37+
parametersRef:
38+
group: gateway.tv2.dk
39+
kind: GatewayClassBlueprint
40+
name: aws-alb-crossplane

0 commit comments

Comments
 (0)