Skip to content

Commit

Permalink
Merge pull request #172 from vshn/providersUpdates
Browse files Browse the repository at this point in the history
updating dependencies
  • Loading branch information
wejdross authored Jun 5, 2024
2 parents b883245 + 704c58e commit 57bb247
Show file tree
Hide file tree
Showing 54 changed files with 984 additions and 3,227 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ generate: $(protoc_bin) get-crds generate-stackgres-crds ## Generate code with c
# Because yaml is such a fun and easy specification, we need to hack some things here.
# Depending on the yaml parser implementation the equal sign (=) has special meaning, or not...
# So we make it explicitly a string.
find apis/generated/ -exec $(sed) -i ':a;N;$$!ba;s/- =\n/- "="\n/g' {} \;
find apis/generated/ -type f -exec $(sed) -i ':a;N;$$!ba;s/- =\n/- "="\n/g' {} \;
rm -rf crds && cp -r apis/generated crds
go run sigs.k8s.io/controller-tools/cmd/controller-gen rbac:roleName=appcat-sli-exporter paths="{./pkg/sliexporter/...}" output:artifacts:config=config/sliexporter/rbac
go run sigs.k8s.io/controller-tools/cmd/controller-gen rbac:roleName=appcat-controller paths="{./pkg/controller/...}" output:rbac:stdout > config/controller/cluster-role.yaml
Expand Down Expand Up @@ -191,13 +191,15 @@ clean:
rm -rf bin/ appcat .work/ docs/node_modules $docs_out_dir .public .cache apiserver.local.config apis/generated default.sock

get-crds:
./hack/get_crds.sh https://github.com/vshn/provider-minio provider-minio apis/minio/v1 apis/minio
./hack/get_crds.sh https://github.com/crossplane-contrib/provider-helm provider-helm apis/release apis/helm
./hack/get_crds.sh https://github.com/crossplane-contrib/provider-kubernetes provider-kubernetes apis/object/v1alpha2 apis/kubernetes

# provider-sql needs manual fixes... Running this every time would break them.
# The crossplane code generator only works if the code is valid, but the code is not valid until the code generator has run...
#./hack/get_crds.sh https://github.com/crossplane-contrib/provider-sql provider-sql apis/ apis/sql
#rm apis/sql/sql.go


.PHONY: api-bootstrap
api-bootstrap:
go run ./hack/bootstrap/template.go ${API_FILE}
Expand Down
282 changes: 0 additions & 282 deletions apis/fn/io/v1alpha1/functionio_types.go

This file was deleted.

Loading

0 comments on commit 57bb247

Please sign in to comment.