Skip to content

Commit

Permalink
fix bug with vault namespace mr
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylevin committed May 8, 2024
1 parent 701757f commit 4a792b7
Show file tree
Hide file tree
Showing 42 changed files with 481 additions and 373 deletions.
23 changes: 14 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
run:
deadline: 10m
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
#
# SPDX-License-Identifier: CC0-1.0

skip-files:
- "zz_\\..+\\.go$"
run:
timeout: 60m
show-stats: true
concurrency: 3

output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
print-linter-name: true

linters-settings:
errcheck:
Expand All @@ -27,9 +31,9 @@ linters-settings:
# report about shadowed variables
check-shadowing: false

golint:
# minimal confidence for issues, default is 0.8
min-confidence: 0.8
revive:
# confidence for issues, default is 0.8
confidence: 0.8

gofmt:
# simplify code: gofmt with `-s` option, true by default
Expand All @@ -38,7 +42,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/upbound/upjet-provider-template
local-prefixes: github.com/upbound/provider-vault

gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
Expand Down Expand Up @@ -108,11 +112,12 @@ linters:
- govet
- gocyclo
- gocritic
- interfacer
- goconst
- goimports
- gofmt # We enable this as well as goimports for its simplify mode.
- prealloc
# - golint - should we switch to revive?
- revive
- unconvert
- misspell
- nakedret
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export TERRAFORM_VERSION := 1.5.5

export TERRAFORM_PROVIDER_SOURCE ?= hashicorp/vault
export TERRAFORM_PROVIDER_REPO ?= https://github.com/hashicorp/terraform-provider-vault
export TERRAFORM_PROVIDER_VERSION ?= 4.2.0
export TERRAFORM_PROVIDER_VERSION ?= 3.25.0
export TERRAFORM_PROVIDER_DOWNLOAD_NAME ?= terraform-provider-vault
export TERRAFORM_DOCS_PATH ?= website/docs/r

Expand Down Expand Up @@ -47,7 +47,7 @@ GO_SUBDIRS += cmd internal apis
# Setup Kubernetes tools

KIND_VERSION = v0.18.0
UP_VERSION = v0.18.0
UP_VERSION = v0.29.0
UP_CHANNEL = stable
UPTEST_VERSION = v0.2.1
RELDIR = "examples/release"
Expand Down
30 changes: 30 additions & 0 deletions apis/ad/v1alpha1/zz_generated.deepcopy.go

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

35 changes: 32 additions & 3 deletions apis/ad/v1alpha1/zz_secretbackend_types.go

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

7 changes: 7 additions & 0 deletions apis/cert/v1alpha1/zz_authbackendrole_types.go

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

33 changes: 33 additions & 0 deletions apis/cert/v1alpha1/zz_generated.deepcopy.go

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

15 changes: 15 additions & 0 deletions apis/consul/v1alpha1/zz_generated.deepcopy.go

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

16 changes: 16 additions & 0 deletions apis/consul/v1alpha1/zz_secretbackendrole_types.go

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

Loading

0 comments on commit 4a792b7

Please sign in to comment.