Skip to content

📖 Update book-v4 regards release v4.7.0 #4924

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

Closed
wants to merge 293 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
8c3f6c4
🌱 (chore): move mutable test declarations into BeforeEach to ensure c…
kersten Mar 28, 2025
8e59376
🌱 (chore): move mutable test declarations into BeforeEach to ensure c…
kersten Mar 28, 2025
a5ff104
🌱 (chore): align stage test suite with Ginkgo conventions and cleanup
kersten Mar 28, 2025
0d31fb2
🌱 (chore): isolate mutable resource test state with BeforeEach
kersten Mar 28, 2025
7709cbc
🌱 (chore): refactor shared setup logic in plugins into BeforeEach to …
kersten Mar 28, 2025
0709b6f
Merge pull request #4698 from kersten/chore/improve-delimiter-test-re…
k8s-ci-robot Mar 28, 2025
8d5bedb
🌱 (chore): refactor shared setup logic in plugin into BeforeEach to i…
kersten Mar 28, 2025
be5f5b6
Merge pull request #4661 from kersten/linter/enable-import-shadowing
k8s-ci-robot Mar 28, 2025
55222be
Merge pull request #4701 from kersten/chore/cli-test-ginkgo-isolation
k8s-ci-robot Mar 28, 2025
2c7e19d
Merge pull request #4699 from kersten/linter/enable-asciicheck-bidichk
k8s-ci-robot Mar 28, 2025
b9b5d5c
Merge pull request #4700 from kersten/chore/add-import-shadowing-linter
k8s-ci-robot Mar 28, 2025
17fab17
Merge pull request #4702 from kersten/chore/cli-test-init-vars
k8s-ci-robot Mar 28, 2025
8c86374
Merge pull request #4703 from kersten/chore/store-tests-init-vars
k8s-ci-robot Mar 28, 2025
10576d0
Merge pull request #4704 from kersten/chore/config-test-var-initializ…
k8s-ci-robot Mar 28, 2025
00a4ce0
Merge pull request #4705 from kersten/chore/machinery-test-var-initia…
k8s-ci-robot Mar 28, 2025
4ecaa69
Merge pull request #4706 from kersten/chore/stage-test-cleanup
k8s-ci-robot Mar 28, 2025
f92cf12
Merge pull request #4707 from kersten/chore/resource-tests-use-before…
k8s-ci-robot Mar 28, 2025
d177b65
Merge pull request #4708 from kersten/chore/refactor-beforeeach-for-i…
k8s-ci-robot Mar 28, 2025
f6faae2
Merge pull request #4691 from kersten/chore/enable-whitespace-linter
k8s-ci-robot Mar 28, 2025
23b74ea
Merge pull request #4709 from kersten/chore/refactor-plugin-suite-bef…
k8s-ci-robot Mar 28, 2025
ddbfbbb
fix: use limited scoped error in generated main.go
koba1t Mar 21, 2025
fed09ec
Updated migration pages and added index for better navigation
Kuzuri247 Mar 26, 2025
42a0a0d
Updated 404 page
Kuzuri247 Mar 26, 2025
4fe3c28
🌱 fix (ci): fix lint issue: shadow: declaration of pluginCfg shadows …
camilamacedo86 Mar 31, 2025
b5eb69a
:seedling: (chore): enable ginkgolinter forbid-focus-container
nunnatsa Mar 29, 2025
2b96991
🌱 (chore): enable ginkgolinter forbid-spec-pollution to enforce isola…
kersten Mar 28, 2025
ab2821c
Merge pull request #4674 from Kuzuri247/page
k8s-ci-robot Mar 31, 2025
5b3dda0
Merge pull request #4627 from koba1t/fix/use_limited_scoped_error_in_…
k8s-ci-robot Mar 31, 2025
1d3fcad
fix: Use dynamic controller-runtime version in doc generator
p-shah256 Mar 29, 2025
1ddcaf2
Merge pull request #4676 from Kuzuri247/migration
k8s-ci-robot Mar 31, 2025
3cb1e5e
🌱 (chore): replace errors.As() with MatchError() in error assertions
kersten Mar 31, 2025
2099172
Merge pull request #4713 from p-shah256/fix-controller-runtime-version
k8s-ci-robot Mar 31, 2025
6d18039
Merge pull request #4710 from kersten/chore/ginkgolinter-forbid-spec-…
k8s-ci-robot Mar 31, 2025
29ae181
Merge pull request #4714 from nunnatsa/ginkgolinter-forbid-focus-cont…
k8s-ci-robot Mar 31, 2025
2488bf4
📖 Fixed grammatical errors in designs doc (#4716)
Kuzuri247 Mar 31, 2025
66d3ab3
Merge pull request #4723 from kersten/chore/matcherror-in-tests
k8s-ci-robot Mar 31, 2025
d0ee6bd
🌱 Add kubernetesVendorVersion for binary builds with LD_FLAGS
vitorfloriano Mar 15, 2025
1ca4470
update golang version to v1.2.4.0
dongjiang1989 Feb 28, 2025
59f6978
🌱 (chore): replace `%v` with `%w` in deploy-image v1alpha1 plugin errors
kersten Mar 27, 2025
a3c28e3
🌱 Fix golangci-lint wrong configurations (#4726)
nunnatsa Apr 1, 2025
8ebf7b3
Merge pull request #4731 from kersten/chore/simplify-cli-test-vars
k8s-ci-robot Apr 1, 2025
6452e9f
Merge pull request #4732 from kersten/chore/deploy-image-v1alpha1
k8s-ci-robot Apr 1, 2025
f52c15c
🌱 (chore): replace empty slice literals with idiomatic var decls for …
kersten Apr 2, 2025
24b6b9d
🌱 (chore): improve error wrapping for generate command execution
kersten Apr 1, 2025
1d35e55
🌱 (chore): wrap errors using `%w` and improve formatting in golang pl…
kersten Mar 27, 2025
62c9753
🌱 (chore): consistently wrap and enrich error messages across helm pl…
kersten Apr 1, 2025
59ad6e8
🌱 (chore): improve error context and wrapping in utility and test hel…
kersten Apr 1, 2025
646d2b5
🌱 (chore): use `errors.As` and wrap exec errors in repository.go
kersten Mar 27, 2025
93f8d75
🌱 (chore): add detailed error wrapping across Golang plugin commands
kersten Apr 1, 2025
25d102f
🌱 (chore): improve error context in common kustomize plugin scaffolds
kersten Apr 1, 2025
0bf34cd
🌱 (chore): add error context to golang scaffolder execution steps
kersten Apr 1, 2025
9165aa2
🌱 (chore): improve error wrapping for external plugin discovery and c…
kersten Apr 1, 2025
ab9e129
🌱 (chore): wrap config parsing and validation errors with contextual …
kersten Apr 1, 2025
eb284dc
🌱 (chore): wrap plugin and util error returns for better context
kersten Apr 1, 2025
e9ff6c9
🌱 (chore): check and return error from os.WriteFile when writing lito…
kersten Apr 1, 2025
9aa8f87
🌱 (chore): use pointer receiver for Validate and rename shadowed var
kersten Apr 1, 2025
31780a8
🌱 (chore): wrap deploy-image plugin errors with contextual messages
kersten Apr 1, 2025
f83713c
🌱 (chore): remove unnecessary string() and []byte conversions
kersten Apr 1, 2025
304dcb1
🌱 (refactor): add contextual error wrapping for external plugin helpers
kersten Apr 1, 2025
fea45a4
🌱 (chore): wrap plugin and util error returns for better context
kersten Apr 1, 2025
4f9670c
🌱 (chore): handle flag parsing errors in sample external plugin
kersten Mar 27, 2025
02168ca
Merge pull request #4729 from kersten/chore/golang-error-wrapping
k8s-ci-robot Apr 2, 2025
96a5d65
Merge pull request #4744 from kersten/chore/wrap-errors-cli-external-…
k8s-ci-robot Apr 2, 2025
2ef22f8
Merge pull request #4745 from kersten/chore/wrap-plugin-utils-errors
k8s-ci-robot Apr 2, 2025
ecf5771
Merge pull request #4746 from kersten/fix/litout-writefile-error
k8s-ci-robot Apr 2, 2025
4fda76e
Merge pull request #4748 from kersten/refactor/wrap-deploy-image-plug…
k8s-ci-robot Apr 2, 2025
b878bf9
Merge pull request #4585 from dongjiang1989/update-go-1.24
k8s-ci-robot Apr 2, 2025
544c0b4
Merge pull request #4735 from kersten/chore/improve-error-wrapping-go…
k8s-ci-robot Apr 2, 2025
ba53421
Merge pull request #4736 from kersten/chore/idiomatic-var-slices
k8s-ci-robot Apr 2, 2025
5dadeac
Merge pull request #4737 from kersten/chore/error-wrapping-in-cli-gen…
k8s-ci-robot Apr 2, 2025
9dde5a1
Merge pull request #4739 from kersten/chore/improve-error-context-and…
k8s-ci-robot Apr 2, 2025
23a8583
Merge pull request #4740 from kersten/chore/improve-error-context-e2e…
k8s-ci-robot Apr 2, 2025
5221f52
Merge pull request #4741 from kersten/chore/improve-error-context-kus…
k8s-ci-robot Apr 2, 2025
cc4655d
Merge pull request #4742 from kersten/chore/improve-golang-scaffolder…
k8s-ci-robot Apr 2, 2025
ba9307d
Merge pull request #4743 from kersten/chore/wrap-config-errors
k8s-ci-robot Apr 2, 2025
248ff11
Merge pull request #4749 from kersten/chore/improve-scaffolder-error-…
k8s-ci-robot Apr 2, 2025
029e7ca
:seedling: Bump github.com/onsi/gomega from 1.36.3 to 1.37.0
dependabot[bot] Apr 2, 2025
fa1d379
Merge pull request #4747 from kersten/fix/remove-unnecessary-string-c…
k8s-ci-robot Apr 2, 2025
214bef6
🌱 (chore): clean up and unify error messages in golang/v4 plugin
kersten Mar 27, 2025
2a3f9d9
🌱 (chore): consistently wrap and enrich error messages across test utils
kersten Apr 3, 2025
6f33101
Update versions_compatibility_supportability.md
possani Apr 4, 2025
ad17646
Merge pull request #4738 from kersten/chore/golang-v4-error-msg-cleanup
k8s-ci-robot Apr 4, 2025
ac0c81a
Merge pull request #4730 from kersten/chore/golang-repository-error-h…
k8s-ci-robot Apr 4, 2025
61f6641
Merge pull request #4751 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 4, 2025
ba65372
Merge pull request #4728 from kersten/chore/external-plugin-flag-pars…
k8s-ci-robot Apr 4, 2025
d745f6a
Merge pull request #4754 from kersten/refactor/wrap-external-plugin-e…
k8s-ci-robot Apr 4, 2025
34e04a0
Merge pull request #4755 from kersten/chore/improve-error-wrapping-te…
k8s-ci-robot Apr 4, 2025
075c9be
✨ (API, CLI, go/v4) Add cliVersion field to the PROJECT file configur…
vitorfloriano Apr 5, 2025
3f3be65
Merge pull request #4612 from vitorfloriano/bug/4611-make-generate-ku…
k8s-ci-robot Apr 5, 2025
ca90830
🌱 use `env:` to set variable. Otherwise quoting issues.
guettli Apr 7, 2025
db08365
🌱 (chore): handle flag parsing errors in simple external plugin tutor…
kersten Apr 7, 2025
205fcd7
Merge pull request #4763 from kersten/fix/boilerplate-validate-pointe…
k8s-ci-robot Apr 7, 2025
2bbb292
refactor(e2e-setup): update Kind cluster naming for e2e tests
kersten Mar 24, 2025
db66a57
Merge pull request #4764 from guettli/tg/fix-github-verify--TITLE-env…
k8s-ci-robot Apr 7, 2025
2d15dc2
Merge pull request #4765 from kersten/chore/simple-external-plugin-fl…
k8s-ci-robot Apr 7, 2025
2af861d
Merge pull request #4759 from possani/patch-1
k8s-ci-robot Apr 7, 2025
8f628d8
update golangci-lint v2
dongjiang1989 Apr 3, 2025
74fb6cb
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4
dependabot[bot] Apr 8, 2025
0f0c613
Upgrade controller-tools from v0.17.2 to v0.17.3
camilamacedo86 Apr 8, 2025
ad0ce08
Merge pull request #4768 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 8, 2025
5ae0fa3
:seedling: Bump golang.org/x/text from 0.23.0 to 0.24.0
dependabot[bot] Apr 8, 2025
de4e5f0
Merge pull request #4673 from kersten/feat/project-specific-kind-cluster
k8s-ci-robot Apr 8, 2025
3ae7a57
Merge pull request #4752 from dongjiang1989/update-golangci-lint-v2
k8s-ci-robot Apr 8, 2025
720027d
Merge pull request #4770 from camilamacedo86/upgrade-tools
k8s-ci-robot Apr 8, 2025
4f18190
🌱 (chore): wrap and contextualize errors across Grafana plugin
kersten Apr 1, 2025
d4f3864
Merge pull request #4769 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 8, 2025
1f8677e
fix staticcheck lint issues - ST1008 and ST1008
camilamacedo86 Apr 8, 2025
4ce8307
Merge pull request #4771 from camilamacedo86/fix-lint-issue-error-sta…
k8s-ci-robot Apr 8, 2025
8876c45
:seedling: Bump golang.org/x/tools from 0.31.0 to 0.32.0
dependabot[bot] Apr 9, 2025
aae1034
Merge pull request #4772 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 9, 2025
243ab91
fix(makefile): correct GNU sed detection method
kersten Apr 10, 2025
4022007
Merge pull request #4775 from kersten/fix/gnu-sed-detection
k8s-ci-robot Apr 10, 2025
742ec79
(Follow up of : #4752 - Upgrade GolangCI) - fix: address staticcheck …
camilamacedo86 Apr 10, 2025
cd48b2b
Merge pull request #4779 from camilamacedo86/fix-static-checks
k8s-ci-robot Apr 11, 2025
add42eb
fix bug
dongjiang1989 Apr 11, 2025
258b9c6
Merge pull request #4781 from dongjiang1989/fix-aliasing-import
k8s-ci-robot Apr 11, 2025
445ee4c
Merge pull request #4753 from kersten/chore/error-wrapping-grafana-cli
k8s-ci-robot Apr 11, 2025
64526f1
🌱 (chore): Enable wrapcheck linter (#4721)
kersten Apr 11, 2025
0225d83
Add control-plane labels to metrics service and ServiceMonitor templates
sarthaksarthak9 Apr 10, 2025
2c3f13e
Removing goinstall mode
Kuzuri247 Apr 10, 2025
9932c89
Merge pull request #4774 from Kuzuri247/update
k8s-ci-robot Apr 12, 2025
6790714
Merge pull request #4777 from sarthaksarthak9/missing
k8s-ci-robot Apr 17, 2025
f6d3022
(testdata): Upgrade version used in the samples under testdata
camilamacedo86 May 2, 2025
e490100
🐛 Remove redundant/noisy godebug default= lines from go.mod. (#4787)
ldemailly May 2, 2025
b5902cb
Merge pull request #4794 from camilamacedo86/upgrade-cert
k8s-ci-robot May 2, 2025
9939227
Removing calico - using default CNI from Kind
irapandey Apr 29, 2025
02a6ca1
Merge pull request #4791 from irapandey/Remove_calico
k8s-ci-robot May 5, 2025
db806d3
:seedling: Bump golang.org/x/text from 0.24.0 to 0.25.0
dependabot[bot] May 6, 2025
5d42475
Merge pull request #4796 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot May 7, 2025
2b07ebb
:seedling: Bump golang.org/x/tools from 0.32.0 to 0.33.0
dependabot[bot] May 7, 2025
fd63e2b
Merge pull request #4797 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot May 8, 2025
04ea364
✨ update golangci-lint to v2.1.0 and lint-action to v8
ansh-devs May 12, 2025
99313db
Merge pull request #4801 from ansh-devs/master
k8s-ci-robot May 13, 2025
14e2b15
bump controller-tools to v0.18.0
Adembc May 13, 2025
9c3de19
Merge pull request #4804 from Adembc/controller-tools
k8s-ci-robot May 13, 2025
5e91ffe
append project name to conversion webhook service name
fhirscher May 19, 2025
5a956f4
Merge pull request #4808 from fhirscher/helm-plugin-crd-with-conversi…
k8s-ci-robot May 19, 2025
4abca0a
Fix: correct make command for updating RBAC to 'make manifests'
Vaishnav88sk May 19, 2025
e093494
docs: fix heading formatting for 'ownerRef and cascading events'
Vaishnav88sk May 19, 2025
8f28571
Merge pull request #4811 from Vaishnav88sk/vaishnav-kbld
k8s-ci-robot May 19, 2025
892376d
fix: remove superfluous addFinalizer error handling
matrus2 May 21, 2025
0d240ac
Merge branch 'master' into finlizer_fix
matrus2 May 21, 2025
0d66079
⚠️ Upgrade controller-runtime (v0.20.4 to v0.21.0) and k8s version ( …
camilamacedo86 May 22, 2025
d48a4b4
:seedling: Bump joelanford/go-apidiff from 0.8.2 to 0.8.3
dependabot[bot] May 22, 2025
c90c7ac
Merge pull request #4815 from kubernetes-sigs/dependabot/github_actio…
k8s-ci-robot May 23, 2025
779b2d1
fix: revert registry added to docker images by mistake
camilamacedo86 May 24, 2025
e1a44f8
(rbac) fix: improve role comment clarity by replacing {{ .ProjectName…
camilamacedo86 May 24, 2025
14add27
Merge pull request #4818 from camilamacedo86/fix-indiomatic-docker
k8s-ci-robot May 24, 2025
0f4c0a9
Merge pull request #4819 from camilamacedo86/fix-comment
k8s-ci-robot May 24, 2025
cd90bd8
🐛 refactor: inline getKubebuilderVersion into cli.WithCliVersion setu…
camilamacedo86 May 24, 2025
cd97195
[external-plugin] fix(ci): use Make targets for CLI install and expos…
camilamacedo86 May 24, 2025
e812c0c
Merge pull request #4823 from camilamacedo86/external-plugin-fix
k8s-ci-robot May 25, 2025
9fad530
Non-breaking feature: Unifying dir/file permissions
jtyr May 22, 2025
1281364
Merge pull request #4814 from jtyr/jtyr-modeperm
k8s-ci-robot May 26, 2025
9445d2b
doc: [metrics] - provide information about required permissions to ac…
camilamacedo86 May 26, 2025
8f391cc
(go/v4): Improved conversion webhook implementation by adding default…
camilamacedo86 May 25, 2025
ba2e946
(docs): Upgrade controller-tools from v0.17.4 to v0.18.0
camilamacedo86 May 26, 2025
b9c5b7f
Merge pull request #4832 from camilamacedo86/docs-deps
k8s-ci-robot May 26, 2025
baa220c
fix: string baseDir = "api" has 3 occurrences, make it a constant (g…
camilamacedo86 May 26, 2025
e3982be
Merge pull request #4834 from camilamacedo86/fix-lint-goconst
k8s-ci-robot May 26, 2025
0e9c397
:book: Bump sigs.k8s.io/kubebuilder/v4
dependabot[bot] May 26, 2025
da538ee
Merge pull request #4825 from camilamacedo86/add-e2e-test
k8s-ci-robot May 27, 2025
583869f
Merge pull request #4831 from camilamacedo86/improve-doc-metrics
k8s-ci-robot May 27, 2025
71fc857
Merge pull request #4835 from kubernetes-sigs/dependabot/go_modules/d…
k8s-ci-robot May 27, 2025
30354cf
📖 (docs): fix broken link to busybox test
carlossg May 29, 2025
2381ce3
Merge pull request #4840 from carlossg/patch-1
k8s-ci-robot May 29, 2025
ea41c65
doc: fix examples how to specify watched CR in Watches()
jokuniew May 30, 2025
72a5ab5
Merge pull request #4841 from jokuniew/watch-source-kind-doc-fix
k8s-ci-robot May 30, 2025
66880e1
fix(cli): ensure 'alpha generate' runs 'make manifests generate fmt v…
camilamacedo86 Jun 1, 2025
d32a187
**(cli):** Fixed an issue where `alpha generate` skipped files and di…
camilamacedo86 Jun 1, 2025
f085992
Merge pull request #4842 from camilamacedo86/fix-alpha-generate-cleanup
k8s-ci-robot Jun 1, 2025
4ccbe2e
(cli) fix: allow 'alpha generate' to work with unsupported plugins by…
camilamacedo86 Jun 1, 2025
06a047f
Merge pull request #4843 from camilamacedo86/fix-alpha-postscaffold
k8s-ci-robot Jun 1, 2025
18a3d38
feat: improve UX and maintainability by auto-uncommenting webhook blocks
camilamacedo86 May 25, 2025
0b5f164
(cli): enhance help information for kubebuilder alpha generate command
camilamacedo86 Jun 1, 2025
0ebd37e
fix: correct grammar in test purpose comments
camilamacedo86 Jun 1, 2025
111456b
(fix): postscaffold for alpha generate should return warning (follow …
camilamacedo86 Jun 1, 2025
74eb284
Merge pull request #4847 from camilamacedo86/nit-fix-grammar-comment
k8s-ci-robot Jun 1, 2025
d9eb4de
(fix): remove unused marker +kubebuilder:conversion:hub
camilamacedo86 Jun 1, 2025
4ba7474
Merge pull request #4848 from camilamacedo86/fix-alpha-generate
k8s-ci-robot Jun 1, 2025
8ec260a
🌱 (ci) - Enable tests against k8s 1.33 (#4852)
camilamacedo86 Jun 2, 2025
270ae0f
(ci): Temporarily comment out tests failing on Kubernetes 1.33 to unb…
camilamacedo86 Jun 4, 2025
1d79aa1
Merge pull request #4856 from camilamacedo86/ci-comment-blockers
k8s-ci-robot Jun 5, 2025
7f262d7
:seedling: Bump golang.org/x/text from 0.25.0 to 0.26.0
dependabot[bot] Jun 5, 2025
8e556c6
Merge pull request #4858 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jun 9, 2025
2f26215
:seedling: Bump golang.org/x/tools from 0.33.0 to 0.34.0
dependabot[bot] Jun 9, 2025
59fbd4c
Merge pull request #4861 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jun 10, 2025
dd04987
Upgrade usage of cert-manager from v1.17.2 to v1.18.0
camilamacedo86 Jun 12, 2025
97f6016
Merge pull request #4866 from camilamacedo86/cert-manager-up
k8s-ci-robot Jun 12, 2025
012e741
✨ Upgrade golang-ci from v2.1.0 to v2.1.6 (#4867)
camilamacedo86 Jun 12, 2025
bcdda7c
fix: ensure manager and curl pod use readOnlyRootFilesystem to comply…
camilamacedo86 Jun 12, 2025
ef43533
(fix) - e2e tests SA spec name is not accurate to inform the SA
camilamacedo86 Jun 12, 2025
06e3c2f
Merge pull request #4869 from camilamacedo86/psa
k8s-ci-robot Jun 12, 2025
1d073d9
Merge pull request #4868 from camilamacedo86/fix-sa
k8s-ci-robot Jun 12, 2025
a370e16
(e2e test context): not try remove ns when we uninstall release
camilamacedo86 Jun 12, 2025
5d3e33b
Merge pull request #4870 from camilamacedo86/ci-lint-fix
k8s-ci-robot Jun 12, 2025
64455de
Upgrade cert-manager from v0.18.0 to v0.18.1
camilamacedo86 Jun 19, 2025
97602f6
📖 docs: fix code block rendering (#4877)
starbops Jun 19, 2025
9f9ecf9
Merge pull request #4878 from camilamacedo86/upgrade-cert-latest
k8s-ci-robot Jun 19, 2025
cc59c89
Merge pull request #4826 from camilamacedo86/add-ux-webhooks
k8s-ci-robot Jun 21, 2025
8469e62
Merge pull request #4844 from camilamacedo86/fix-command-options
k8s-ci-robot Jun 21, 2025
0c3b376
Merge pull request #4846 from camilamacedo86/fix-help-info-alpha
k8s-ci-robot Jun 21, 2025
d8d69dd
(ci) - fix cleanup for go/v4 e2e tests
camilamacedo86 Jun 5, 2025
2b808a6
Merge pull request #4880 from camilamacedo86/cleanup-e2e
k8s-ci-robot Jun 21, 2025
b9c3ab6
Merge pull request #4849 from camilamacedo86/fix-scenario-unused-marker
k8s-ci-robot Jun 21, 2025
66e1ab1
(ci) fix: e2e tests by adding sleep before metrics access to handle K…
camilamacedo86 Jun 21, 2025
202a630
Merge pull request #4882 from camilamacedo86/test-fix-2
k8s-ci-robot Jun 22, 2025
ddb8316
fix go/v4 e2e tests: skip kind node creation if it exist already
camilamacedo86 Jun 24, 2025
3b129c2
plugin/deploy-image,v1alpha1: drop patchStrategy/protobuf tags from C…
camilamacedo86 Jun 30, 2025
dce86b0
updated sigs.k8s.io/yaml version form 1.4.0 to 1.5.0 and changed form…
manalilatkar Jun 30, 2025
6d79463
Merge pull request #4893 from camilamacedo86/fix-confitions
k8s-ci-robot Jun 30, 2025
365ab32
Merge pull request #4895 from manalilatkar/issue_4886
k8s-ci-robot Jun 30, 2025
c8e888d
(ci) lint-samples: allow get all errors by once and remove config fla…
camilamacedo86 Jun 30, 2025
1d89427
Merge pull request #4883 from camilamacedo86/fix-e2e-cleanup
k8s-ci-robot Jun 30, 2025
f292f90
Merge pull request #4896 from camilamacedo86/ci-lint-samples
k8s-ci-robot Jun 30, 2025
d2918c9
plugin/deploy-image/v1alpha1 and sample: Improve status description f…
camilamacedo86 Jun 30, 2025
1f774a5
Merge pull request #4894 from camilamacedo86/full-fix-conditions
k8s-ci-robot Jun 30, 2025
e134454
Merge pull request #4789 from matrus2/finlizer_fix
k8s-ci-robot Jul 3, 2025
810baae
Upgrade cert-manager from 1.18.1 to 1.18.2
camilamacedo86 Jul 3, 2025
0844168
✨ Add alpha update command for 3-way project upgrade
vitorfloriano Jun 12, 2025
8ac30b1
Merge pull request #4905 from camilamacedo86/cert
k8s-ci-robot Jul 3, 2025
22cae49
Merge pull request #4871 from vitorfloriano/feat-alpha-update
k8s-ci-robot Jul 3, 2025
0ee91d6
🌱 Bump golang.org/x/mod v0.25.0 -> move from indirect to required (#4…
camilamacedo86 Jul 6, 2025
5837b2d
🐛 (deploy-image/v1-alpha1): Remove default max size validation (#4909)
camilamacedo86 Jul 6, 2025
910bf55
(deploy-image/v1alpha): ensure that api scaffold are follwing k8s api…
camilamacedo86 Jun 30, 2025
6103636
Merge pull request #4897 from camilamacedo86/deploy-image
k8s-ci-robot Jul 7, 2025
3074a10
🌱 [hack-generate docs]: Update errors comments to make easier find wh…
camilamacedo86 Jul 7, 2025
9a0b86d
(go/v4): Ensure that default API scaffold follow k8s api conventions
camilamacedo86 Jul 5, 2025
cf9a6ee
Merge pull request #4907 from camilamacedo86/go-kal
k8s-ci-robot Jul 8, 2025
f4080eb
Revert changes to make status a pointer in favor of use omitzero; kee…
camilamacedo86 Jul 8, 2025
2dc5419
Merge pull request #4913 from camilamacedo86/fix-go-deploy-image
k8s-ci-robot Jul 9, 2025
6ba543b
⚠ (helm/v1-alpha): remove `init` command from Helm plugin as it's onl…
bavarianbidi Jul 9, 2025
5a1a35e
:book: Update Getting Started sample to comply with K8s API conventions
camilamacedo86 Jul 9, 2025
94beea5
:book: Update Cronjob Tutorials API spec descriptions to better adopt…
camilamacedo86 Jul 9, 2025
fb53f01
Merge pull request #4916 from camilamacedo86/cronjob-tutorials-docs-f…
k8s-ci-robot Jul 9, 2025
afcbd03
Merge pull request #4915 from camilamacedo86/update-getting-started-s…
k8s-ci-robot Jul 9, 2025
d1afaa6
:seedling: bump golang.org/x/mod from 0.25.0 to 0.26.0
dependabot[bot] Jul 9, 2025
2f2ac8f
Merge pull request #4918 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jul 10, 2025
890996f
:seedling: bump golang.org/x/text from 0.26.0 to 0.27.0
dependabot[bot] Jul 10, 2025
e76b8a1
Merge pull request #4919 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jul 10, 2025
4109d2e
feat: guide for building a bundle with kubebuilder-based projects for…
rayowang Jul 9, 2025
9623a8b
Merge pull request #4884 from rayowang/distributing-kubebuilder-project
k8s-ci-robot Jul 10, 2025
4aa8c2e
(chore): Optmize CI time and usage of resources
camilamacedo86 Jul 11, 2025
1948c3e
Merge pull request #4921 from camilamacedo86/add-make-tests-faster
k8s-ci-robot Jul 11, 2025
5501b8f
:seedling: Bump golang.org/x/tools from 0.34.0 to 0.35.0
dependabot[bot] Jul 11, 2025
bc23f9d
Merge pull request #4922 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jul 12, 2025
194a1cb
:seedling: (alpha update command): add e2e test
vitorfloriano Jul 10, 2025
5465387
Merge pull request #4920 from vitorfloriano/dev/e2e-test-alpha-update
k8s-ci-robot Jul 12, 2025
3be1249
(doc): Upgrade Migration and Documentation over Alpha Commands
camilamacedo86 Jul 12, 2025
cf5dbb3
Merge pull request #4923 from camilamacedo86/doc-update-command
k8s-ci-robot Jul 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
go-version-file: go.mod
- name: Execute go-apidiff
uses: joelanford/[email protected].2
uses: joelanford/[email protected].3
with:
compare-imports: true
print-compatible: true
51 changes: 4 additions & 47 deletions .github/workflows/external-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,57 +18,14 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Clone the code
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1 # Minimal history to avoid .git permissions issues

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1/go.mod

- name: Build Sample External Plugin
working-directory: docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1
run: |
mkdir -p ./bin
make build

- name: Move Plugin Binary to Plugin Path
run: |
# Define the plugin destination for Linux (XDG_CONFIG_HOME path)
XDG_CONFIG_HOME="${HOME}/.config"
PLUGIN_DEST="$XDG_CONFIG_HOME/kubebuilder/plugins/sampleexternalplugin/v1"

# Ensure destination exists and move the built binary
mkdir -p "$PLUGIN_DEST"
mv docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1/bin/sampleexternalplugin "$PLUGIN_DEST/sampleexternalplugin"
chmod +x "$PLUGIN_DEST/sampleexternalplugin" # Ensure the binary is executable

- name: Build Kubebuilder Binary and Setup Environment
env:
KUBEBUILDER_ASSETS: $GITHUB_WORKSPACE/bin
run: |
# Build Kubebuilder Binary
export kb_root_dir=$(pwd)
go build -o "${kb_root_dir}/bin/kubebuilder" ./cmd
chmod +x "${kb_root_dir}/bin/kubebuilder" # Ensure kubebuilder binary is executable
echo "${kb_root_dir}/bin" >> $GITHUB_PATH # Add to PATH
go-version-file: go.mod

- name: Create Directory, Run Kubebuilder Commands, and Validate Results
env:
KUBEBUILDER_ASSETS: $GITHUB_WORKSPACE/bin
run: |
# Create a directory named testplugin for running kubebuilder commands
mkdir testplugin
cd testplugin

# Run Kubebuilder commands inside the testplugin directory
kubebuilder init --plugins sampleexternalplugin/v1 --domain sample.domain.com
kubebuilder create api --plugins sampleexternalplugin/v1 --number=2 --group=example --version=v1alpha1 --kind=ExampleKind
kubebuilder create webhook --plugins sampleexternalplugin/v1 --hooked --group=example --version=v1alpha1 --kind=ExampleKind
- name: Run tests
run: make test-external-plugin

# Validate generated file contents
grep "DOMAIN: sample.domain.com" ./initFile.txt || exit 1
grep "NUMBER: 2" ./apiFile.txt || exit 1
grep "HOOKED!" ./webhookFile.txt || exit 1
6 changes: 3 additions & 3 deletions .github/workflows/lint-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
lint-samples:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
folder: [
"testdata/project-v4",
Expand All @@ -36,11 +37,10 @@ jobs:
working-directory: ${{ matrix.folder }}
run: make lint-config
- name: Run linter
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.63.4
version: v2.1.6
working-directory: ${{ matrix.folder }}
args: --config .golangci.yml ./...
- name: Run linter via makefile target
working-directory: ${{ matrix.folder }}
run: make lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Check linter configuration
run: make lint-config
- name: Run linter
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.63.4
version: v2.1.6

yamllint:
runs-on: ubuntu-latest
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/test-alpha-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ jobs:
run: |
sed -i 's#go.kubebuilder.io/v4#go.kubebuilder.io/v3#g' testdata/project-v4/PROJECT

# Validate if help output is working and workaround to
# update the PROJECT file in memory to allow upgrade
# no longer supported layouts did not break the command options
- name: Validate help output for alpha generate
run: |
if kubebuilder alpha generate --help | grep -q "kubebuilder alpha generate \[flags\]"; then
echo "Help output validated"
else
echo "Help output missing or invalid"
exit 1
fi

- name: Run kubebuilder alpha generate
run: |
cd testdata/project-v4 && kubebuilder alpha generate
cd testdata/project-v4 && kubebuilder alpha generate

23 changes: 1 addition & 22 deletions .github/workflows/test-e2e-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,9 @@ jobs:

- name: Prepare project-v4
run: |
# Enable [METRICS-WITH-CERTS] by uncommenting the lines in kustomization.yaml
KUSTOMIZATION_FILE_PATH="testdata/project-v4/config/default/kustomization.yaml"
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '47,49s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment all cert-manager injections
sed -i '59,234s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '236,251s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4/
go mod tidy

Expand Down Expand Up @@ -81,17 +78,6 @@ jobs:

- name: Prepare project-v4-with-plugins
run: |
KUSTOMIZATION_FILE_PATH="testdata/project-v4-with-plugins/config/default/kustomization.yaml"
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment only ValidatingWebhookConfiguration
# from cert-manager replaces; we are leaving defaulting uncommented
# since this sample has no defaulting webhooks
sed -i '59,77s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '90,107s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '120,186s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment only --conversion webhooks CA injection
sed -i '219,234s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '236,251s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4-with-plugins/
go mod tidy

Expand Down Expand Up @@ -128,13 +114,6 @@ jobs:

- name: Prepare project-v4-multigroup
run: |
KUSTOMIZATION_FILE_PATH="testdata/project-v4-multigroup/config/default/kustomization.yaml"
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment all cert-manager injections for webhooks only
sed -i '59,77s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '90,107s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '120,234s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '236,251s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4-multigroup
go mod tidy

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
uses: actions/checkout@v4

- name: Validate PR Title Format
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
TITLE="${{ github.event.pull_request.title }}"

if [[ -z "$TITLE" ]]; then
echo "Error: PR title cannot be empty."
exit 1
fi

if ! [[ "$TITLE" =~ ^($'\u26A0'|$'\u2728'|$'\U0001F41B'|$'\U0001F4D6'|$'\U0001F680'|$'\U0001F331') ]]; then
echo "Error: Invalid PR title format."
echo "Your PR title must start with one of the following indicators:"
Expand All @@ -32,5 +32,5 @@ jobs:
echo "- Infra/Tests/Other: 🌱 (U+1F331)"
exit 1
fi

echo "PR title is valid: '$TITLE'"
153 changes: 81 additions & 72 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,92 +1,101 @@
version: "2"
run:
timeout: 5m
allow-parallel-runners: true

issues:
# don't skip warning about doc comments
# don't exclude the default set of lint
exclude-use-default: false
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
- linters: [gosec]
path: "test/e2e/*"
- path: "hack/docs/*"
linters:
- lll
- gosec

linters-settings:
govet:
enable-all: true
disable:
- fieldalignment
- shadow
nolintlint:
allow-unused: false
revive:
rules:
# The following rules are recommended https://github.com/mgechev/revive#recommended-configuration
- name: blank-imports
- name: context-as-argument
- name: context-keys-type
- name: dot-imports
arguments:
# dot import should be ONLY allowed for ginkgo testing packages
- allowedPackages:
- "github.com/onsi/ginkgo/v2"
- "github.com/onsi/gomega"
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: if-return
- name: increment-decrement
- name: var-naming
- name: var-declaration
- name: package-comments
disabled: true # TODO: Investigate if it should be enabled. Disabled for now due to many findings.
- name: range
- name: receiver-naming
- name: time-naming
- name: unexported-return
- name: indent-error-flow
- name: errorf
- name: empty-block
- name: superfluous-else
- name: unused-parameter
- name: unreachable-code
- name: redefines-builtin-id
#
# Rules in addition to the recommended configuration above.
#
- name: bool-literal-in-expr
- name: constant-logical-expr
- name: comment-spacings

linters:
disable-all: true
default: none
enable:
- asciicheck
- bidichk
- copyloopvar
- dupl
- errcheck
- copyloopvar
- ginkgolinter
- goconst
- gocyclo
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- lll
- misspell
- nolintlint
- nakedret
- nolintlint
- prealloc
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused

- wrapcheck
- whitespace
settings:
ginkgolinter:
forbid-focus-container: true
forbid-spec-pollution: true
govet:
disable:
- fieldalignment
enable-all: true
nolintlint:
allow-unused: false
revive:
rules:
- name: blank-imports
- name: context-as-argument
- name: context-keys-type
- name: dot-imports
arguments:
- allowedPackages:
- github.com/onsi/ginkgo/v2
- github.com/onsi/gomega
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: if-return
- name: import-shadowing
- name: increment-decrement
- name: var-naming
- name: var-declaration
- name: package-comments
disabled: true
- name: range
- name: receiver-naming
- name: time-naming
- name: unexported-return
- name: indent-error-flow
- name: errorf
- name: empty-block
- name: superfluous-else
- name: unused-parameter
- name: unreachable-code
- name: redefines-builtin-id
- name: bool-literal-in-expr
- name: constant-logical-expr
- name: comment-spacings
exclusions:
generated: lax
rules:
- linters:
- gosec
path: test/e2e/*
- linters:
- gosec
- lll
path: hack/docs/*
- linters:
- revive
text: 'should have comment or be unexported'
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- gofumpt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ To manually setup run:
```shell
# To generate an Kubebuilder local binary with your changes
make install
# To create the cluster and configure a CNI which supports NetworkPolicy
# To create the cluster
kind create cluster --config ./test/e2e/kind-config.yaml
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
```

Now, you can for example, run in debug mode the `test/e2e/v4/e2e_suite_test.go`:
Expand Down
Loading
Loading