Skip to content

Commit

Permalink
Merge pull request #332 from turkenh/ess-support
Browse files Browse the repository at this point in the history
Add External Secret Stores support as an alpha feature
  • Loading branch information
turkenh authored Apr 7, 2022
2 parents 226a6e7 + 64d6995 commit f4edc1c
Show file tree
Hide file tree
Showing 70 changed files with 4,482 additions and 1,361 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
with:
submodules: true

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}

- name: Find the Go Build Cache
id: go
run: echo "::set-output name=cache::$(make go.cachedir)"
Expand All @@ -72,10 +77,9 @@ jobs:
# version, but we prefer this action because it leaves 'annotations' (i.e.
# it comments on PRs to point out linter violations).
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_VERSION }}
skip-go-installation: true

check-diff:
runs-on: ubuntu-18.04
Expand Down
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ cobertura:
grep -v zz_generated.deepcopy | \
$(GOCOVER_COBERTURA) > $(GO_TEST_OUTPUT)/cobertura-coverage.xml

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

generate: crds.clean

# Ensure a PR is ready for review.
reviewable: generate lint
@go mod tidy
Expand Down
2 changes: 2 additions & 0 deletions apis/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ import (
keyvaultv1alpha1 "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1"
networkv1alpha3 "github.com/crossplane/provider-azure/apis/network/v1alpha3"
storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3"
azurev1alpha1 "github.com/crossplane/provider-azure/apis/v1alpha1"
azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3"
azurev1beta1 "github.com/crossplane/provider-azure/apis/v1beta1"
)

func init() {
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
AddToSchemes = append(AddToSchemes,
azurev1alpha1.SchemeBuilder.AddToScheme,
azurev1alpha3.SchemeBuilder.AddToScheme,
azurev1beta1.SchemeBuilder.AddToScheme,
cachev1beta1.SchemeBuilder.AddToScheme,
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.

10 changes: 10 additions & 0 deletions apis/compute/v1alpha3/zz_generated.managed.go

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

50 changes: 50 additions & 0 deletions apis/database/v1alpha3/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/database/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/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: 1 addition & 1 deletion apis/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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.Claim, etc)
//go:generate go run -tags generate github.com/crossplane/crossplane-tools/cmd/angryjet generate-methodsets --header-file=../hack/boilerplate.go.txt ./...
Expand Down
10 changes: 10 additions & 0 deletions apis/keyvault/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 f4edc1c

Please sign in to comment.