You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blueprints/aws-alb-crossplane/README.md
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ This definition is provided in the following files:
25
25
26
26
-[`gatewayclassblueprint-aws-alb-crossplane.yaml`](gatewayclassblueprint-aws-alb-crossplane.yaml) blueprint for infrastructure implementation
27
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`).
28
-
-[`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.
28
+
-[`gatewayclassconfig-aws-alb-crossplane-dev-env.yaml`](../../test-data/gatewayclassconfig-aws-alb-crossplane-dev-env.yaml) example settings for the three`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.
(*) In Istio [1.17.0 Gateway naming convention was changed](https://istio.io/latest/news/releases/1.17.x/announcing-1.17/change-notes/) to be a concatenation of Gateway `Name` and `GatewayClass`.
45
49
46
50
## Testing AWS/Crossplane/Istio Blueprint
47
51
@@ -55,6 +59,17 @@ version of the dependencies.
55
59
- IAM role for AWS load balancer controller (see make target `deploy-aws-load-balancer-controller`)
56
60
- A TLS certificate and associated domain name (see below).
57
61
62
+
Specifically these environment variables should be provided:
63
+
64
+
```
65
+
export CLUSTERNAME=
66
+
export AWS_LOAD_BALANCER_CONTROLLER_IAM_ROLE_ARN=
67
+
export CROSSPLANE_INITIAL_IAM_ROLE_ARN=
68
+
export CROSSPLANE_IAM_ROLE_ARN=
69
+
export DOMAIN=
70
+
export CERTIFICATE_ARN=
71
+
```
72
+
58
73
### Deploying Dependencies
59
74
60
75
Deploy dependencies with the make targets shown below. Version information can be left out to use default versions:
@@ -64,8 +79,8 @@ make deploy-gateway-api
64
79
make deploy-aws-load-balancer-controller-crds
65
80
AWS_LOAD_BALANCER_CONTROLLER_CHART_VERSION=v1.4.6 make deploy-aws-load-balancer-controller
66
81
CROSSPLANE_VERSION=v1.11.0 make deploy-crossplane
67
-
CROSSPLANE_AWS_PROVIDER_VERSION=v0.28.0 make deploy-crossplane-aws-provider
68
-
ISTIO_VERSION=1.16.1 make deploy-istio
82
+
CROSSPLANE_AWS_PROVIDER_VERSION=v0.33.0 make deploy-crossplane-aws-provider
83
+
ISTIO_VERSION=1.17.2 make deploy-istio
69
84
```
70
85
71
86
Deploy controller and blueprint:
@@ -84,16 +99,18 @@ specific, this guide does not describe how to prepare it. Additionally,
84
99
a namespace-default `GatewayClassConfig` may be needed:
85
100
86
101
```bash
87
-
CERTIFICATE_ARN=some-arn-for-foo.example.com make deploy-namespace-gatewayclassconfig
102
+
make deploy-namespace-gatewayclassconfig
88
103
```
89
104
90
105
Deploy the getting-started use-case:
91
106
92
107
```bash
93
-
GATEWAY_CLASS_NAME=aws-alb-crossplane-public DOMAIN=foo.example.com make deploy-getting-started-usecase
108
+
GATEWAY_CLASS_NAME=aws-alb-crossplane-public make deploy-getting-started-usecase
94
109
```
95
110
96
-
Test the deployed data-path when resources are ready:
111
+
Test the deployed data-path when resources are ready (use
112
+
e.g. `hack/demo/show-resources.sh` to observe status). Particularly
113
+
watch for an address on `foo-gateway`.
97
114
98
115
```bash
99
116
hack/demo/curl.sh $DOMAIN# Where DOMAIN is as defined above
0 commit comments