File tree Expand file tree Collapse file tree 3 files changed +382
-2
lines changed Expand file tree Collapse file tree 3 files changed +382
-2
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,19 @@ upbound_aws_crds.libsonnet:
14
14
jsonnetfmt -i $(ROOT_DIR ) /upbound_aws_crds.libsonnet && \
15
15
rm -rf $(TMP ) || \
16
16
rm -rf $(TMP )
17
+
18
+
19
+ GCP_VERSION? =v1.8.3
20
+
21
+ .PHONY : upbound_gcp_crds.libsonnet
22
+ upbound_gcp_crds.libsonnet :
23
+ cd $(TMP ) && \
24
+ jb init && \
25
+ jb install github.com/crossplane-contrib/provider-upjet-gcp/package/crds@$(AWS_VERSION ) && \
26
+ echo ' [' > $(ROOT_DIR ) /upbound_gcp_crds.libsonnet && \
27
+ cd vendor/github.com/crossplane-contrib/provider-upjet-gcp/package/crds && \
28
+ find . -type f -printf " %f\n" | sort | xargs -I {} echo " '{}'," >> $(ROOT_DIR ) /upbound_gcp_crds.libsonnet && \
29
+ echo ' ]' >> $(ROOT_DIR ) /upbound_gcp_crds.libsonnet && \
30
+ jsonnetfmt -i $(ROOT_DIR ) /upbound_gcp_crds.libsonnet && \
31
+ rm -rf $(TMP ) || \
32
+ rm -rf $(TMP )
Original file line number Diff line number Diff line change 1
1
local config = import 'jsonnet/config.jsonnet' ;
2
2
3
3
local upbound_aws_crds = import './upbound_aws_crds.libsonnet' ;
4
+ local upbound_gcp_crds = import './upbound_gcp_crds.libsonnet' ;
5
+
4
6
5
7
config.new(
6
8
name='crossplane' ,
@@ -116,13 +118,16 @@ config.new(
116
118
crds: ['https://doc.crds.dev/raw/github.com/upbound/provider-azuread@v0.11.0' ],
117
119
localName: 'upbound_azuread' ,
118
120
},
121
+ // WARNING: When bumping the version, ensure that you also update the
122
+ // version in the Makefile and run `make upbound_gcp_crds.libsonnet` to update the CRDs list.
119
123
{
120
- output: 'upbound-provider-gcp/0.36 ' ,
124
+ output: 'upbound-provider-gcp/1.8 ' ,
121
125
prefix: '^io\\ .upbound\\ .gcp\\ ..*' ,
122
- crds: ['https://doc.crds.dev/ raw/github. com/upbound /provider-gcp@v0.36.0' ],
126
+ crds: ['https://raw.githubusercontent. com/crossplane-contrib /provider-upjet- gcp/v1.8.3/package/crds/%s' % crd for crd in upbound_gcp_crds ],
123
127
localName: 'upbound_gcp' ,
124
128
},
125
129
{
130
+
126
131
output: 'provider-terraform/0.10' ,
127
132
prefix: '^io\\ .upbound\\ .tf\\ ..*' ,
128
133
crds: ['https://doc.crds.dev/raw/github.com/upbound/provider-terraform@v0.10.0' ],
You can’t perform that action at this time.
0 commit comments