Skip to content

Commit 72ffb7b

Browse files
committed
Update Crossplane test to use aws provider family
1 parent e9b968c commit 72ffb7b

File tree

3 files changed

+37
-13
lines changed

3 files changed

+37
-13
lines changed

Makefile.local

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ delete-cluster:
7070
kind delete cluster --name kind-gwc-dev-cluster
7171

7272
#################
73-
ISTIO_VERSION ?= 1.17.2
73+
ISTIO_VERSION ?= 1.18.0
7474

7575
.PHONY: deploy-istio
7676
deploy-istio:
@@ -185,7 +185,7 @@ undeploy-aws-load-balancer-controller:
185185
helm uninstall -n kube-system aws-load-balancer-controller
186186

187187
#################
188-
CROSSPLANE_VERSION ?= v1.11.0
188+
CROSSPLANE_VERSION ?= v1.12.2
189189

190190
.PHONY: deploy-crossplane
191191
deploy-crossplane:
@@ -195,16 +195,16 @@ deploy-crossplane:
195195
undeploy-crossplane:
196196
helm uninstall crossplane -n crossplane-system
197197

198-
CROSSPLANE_AWS_PROVIDER_VERSION ?= v0.28.0
198+
CROSSPLANE_AWS_PROVIDER_VERSION ?= v0.36.0
199199
# Note, templates also require CROSSPLANE_INITIAL_IAM_ROLE_ARN and CROSSPLANE_IAM_ROLE_ARN
200200

201201
.PHONY: deploy-crossplane-aws-provider
202202
deploy-crossplane-aws-provider:
203203
cat test-data/crossplane-aws-provider.yaml_tpl | CROSSPLANE_AWS_PROVIDER_VERSION=${CROSSPLANE_AWS_PROVIDER_VERSION} CROSSPLANE_INITIAL_IAM_ROLE_ARN=${CROSSPLANE_INITIAL_IAM_ROLE_ARN} envsubst > crossplane-aws-provider.yaml
204204
cat test-data/crossplane-aws-provider-config.yaml_tpl | CROSSPLANE_IAM_ROLE_ARN=${CROSSPLANE_IAM_ROLE_ARN} envsubst > crossplane-aws-provider-config.yaml
205205
kubectl apply -f crossplane-aws-provider.yaml
206-
kubectl wait "providers.pkg.crossplane.io/provider-aws" --for=condition=Installed --timeout=180s
207-
kubectl wait "providers.pkg.crossplane.io/provider-aws" --for=condition=Healthy --timeout=180s
206+
kubectl wait "providers.pkg.crossplane.io/provider-family-aws" --for=condition=Installed --timeout=180s
207+
kubectl wait "providers.pkg.crossplane.io/provider-family-aws" --for=condition=Healthy --timeout=180s
208208
kubectl apply -f crossplane-aws-provider-config.yaml
209209

210210
.PHONY: undeploy-crossplane-aws-provider
@@ -232,7 +232,7 @@ undeploy-controller-helm:
232232
helm uninstall -n bifrost-gateway-controller-system bifrost-gateway-controller-helm
233233

234234
#################
235-
BIFROST_BLUEPRINTS_VERSION ?= 0.0.19
235+
BIFROST_BLUEPRINTS_VERSION ?= 0.0.21
236236

237237
.PHONY: deploy-controller-blueprint
238238
setup-getting-started-controller-blueprint:

blueprints/aws-alb-crossplane/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@ Upbound AWS provider and Istio versions has been verified:
4747
| `0.0.19` | `v0.33.0` | `v1.11.0` | `1.16.1` | :heavy_check_mark: |
4848
| `0.0.20` | `v0.33.0` | `v1.11.0` | `1.17.2` | :x: (*) |
4949
| `0.0.21` | `v0.33.0` | `v1.11.0` | `1.17.2` | :heavy_check_mark: |
50+
| `0.0.21` | `v0.36.0` | `v1.12.2` | `1.18.0` | :heavy_check_mark: (**) |
5051

5152
(*) 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`.
5253

54+
(**) From this time, we switched from using a monolothic AWS provider to using provider families. Details are in make target `deploy-crossplane-aws-provider`.
55+
5356
## Testing AWS/Crossplane/Istio Blueprint
5457

5558
This section describes how to test the blueprint using different
@@ -81,16 +84,16 @@ Deploy dependencies with the make targets shown below. Version information can b
8184
make deploy-gateway-api
8285
make deploy-aws-load-balancer-controller-crds
8386
AWS_LOAD_BALANCER_CONTROLLER_CHART_VERSION=v1.4.6 make deploy-aws-load-balancer-controller
84-
CROSSPLANE_VERSION=v1.11.0 make deploy-crossplane
85-
CROSSPLANE_AWS_PROVIDER_VERSION=v0.33.0 make deploy-crossplane-aws-provider
86-
ISTIO_VERSION=1.17.2 make deploy-istio
87+
CROSSPLANE_VERSION=v1.12.2 make deploy-crossplane
88+
CROSSPLANE_AWS_PROVIDER_VERSION=v0.36.0 make deploy-crossplane-aws-provider
89+
ISTIO_VERSION=1.18.0 make deploy-istio
8790
```
8891

8992
Deploy controller and blueprint:
9093

9194
```
92-
BIFROST_VERSION=0.1.6 make deploy-controller-aws-helm
93-
BIFROST_BLUEPRINTS_VERSION=0.0.18 make deploy-aws-istio-blueprint
95+
BIFROST_VERSION=0.1.8 make deploy-controller-aws-helm
96+
BIFROST_BLUEPRINTS_VERSION=0.0.21 make deploy-aws-istio-blueprint
9497
```
9598

9699
Note, there is also a `deploy-aws-istio-blueprint-local` make target to deploy

test-data/crossplane-aws-provider.yaml_tpl

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,29 @@ spec:
1111
apiVersion: pkg.crossplane.io/v1
1212
kind: Provider
1313
metadata:
14-
name: provider-aws
14+
name: provider-family-aws
1515
spec:
16-
package: xpkg.upbound.io/upbound/provider-aws:$CROSSPLANE_AWS_PROVIDER_VERSION
16+
package: xpkg.upbound.io/upbound/provider-family-aws:$CROSSPLANE_AWS_PROVIDER_VERSION
1717
controllerConfigRef:
1818
name: aws-config
19+
---
20+
apiVersion: pkg.crossplane.io/v1
21+
kind: Provider
22+
metadata:
23+
#name: upbound-provider-aws-ec2
24+
name: provider-aws-ec2
25+
spec:
26+
package: xpkg.upbound.io/upbound/provider-aws-ec2:$CROSSPLANE_AWS_PROVIDER_VERSION
27+
controllerConfigRef:
28+
name: aws-config
29+
---
30+
apiVersion: pkg.crossplane.io/v1
31+
kind: Provider
32+
metadata:
33+
#name: upbound-provider-aws-elbv2
34+
name: provider-aws-elbv2
35+
spec:
36+
package: xpkg.upbound.io/upbound/provider-aws-elbv2:$CROSSPLANE_AWS_PROVIDER_VERSION
37+
controllerConfigRef:
38+
name: aws-config
39+
---

0 commit comments

Comments
 (0)