From 562d7cd1e49fc091d3a821fd4489cae2966b50b2 Mon Sep 17 00:00:00 2001 From: irizzant Date: Fri, 24 May 2024 09:54:55 +0200 Subject: [PATCH] chore: update crossplane render command to use correct file paths and names --- Makefile | 2 +- apis/composition.yaml | 1 - examples/network-xr.yaml | 28 ++++++++++++++-------------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 5c9e7b2..6b87d61 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ uptest: $(UPTEST) $(KUBECTL) $(KUTTL) e2e: build controlplane.up local.xpkg.deploy.configuration.$(PROJECT_NAME) uptest render: - crossplane beta render examples/network-xr.yaml apis/basic/composition.yaml examples/function/function.yaml -r + crossplane beta render examples/network-xr.yaml apis/composition.yaml examples/functions.yaml -r yamllint: @$(INFO) running yamllint diff --git a/apis/composition.yaml b/apis/composition.yaml index 521a1c7..aca0e24 100644 --- a/apis/composition.yaml +++ b/apis/composition.yaml @@ -4,7 +4,6 @@ metadata: name: xnetworks.aws.platform.upbound.io labels: provider: aws - type: basic spec: compositeTypeRef: apiVersion: aws.platform.upbound.io/v1alpha1 diff --git a/examples/network-xr.yaml b/examples/network-xr.yaml index 70304a6..3a5000d 100644 --- a/examples/network-xr.yaml +++ b/examples/network-xr.yaml @@ -6,17 +6,17 @@ spec: parameters: id: platform-ref-aws region: us-west-2 - vpcCidrBlock: 192.168.0.0/16 - subnets: - - availabilityZone: us-west-2a - type: public - cidrBlock: 192.168.0.0/18 - - availabilityZone: us-west-2b - type: public - cidrBlock: 192.168.64.0/18 - - availabilityZone: us-west-2a - type: private - cidrBlock: 192.168.128.0/18 - - availabilityZone: us-west-2b - type: private - cidrBlock: 192.168.192.0/18 \ No newline at end of file + vpcCidrBlock: 192.168.0.0/16 + subnets: + - availabilityZone: us-west-2a + type: public + cidrBlock: 192.168.0.0/18 + - availabilityZone: us-west-2b + type: public + cidrBlock: 192.168.64.0/18 + - availabilityZone: us-west-2a + type: private + cidrBlock: 192.168.128.0/18 + - availabilityZone: us-west-2b + type: private + cidrBlock: 192.168.192.0/18