Skip to content

Commit

Permalink
Merge pull request #421 from turkenh/add-ess-support
Browse files Browse the repository at this point in the history
Add External Secret Support as an Alpha Feature
  • Loading branch information
turkenh authored Mar 22, 2022
2 parents e6d0cc8 + 861dd46 commit 95ff02f
Show file tree
Hide file tree
Showing 83 changed files with 3,244 additions and 640 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GO111MODULE = on
# ====================================================================================
# Setup Images

DOCKER_REGISTRY = crossplane
DOCKER_REGISTRY ?= crossplane
IMAGES = provider-gcp provider-gcp-controller
-include build/makelib/image.mk

Expand Down Expand Up @@ -77,13 +77,6 @@ cobertura:
$(GOCOVER_COBERTURA) > $(GO_TEST_OUTPUT)/cobertura-coverage.xml

CRD_DIR=package/crds
crds.clean:
@$(INFO) cleaning generated CRDs
@find $(CRD_DIR) -name *.yaml -exec sed -i.sed -e '1,2d' {} \; || $(FAIL)
@find $(CRD_DIR) -name *.yaml.sed -delete || $(FAIL)
@$(OK) cleaned generated CRDs

generate.done: crds.clean

# integration tests
e2e.run: test-integration
Expand Down
10 changes: 10 additions & 0 deletions apis/cache/v1beta1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions apis/compute/v1alpha1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions apis/compute/v1beta1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions apis/container/v1beta1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions apis/container/v1beta2/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions apis/database/v1beta1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions apis/dns/v1alpha1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apis/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ import (
servicenetworkingv1beta1 "github.com/crossplane/provider-gcp/apis/servicenetworking/v1beta1"
storagev1alpha1 "github.com/crossplane/provider-gcp/apis/storage/v1alpha1"
storagev1alpha3 "github.com/crossplane/provider-gcp/apis/storage/v1alpha3"
gcpv1alpha1 "github.com/crossplane/provider-gcp/apis/v1alpha1"
gcpv1alpha3 "github.com/crossplane/provider-gcp/apis/v1alpha3"
gcpv1beta1 "github.com/crossplane/provider-gcp/apis/v1beta1"
)

func init() {
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
AddToSchemes = append(AddToSchemes,
gcpv1alpha1.SchemeBuilder.AddToScheme,
gcpv1alpha3.SchemeBuilder.AddToScheme,
gcpv1beta1.SchemeBuilder.AddToScheme,
cachev1beta1.SchemeBuilder.AddToScheme,
Expand Down
3 changes: 2 additions & 1 deletion apis/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build generate
// +build generate

/*
Expand All @@ -23,7 +24,7 @@ limitations under the License.
//go:generate rm -rf ../package/crds

// Generate deepcopy methodsets and CRD manifests
//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:trivialVersions=true,crdVersions=v1 output:artifacts:config=../package/crds
//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:crdVersions=v1 output:artifacts:config=../package/crds

// Generate crossplane-runtime methodsets (resource.Managed, etc)
//go:generate go run -tags generate github.com/crossplane/crossplane-tools/cmd/angryjet generate-methodsets --header-file=../hack/boilerplate.go.txt ./...
Expand Down
30 changes: 30 additions & 0 deletions apis/iam/v1alpha1/zz_generated.managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 95ff02f

Please sign in to comment.