Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: patch additions honor source key style #5005

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
ffd45f6
Set go version on github actions from gowork file
koba1t Dec 9, 2022
4a01fd3
fix: patch additions honor source key style
ephesused Jan 27, 2023
e9f47ab
Warn against partial releases
KnVerey Jan 30, 2023
7db330d
Merge pull request #5009 from kubernetes-sigs/no-partial-releases
k8s-ci-robot Jan 30, 2023
361154d
Localize HelmChartInflationGenerator (#5007)
annasong20 Jan 30, 2023
e2aff13
Expose path to localize destination
annasong20 Jan 30, 2023
00b0bd8
Merge pull request #5010 from annasong20/expose-localize-dst
k8s-ci-robot Jan 31, 2023
d91e31c
Run test-go-mod unpinned (#5011)
KnVerey Jan 31, 2023
c8b112c
make TestResourcesRepoNotFile even less specific
natasha41575 Jan 31, 2023
3370177
Merge pull request #5012 from natasha41575/reponotfileerr
k8s-ci-robot Jan 31, 2023
2361660
Add localize command handle (#4959)
annasong20 Feb 1, 2023
1957d5c
support for more helm template args (#4926)
natasha41575 Feb 1, 2023
9d8ed39
Localize helm additionValuesFiles (#5013)
annasong20 Feb 1, 2023
95edcc0
Update Versioning to Improve Output (#5000)
Feb 1, 2023
0c34cf4
Allow authenticated Github use in changelog script and improve error …
KnVerey Feb 1, 2023
8594932
Merge pull request #5015 from KnVerey/changelog-auth
k8s-ci-robot Feb 1, 2023
e4d7eaa
Don't have empty string when no auth info
KnVerey Feb 1, 2023
bea105d
Merge pull request #5017 from KnVerey/fix-changelog-unauthed
KnVerey Feb 1, 2023
e9507c9
Update kyaml to v0.14.0
KnVerey Feb 1, 2023
ea8fc77
Update kyaml in the secondary modules
KnVerey Feb 1, 2023
10fb04c
Merge pull request #5019 from KnVerey/pinToKyaml
KnVerey Feb 1, 2023
5cdc080
Update cmd/config to v0.11.0
KnVerey Feb 1, 2023
7e3ad53
Allow cloud build to authenticate to gh when generating changelog
KnVerey Feb 1, 2023
f851cc7
Merge pull request #5020 from KnVerey/pinToCmdConfig
k8s-ci-robot Feb 1, 2023
f5ad795
Bump kustomize module to v5
KnVerey Feb 2, 2023
87c428e
Merge pull request #5021 from KnVerey/module_version_v5
k8s-ci-robot Feb 2, 2023
c0e2030
Fix regression with scp-style urls with only one path element
KnVerey Feb 2, 2023
183928e
Merge pull request #5023 from KnVerey/issue4998
k8s-ci-robot Feb 2, 2023
db2a380
Update api to v0.13.1
KnVerey Feb 2, 2023
e532d6f
Merge pull request #5025 from KnVerey/pinToApi
KnVerey Feb 2, 2023
4fff839
Update releasing instructions
KnVerey Feb 2, 2023
f901b4a
Remove leftover replace statements
KnVerey Feb 2, 2023
738ca56
Merge pull request #5027 from KnVerey/remove-replaces
k8s-ci-robot Feb 2, 2023
8b51c29
Allow gorepomod to update plugin mod files
KnVerey Feb 2, 2023
9a1a203
Update example targets
KnVerey Feb 2, 2023
3c44db8
add GitHub token to install_kustomize.sh
vsoch Dec 23, 2022
03669a1
Improve error message and fix typo in iampolicygenerator module name
KnVerey Feb 2, 2023
e6c16a6
Restore previous test-go-mod and commit changes
KnVerey Feb 2, 2023
9c116e9
Bespoke mod edits no longer needed if gorepomod pins all modules
KnVerey Feb 2, 2023
57d8583
Fix lint errors
KnVerey Feb 2, 2023
0fd385d
Merge pull request #4946 from researchapps/add/github-token-install
k8s-ci-robot Feb 2, 2023
dfd2d76
be error when no path match
koba1t Feb 3, 2023
63c37b1
Update releasing/README.md
KnVerey Feb 6, 2023
a090cea
Merge pull request #5026 from KnVerey/update_releasing_instr
k8s-ci-robot Feb 7, 2023
00d450c
Revert plugin exclusion to name sanity check
KnVerey Feb 8, 2023
aa4eb59
Fix constant reference in instructions
KnVerey Feb 8, 2023
d825bef
Update all modules to latest releases
KnVerey Feb 8, 2023
51e2714
Back to development mode; unpin the modules
KnVerey Feb 8, 2023
53a4134
fix error handling and test
koba1t Feb 8, 2023
22dbd3e
Merge pull request #5038 from KnVerey/unpin-modules
k8s-ci-robot Feb 8, 2023
cd49194
fix tests
koba1t Feb 8, 2023
7c33fe3
Remove Log Assignment to Stdout
Feb 16, 2023
93d7511
perf: optimize Gvk.ApiVersion()
ephesused Feb 21, 2023
7a89df8
Merge pull request #5048 from cailynse/issue-5039
k8s-ci-robot Feb 21, 2023
adf760e
Merge pull request #5058 from ephesused/optimize-gvk-version
k8s-ci-robot Feb 21, 2023
9b43e76
Bump golang.org/x/crypto in /functions/examples/application-cr/image
dependabot[bot] Feb 25, 2023
68a0fc9
Bump golang.org/x/crypto in /cmd/depprobcheck
dependabot[bot] Feb 25, 2023
ffa554b
Merge pull request #5064 from kubernetes-sigs/dependabot/go_modules/f…
k8s-ci-robot Feb 27, 2023
78e3102
Merge pull request #5065 from kubernetes-sigs/dependabot/go_modules/c…
k8s-ci-robot Feb 27, 2023
ee0b266
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /cmd/depprobcheck
dependabot[bot] Feb 27, 2023
976193c
Merge pull request #5054 from kubernetes-sigs/dependabot/go_modules/c…
k8s-ci-robot Feb 27, 2023
a4954d3
Bump golang.org/x/net in /functions/examples/application-cr/image
dependabot[bot] Feb 27, 2023
694b3c9
Add the test cases for check the file when edit add command
koba1t Feb 28, 2023
e8b521e
Merge pull request #5053 from kubernetes-sigs/dependabot/go_modules/f…
k8s-ci-robot Feb 28, 2023
736e166
update golangci-lint to 1.51.2
koba1t Mar 8, 2023
39264a7
use enable-all on golangci-lint
koba1t Mar 8, 2023
7d150ce
Revert "use enable-all on golangci-lint"
koba1t Mar 10, 2023
e1094da
skip unrelevant lint
koba1t Mar 10, 2023
bf6e6ad
Merge pull request #5085 from koba1t/chore/update_golangci_to_1.51.2
k8s-ci-robot Mar 10, 2023
4842d8b
perf: Intersection: Avoid callid AllIds inside inner loop
chlunde Mar 7, 2023
dd520f8
Revert strict decoding of Kustomization due to regression in anchor h…
KnVerey Mar 13, 2023
8338873
Changes from local test run
KnVerey Mar 13, 2023
4ffc861
Merge pull request #5087 from KnVerey/prerelease_update
KnVerey Mar 13, 2023
0c65042
Update kyaml to v0.14.1
KnVerey Mar 13, 2023
28a2a01
Merge pull request #5088 from KnVerey/pinToKyaml
KnVerey Mar 13, 2023
b751ffe
Update cmd/config to v0.11.1
KnVerey Mar 14, 2023
efe1374
Merge pull request #5089 from KnVerey/pinToCmdConfig
KnVerey Mar 14, 2023
fa90046
Update api to v0.13.2
KnVerey Mar 14, 2023
39527da
Merge pull request #5090 from KnVerey/pinToApi
KnVerey Mar 14, 2023
0c92647
Back to development mode; unpin the modules
KnVerey Mar 14, 2023
ce3e394
Merge pull request #5091 from KnVerey/unpinEverything
KnVerey Mar 14, 2023
5dcf0ae
Fix lint task in CI
justinsb Mar 20, 2023
a2e9682
Merge pull request #5100 from justinsb/fixlint
k8s-ci-robot Mar 20, 2023
317fcad
Fix unused error value
justinsb Mar 20, 2023
c151147
Don't swallow helm execution errors
justinsb Mar 20, 2023
84682a1
Merge pull request #5101 from justinsb/fixlint_2
k8s-ci-robot Mar 20, 2023
5dff9df
Merge pull request #5099 from justinsb/dont_swallow_helm_errors
k8s-ci-robot Mar 20, 2023
2fdb356
Merge pull request #5080 from chlunde/perf-2
k8s-ci-robot Mar 21, 2023
304d0e9
use enable-all on golangci-lint
koba1t Mar 22, 2023
4d70a36
emove the kyaml/openapi/kubernetesapi/v1_21_2/swagger.pb (#5077)
asa3311 Mar 23, 2023
436a047
re-enabled TestFnContainerTransformer with e2econtainerconfig container
yutaroyamanaka Mar 27, 2023
71a7a7d
re-enabled TestFnContainerGenerator with enable-gcp-services
yutaroyamanaka Mar 27, 2023
e07b8a5
Merge pull request #5105 from koba1t/chore/use_enable-all_option_for_…
k8s-ci-robot Mar 27, 2023
633da99
Only strip surrounding quotes if there are at least two characters.
plobsing Mar 2, 2023
3b395a9
Merge pull request #5074 from plobsing/master
k8s-ci-robot Mar 31, 2023
42bf3c0
prevent all uses of YAML aliases from being overwritten by a transfor…
yutaroyamanaka Mar 31, 2023
c9f500c
add another resource for making sure an existing resource isn't affec…
yutaroyamanaka Apr 1, 2023
faab836
use test helpers
yutaroyamanaka Apr 1, 2023
2649d39
docker build locally because gcr.io/kustomize-functions/e2econtainerc…
yutaroyamanaka Apr 4, 2023
eadb469
Merge pull request #4924 from koba1t/chore/set_go_version_on_actions_…
k8s-ci-robot Apr 5, 2023
d3184da
Merge pull request #5111 from yutaroyamanaka/reenable-skipped-tests
k8s-ci-robot Apr 5, 2023
2c2b2ab
add check that kustomization is empty
koba1t Dec 28, 2022
928b823
fix using reflect.DeepEqual for check kustomization is empty
koba1t Apr 5, 2023
85d623b
Add a rich example of fn framework for abstraction
KnVerey Apr 7, 2023
38d5bf8
Add licence and make script use current year
KnVerey Apr 13, 2023
315ed56
Merge pull request #5130 from KnVerey/fn-framework-example
k8s-ci-robot Apr 14, 2023
7413c6a
Regression test
timja Apr 14, 2023
75fa235
Only override name of core api version
timja Apr 14, 2023
2ce1c7c
Merge pull request #5133 from timja/issue-5072-non-core-api-version-n…
k8s-ci-robot Apr 18, 2023
c79916b
Add DeepCopy for ResourceMeta and ObjectMeta
SimonTheLeg Apr 24, 2023
0f244a4
Fix using same helm chart with different versions (#4999)
Apr 24, 2023
ee3f506
Merge pull request #5145 from SimonTheLeg/deepcopy-for-meta-types
k8s-ci-robot Apr 26, 2023
97c8cd7
perf: eliminate unnecessary RNode creation
ephesused May 2, 2023
96f893f
Move inactive contributors to emeritus
KnVerey May 2, 2023
5a3e920
Merge pull request #5157 from KnVerey/update-maintainer-lists
k8s-ci-robot May 2, 2023
1f98338
pin to kyaml v0.14.2
natasha41575 May 5, 2023
3abf916
Merge pull request #5159 from natasha41575/pintokyaml
natasha41575 May 5, 2023
459d019
pin to cmd/config v0.11.2
natasha41575 May 5, 2023
1e32152
Merge pull request #5160 from natasha41575/cmdconfig
k8s-ci-robot May 5, 2023
7dcb2a5
pin to api 0.13.3
natasha41575 May 5, 2023
ccdc148
Merge pull request #5161 from natasha41575/api
natasha41575 May 5, 2023
529a25d
unpin everything
natasha41575 May 5, 2023
c2bd42e
Merge pull request #5162 from natasha41575/unpin
k8s-ci-robot May 5, 2023
3d6f40b
Revert "Fix using same helm chart with different versions (#4999)"
natasha41575 May 9, 2023
6bb62dd
Merge pull request #5164 from kubernetes-sigs/revert-4999-fix-same-ch…
k8s-ci-robot May 9, 2023
4b80710
pin to kyaml and cmd/config released versions
natasha41575 May 9, 2023
fa57486
Merge pull request #5165 from natasha41575/pin
natasha41575 May 9, 2023
84642b1
pin to api v0.13.4
natasha41575 May 9, 2023
3cac844
Merge pull request #5166 from natasha41575/pintoapinew
natasha41575 May 9, 2023
9407e26
Merge pull request #5155 from ephesused/eliminate-unnecessary-rnode
k8s-ci-robot May 9, 2023
fd508f0
release cleanup
natasha41575 May 17, 2023
035924b
Merge pull request #5175 from natasha41575/release-cleanup
natasha41575 May 17, 2023
e1c530e
fix breaking examples (#5024)
koba1t May 24, 2023
8383b28
fix test case handling and update a function comment
koba1t May 24, 2023
565cff2
update test add KustomizationFile
koba1t May 24, 2023
cf3e81b
Merge pull request #4949 from koba1t/fix/add_check_kustomization_is_e…
k8s-ci-robot May 26, 2023
e1ab8c7
Replace gnostic with gnostic-models
Jefftree May 31, 2023
7c98e53
make test-go-mod
Jefftree May 31, 2023
6ce0bf3
Merge pull request #5186 from Jefftree/gnostic-dependency
k8s-ci-robot Jun 1, 2023
0add0f9
change: components apply after all generators and transformers applie…
koba1t Jun 2, 2023
5b76aa9
update go 1.20
koba1t May 28, 2023
d1647a5
fix e2econtainer test
koba1t Jun 6, 2023
dce9426
Merge pull request #5030 from koba1t/fix/error_when_no_path_match
k8s-ci-robot Jun 7, 2023
da31b96
Merge pull request #5187 from koba1t/update_go_1.20
k8s-ci-robot Jun 7, 2023
b2c39b6
add Anna to maintainers
natasha41575 Jun 8, 2023
336bc14
Merge pull request #5195 from natasha41575/updatemaintainers
k8s-ci-robot Jun 8, 2023
3523106
fix: patch additions honor source key style
ephesused Jan 27, 2023
94c35e4
Merge branch 'issue4928-honor-key-style' of github.com:ephesused/kust…
ephesused Jun 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 48 additions & 63 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,93 +10,78 @@ permissions:
contents: read

jobs:

lint:
name: Lint
runs-on: [ubuntu-latest]
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version-file: go.work
id: go
- name: Lint
run: make lint

- name: Verify boilerplate
run: make check-license

test-linux:
name: Test Linux
runs-on: [ubuntu-latest]
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test all modules
run: make test-unit-non-plugin
env:
KUSTOMIZE_DOCKER_E2E: true
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version-file: go.work
id: go
- name: Test all modules
run: make test-unit-non-plugin
env:
KUSTOMIZE_DOCKER_E2E: true

test-macos:
name: Test MacOS
runs-on: [macos-latest]
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test all modules
run: make test-unit-non-plugin
env:
KUSTOMIZE_DOCKER_E2E: false # docker not installed on mac
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version-file: go.work
id: go
- name: Test all modules
run: make test-unit-non-plugin
env:
KUSTOMIZE_DOCKER_E2E: false # docker not installed on mac

test-windows:
name: Test Windows
runs-on: [windows-latest]
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test kyaml
run: go test -cover ./...
working-directory: ./kyaml

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
env:
KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet

# TODO (#4001): replace specific modules above with this once Windows tests are passing.
#- name: Test all modules
# run: make test-unit-non-plugin
# env:
# KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version-file: go.work
id: go
- name: Test kyaml
run: go test -cover ./...
working-directory: ./kyaml
- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
env:
KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet

# TODO (#4001): replace specific modules above with this once Windows tests are passing.
#- name: Test all modules
# run: make test-unit-non-plugin
# env:
# KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet
118 changes: 30 additions & 88 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,96 +3,37 @@

run:
deadline: 5m
go: '1.19'
go: '1.20'

linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
- asciicheck
- bidichk
- bodyclose
- contextcheck
# - cyclop
- depguard
- dogsled
- dupl
- dupword
- durationcheck
- errcheck
- errname
- errorlint
- exhaustive
# - exhaustivestruct
- exportloopref
# - forbidigo
- forcetypeassert
# - funlen
# - gci
- gochecknoglobals
- gochecknoinits
# - gocognit
- goconst
- gocritic
- gocyclo
# - godot
# - godox
# - goerr113
- gofmt
# - gofumpt
- goheader
- goimports
- gomnd
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
# - ifshort # too many false positives
- importas
- ineffassign
# - ireturn
- lll
- makezero
- misspell
- nakedret
- nestif
- nilerr
# - nilnil
# - nlreturn
# - noctx
- nolintlint
# - paralleltest
- prealloc
- predeclared
- promlinter
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
# - stylecheck
- tagliatelle
- tenv
- testpackage
- testableexamples
- thelper
- tparallel
- typecheck
- unconvert
- unparam
- unused
# - varnamelen
- wastedassign
- whitespace
- wrapcheck
# - wsl
- asasalint
- usestdlibvars
- interfacebloat
- loggercheck
- reassign
enable-all: true
disable:
- cyclop
- exhaustivestruct
- forbidigo
- funlen
- gci
- gocognit
- godot
- godox
- goerr113
- gofumpt
- ifshort # too many false positives
- ireturn
- nilnil
- nlreturn
- noctx
- paralleltest
- stylecheck
- varnamelen
- wsl
- exhaustruct
- deadcode
- scopelint
- nonamedreturns
- golint
- maintidx
- nosnakecase

linters-settings:
dupl:
Expand All @@ -110,6 +51,7 @@ linters-settings:
gomnd:
ignored-functions:
- os.WriteFile
- make
gomoddirectives:
replace-local: true
gosec:
Expand Down
19 changes: 10 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Makefile for kustomize CLI and API.

LATEST_V4_RELEASE=v4.5.6
LATEST_RELEASE=v5.0.3

SHELL := /usr/bin/env bash
GOOS = $(shell go env GOOS)
Expand Down Expand Up @@ -75,7 +75,8 @@ $(MYGOBIN)/pluginator:
# Build from local source.
$(MYGOBIN)/kustomize: build-kustomize-api
cd kustomize; \
go install .
go install -ldflags "-X sigs.k8s.io/kustomize/api/provenance.buildDate=$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')" \
.

kustomize: $(MYGOBIN)/kustomize

Expand All @@ -100,7 +101,7 @@ verify-kustomize-repo: \
build-non-plugin-all \
test-go-mod \
test-examples-kustomize-against-HEAD \
test-examples-kustomize-against-v4-release
test-examples-kustomize-against-latest-release

# The following target referenced by a file in
# https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/kustomize
Expand All @@ -111,7 +112,7 @@ prow-presubmit-check: \
test-go-mod \
build-non-plugin-all \
test-examples-kustomize-against-HEAD \
test-examples-kustomize-against-v4-release
test-examples-kustomize-against-latest-release

.PHONY: license
license: $(MYGOBIN)/addlicense
Expand All @@ -133,11 +134,11 @@ test-unit-all: \
# This target is used by our Github Actions CI to run unit tests for all non-plugin modules in multiple GOOS environments.
.PHONY: test-unit-non-plugin
test-unit-non-plugin:
./hack/for-each-module.sh "make test" "./plugin/*" 15
./hack/for-each-module.sh "make test" "./plugin/*" 16

.PHONY: build-non-plugin-all
build-non-plugin-all:
./hack/for-each-module.sh "make build" "./plugin/*" 15
./hack/for-each-module.sh "make build" "./plugin/*" 16

.PHONY: test-unit-kustomize-plugins
test-unit-kustomize-plugins:
Expand All @@ -152,7 +153,7 @@ functions-examples-all:
done

test-go-mod:
./hack/for-each-module.sh "go list -m -json all > /dev/null && go mod tidy -v"
./hack/for-each-module.sh "go mod tidy -v"

.PHONY:
verify-kustomize-e2e: $(MYGOBIN)/mdrip $(MYGOBIN)/kind
Expand All @@ -169,8 +170,8 @@ test-examples-kustomize-against-HEAD: $(MYGOBIN)/kustomize $(MYGOBIN)/mdrip
./hack/testExamplesAgainstKustomize.sh HEAD

.PHONY:
test-examples-kustomize-against-v4-release: $(MYGOBIN)/mdrip
./hack/testExamplesAgainstKustomize.sh v4@$(LATEST_V4_RELEASE)
test-examples-kustomize-against-latest-release: $(MYGOBIN)/mdrip
./hack/testExamplesAgainstKustomize.sh v5@$(LATEST_RELEASE)


# --- Cleanup targets ---
Expand Down
1 change: 1 addition & 0 deletions Makefile-modules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ include $(KUSTOMIZE_ROOT)/Makefile-tools.mk
.PHONY: lint test fix fmt tidy vet build

lint: $(MYGOBIN)/golangci-lint
$(MYGOBIN)/golangci-lint cache clean # Workaround for https://github.com/golangci/golangci-lint/issues/3228
$(MYGOBIN)/golangci-lint \
-c $$KUSTOMIZE_ROOT/.golangci.yml \
--path-prefix $(shell pwd | sed -E 's|(.*\/kustomize)/(.*)|\2|') \
Expand Down
2 changes: 1 addition & 1 deletion Makefile-tools.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2022 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0

GOLANGCI_LINT_VERSION=v1.50.1
GOLANGCI_LINT_VERSION=v1.51.2

MYGOBIN = $(shell go env GOBIN)
ifeq ($(MYGOBIN),)
Expand Down
1 change: 0 additions & 1 deletion OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# See https://github.com/kubernetes/community/blob/master/community-membership.md
approvers:
- kustomize-approvers

reviewers:
- kustomize-reviewers
Loading