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

📖 Update docs with release v4.4.0 #4484

Merged
merged 182 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
aa754c7
Include admin ClusterRole and add it to the scaffold
damsien Nov 6, 2024
57fdc48
Add Patch to give optional option to enable ServiceMonitor to use cer…
camilamacedo86 Oct 29, 2024
57892ba
Merge pull request #4243 from camilamacedo86/patch-cert-mamager-servi…
k8s-ci-robot Nov 9, 2024
75ac2fb
Enable `seccompProfile.type: RuntimeDefault` by default in scaffolded…
camilamacedo86 Oct 30, 2024
4ea479c
Merge pull request #4299 from damsien/master
k8s-ci-robot Nov 9, 2024
0df6220
Merge pull request #4251 from camilamacedo86/remove-comment-line-ensu…
k8s-ci-robot Nov 9, 2024
ad4afdb
✨ Add helm plugin to distribute projects (#4227)
camilamacedo86 Nov 10, 2024
70225f9
Add the proposal about the helm chart autogenerate plugin.
dashanji Aug 2, 2024
04a3f80
Follow-up to PR #4243: Limit permissions to access the metrics-server…
camilamacedo86 Nov 10, 2024
f44b25e
doc: update roadmap for 2024
camilamacedo86 Nov 10, 2024
6bf7566
Merge pull request #3632 from dashanji/add-helm-chart-proposal
k8s-ci-robot Nov 10, 2024
f8068fb
(helm/v1-alpha): add missed info to chart values
camilamacedo86 Nov 10, 2024
5154c47
Merge pull request #4312 from camilamacedo86/fix-permissions
k8s-ci-robot Nov 10, 2024
b780558
Merge pull request #4313 from camilamacedo86/roadmap-update-nov
k8s-ci-robot Nov 10, 2024
40db2b8
Merge pull request #4315 from camilamacedo86/add-info-crd-keep
k8s-ci-robot Nov 10, 2024
ad1088b
📖 Update README.md - Fix typo
monteiro-renato Nov 11, 2024
900b617
Merge pull request #4318 from monteiro-renato/patch-1
k8s-ci-robot Nov 11, 2024
a875488
:book: Bump sigs.k8s.io/kubebuilder/v4
dependabot[bot] Nov 11, 2024
782a4da
Merge pull request #4322 from kubernetes-sigs/dependabot/go_modules/d…
k8s-ci-robot Nov 12, 2024
66cc600
📖: Fix typo in CONTRIBUTING-ROLES.md
monteiro-renato Nov 13, 2024
bf45fd4
Fix readme your-own-plugin
damsien Nov 13, 2024
e62cc33
Merge pull request #4324 from monteiro-renato/patch-1
k8s-ci-robot Nov 13, 2024
7e8c1ee
Merge pull request #4325 from damsien/fix-readme-create-plugin
k8s-ci-robot Nov 13, 2024
e9beffb
📖 doc: add .github/SECURITY.md with further information (#4253)
camilamacedo86 Nov 15, 2024
5a2d2de
📖: update testdata reference
emmanuel-ferdman Nov 15, 2024
20a9955
Merge pull request #4328 from emmanuel-ferdman/master
k8s-ci-robot Nov 15, 2024
1a41eec
📖 : Fix typo in contributing roles (#4329)
damsien Nov 15, 2024
d8f4da2
🌱 : Fix `make remove-spaces` for GNU system (#4330)
damsien Nov 15, 2024
1aa1dc9
🌱 : Revert Fix `make remove-spaces` for GNU system" (#4331)
camilamacedo86 Nov 16, 2024
1a66abc
✨ Upgrade controller-gen from v0.16.4 to v0.16.5 (#4332)
camilamacedo86 Nov 17, 2024
026c5f0
📖 Fix incorrect link address (#4333)
LJTian Nov 18, 2024
38421b6
removed typeDegradedMemcached and comment
vtrenton Nov 20, 2024
2cb3c51
Merge pull request #4335 from vtrenton/remove-unused-var
k8s-ci-robot Nov 20, 2024
0ec57ec
📖 small fixes to extending_cli_features_and_plugins.md
monteiro-renato Nov 20, 2024
1fa6c2d
📖 Fix broken reference to project-file instead of project-file-config
monteiro-renato Nov 20, 2024
558f151
Merge pull request #4336 from monteiro-renato/patch-1
k8s-ci-robot Nov 20, 2024
1e9d476
📖 small fixes to extending_cli_features_and_plugins.md
monteiro-renato Nov 20, 2024
b0885c9
Merge pull request #4337 from monteiro-renato/patch-2
k8s-ci-robot Nov 20, 2024
d4ece28
📖 Fix: missing url to plugin-utils in extending_cli_features_and_plug…
monteiro-renato Nov 20, 2024
c74e755
📖 small fixes to extending_cli_features_and_plugins.md
monteiro-renato Nov 20, 2024
2ea2e1e
📖 Fix: typo in external-plugins.md
monteiro-renato Nov 20, 2024
df60481
Merge pull request #4343 from monteiro-renato/patch-6
k8s-ci-robot Nov 20, 2024
c12743b
📖 Fix: typo in external-plugins.md
monteiro-renato Nov 20, 2024
be463a2
📖 Fix: broken urls in testing-plugins.md
monteiro-renato Nov 20, 2024
6fdd92c
📖 fix : typo in README.md
monteiro-renato Nov 20, 2024
a2e0553
Merge pull request #4349 from monteiro-renato/patch-6
k8s-ci-robot Nov 20, 2024
9325f67
Merge pull request #4345 from monteiro-renato/patch-8
k8s-ci-robot Nov 20, 2024
48971b4
🐛 fix: Fix the rendered value for app.kubernetes.io/name
monteiro-renato Nov 20, 2024
fd09588
🐛 fix: Remove extra space before the labels section
monteiro-renato Nov 20, 2024
81c6a2b
Merge pull request #4338 from monteiro-renato/patch-3
k8s-ci-robot Nov 20, 2024
0fb8a13
Merge pull request #4347 from monteiro-renato/patch-10
k8s-ci-robot Nov 20, 2024
75e906d
Merge pull request #4350 from monteiro-renato/patch-12
k8s-ci-robot Nov 20, 2024
5d9d4ac
Merge pull request #4351 from monteiro-renato/patch-13
k8s-ci-robot Nov 20, 2024
0f15ebc
Merge pull request #4340 from monteiro-renato/patch-1
k8s-ci-robot Nov 20, 2024
e07823e
Merge pull request #4348 from monteiro-renato/patch-11
k8s-ci-robot Nov 20, 2024
8a47329
:book: update metrics documentation to bring more clarity (#4358)
camilamacedo86 Nov 21, 2024
45925f3
🌱 fix: run make generate to fix ci (#4353)
monteiro-renato Nov 21, 2024
da3f8de
🐛 fix: add missing replicas field to the Deployment generated by the …
monteiro-renato Nov 21, 2024
bbf687b
:book: follow up of update metrics documentation to bring more clarit…
camilamacedo86 Nov 21, 2024
701390e
🌱 fix file.Template to machinery.Template in the comments
monteiro-renato Nov 21, 2024
26f526a
🐛 fix: add missing name prefix and namespace to leader-election-role …
monteiro-renato Nov 21, 2024
9d11571
📖 add notice to make bring awarness to the need to move away and no l…
camilamacedo86 Nov 21, 2024
ea5c65f
📖 Readme: Make more clear notice abour kube-rbac-proxy (#4364)
camilamacedo86 Nov 21, 2024
3a8936e
📖 Update README.md - Fix layout from notice (#4365)
camilamacedo86 Nov 21, 2024
ec04bb0
:book: nit - remove spaces (#4366)
camilamacedo86 Nov 21, 2024
316a3cb
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
dependabot[bot] Nov 21, 2024
70fd17d
Merge pull request #4367 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Nov 22, 2024
da87b6b
Merge pull request #4339 from monteiro-renato/patch-4
k8s-ci-robot Nov 22, 2024
ee691f4
make remove-spaces compatible with GNU & MAC OS X system
damsien Nov 20, 2024
66d5f86
🐛 fix: (helm/v1alpha1): env config should not be dependent on DeployI…
monteiro-renato Nov 22, 2024
1ab2d91
Merge pull request #4356 from monteiro-renato/monteiro-renato-patch-1
k8s-ci-robot Nov 22, 2024
9bb9b91
Merge pull request #4357 from monteiro-renato/patch-1
k8s-ci-robot Nov 22, 2024
08e57aa
Fix broken plugin URL in getting-started.md
pengqun Nov 22, 2024
e912c51
Merge pull request #4371 from monteiro-renato/patch-6
k8s-ci-robot Nov 22, 2024
21a648a
✨ feat: (helm/v1alpha1): Allow extra pod labels to be configured
monteiro-renato Nov 22, 2024
794c846
📖 Update discontinue_usage_of_kube_rbac_proxy.md - Typos/grammar fixe…
camilamacedo86 Nov 22, 2024
307342a
Merge pull request #4354 from damsien/make-remove-spaces
k8s-ci-robot Nov 22, 2024
4299607
(helm/v1alpha): fix default value of the force flag
camilamacedo86 Nov 22, 2024
4d82257
Merge pull request #4372 from pengqun/fix-docs
k8s-ci-robot Nov 22, 2024
82150b0
(helm/v1alpha1): add GitHub action to make easier validate the chart …
camilamacedo86 Nov 22, 2024
504e625
Merge pull request #4375 from camilamacedo86/fix-force-flag
k8s-ci-robot Nov 22, 2024
87f2cb2
fix: ensure that github actions are not overwritten
camilamacedo86 Nov 22, 2024
9f29104
📖 Fix: broken url in extending_cli_features_and_plugins.md (#4341)
monteiro-renato Nov 22, 2024
27061e0
📖 Fix: broken url in go-v4-plugin.md (#4352)
monteiro-renato Nov 22, 2024
d40e7f2
📖 Fix: broken url in external-plugins.md (#4346)
monteiro-renato Nov 22, 2024
c35cd8f
Merge pull request #4377 from camilamacedo86/helm-github
k8s-ci-robot Nov 22, 2024
56e8901
Merge pull request #4379 from camilamacedo86/skip-github-file
k8s-ci-robot Nov 22, 2024
a1fc508
📖 Fix: broken url in extending_cli_features_and_plugins.md (#4344)
monteiro-renato Nov 22, 2024
ab96f9a
📖 remove duplicated entry [plugin-subc], [plugin-sub-command] is the …
monteiro-renato Nov 22, 2024
867ccdd
🐛 : (go/v4) fixes based on golangci-lint run -v
monteiro-renato Nov 22, 2024
4cc36da
Merge pull request #4384 from monteiro-renato/patch-2
k8s-ci-robot Nov 22, 2024
256de94
🐛 fix: (helm/v1alpha1): install the prometheus-operator CRDs before i…
monteiro-renato Nov 24, 2024
ce68302
Update metrics.md - centralize the info in the discussion
camilamacedo86 Nov 24, 2024
c141fac
📖 Update roadmap_2024.md - Latest Status - Nov 2024 (#4334)
camilamacedo86 Nov 24, 2024
6e638c4
✨ feat: (helm/v1alpha1): Allow ServiceAccount annotations to be confi…
monteiro-renato Nov 24, 2024
8911e2f
Merge pull request #4383 from monteiro-renato/patch-4378
k8s-ci-robot Nov 24, 2024
5bc4815
Merge pull request #4380 from monteiro-renato/patch-1
k8s-ci-robot Nov 24, 2024
8ec703e
Merge pull request #4373 from monteiro-renato/patch-8
k8s-ci-robot Nov 24, 2024
de50ec6
✨ (helm/v1alpha1): Add a step to render the chart in the GitHub Action
monteiro-renato Nov 24, 2024
405a0b0
Merge pull request #4386 from monteiro-renato/patch-4377-cont
k8s-ci-robot Nov 24, 2024
6236bb6
Update actions to use go.mod for Go version management
camilamacedo86 Nov 24, 2024
c3b2eb9
Merge pull request #4385 from camilamacedo86/enhance-go-version
k8s-ci-robot Nov 24, 2024
703ad9e
(doc): Add the main goals for 2025
camilamacedo86 Nov 10, 2024
cd5f6b1
🐛 fix: (helm/v1alpha1): Add missing prefixes in various k8s resources
monteiro-renato Nov 25, 2024
077dea8
Merge pull request #4388 from monteiro-renato/patch-1
k8s-ci-robot Nov 25, 2024
b4f516e
remove everettraven from reviewers to emeritus reviewers
everettraven Nov 25, 2024
19237b5
Merge pull request #4389 from everettraven/owners/bryce-removal
k8s-ci-robot Nov 25, 2024
75a3fb7
:seedling: Bump github.com/onsi/gomega from 1.35.1 to 1.36.0
dependabot[bot] Nov 25, 2024
c32f971
Merge pull request #4392 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Nov 26, 2024
9fa1285
fix: centralize plugin key declaration
mateusoliveira43 Nov 25, 2024
cbc6e38
Merge pull request #4390 from mateusoliveira43/fix/centralize-plugin-key
k8s-ci-robot Nov 27, 2024
781e93f
:sparkles: (go/v4): Add Hub and Spoke for conversion webhooks (#4254)
camilamacedo86 Nov 30, 2024
7d4c91d
(kustomize/v2, go/v4): Fix ca injection for conversion webhooks
camilamacedo86 Nov 1, 2024
9fb415f
Use the ServiceAccount name defined in the values.yaml
wjiec Dec 2, 2024
48eaf6b
fix: deploy-image plugin refactor
mateusoliveira43 Nov 29, 2024
503eb5a
Merge pull request #4406 from wjiec/bugfix/helm-sa-name
k8s-ci-robot Dec 2, 2024
a8b23ca
✨ feat: Automate ENVTEST version from go.mod (#4401)
camilamacedo86 Dec 2, 2024
ba2825d
Merge pull request #4399 from mateusoliveira43/fix/deploy-image-plugi…
k8s-ci-robot Dec 2, 2024
9434146
:seedling: Bump golang.org/x/tools from 0.27.0 to 0.28.0
dependabot[bot] Dec 4, 2024
bef0367
Merge pull request #4409 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Dec 5, 2024
9b5ad9c
fix: conversion webhook E2E test
mateusoliveira43 Dec 2, 2024
005b503
doc: validating and parsing CRD fields
mateusoliveira43 Nov 26, 2024
391ad16
Merge pull request #4396 from mateusoliveira43/doc/validating-parsing…
k8s-ci-robot Dec 6, 2024
7c14cc9
📖 Update getting-started.md (#4413)
dsolerh Dec 6, 2024
6c6d6fa
Merge pull request #4407 from mateusoliveira43/fix/conversion-webhook…
k8s-ci-robot Dec 6, 2024
f3e8d3a
📖 [ISSUE-4414] Fix typo in getting-started.md (#4415)
jameskim0987 Dec 8, 2024
423d56b
Merge pull request #4282 from camilamacedo86/fix-ca-injection-convers…
k8s-ci-robot Dec 9, 2024
ee7cc14
🌱Build the kubebuilder binary before and use it to regenerate the hel…
monteiro-renato Dec 10, 2024
8f2b8ac
📖 [ISSUE-4417] Fix minor hyperlink formatting in `emptymain.go` (#4418)
jameskim0987 Dec 10, 2024
6bb7aa8
🐛 fix: (helm/v1alpha1): remove redundant condition in if clause
monteiro-renato Dec 10, 2024
820372e
Merge pull request #4419 from monteiro-renato/patch-2
k8s-ci-robot Dec 10, 2024
01d66bb
:seedling: Bump github.com/onsi/gomega from 1.36.0 to 1.36.1
dependabot[bot] Dec 10, 2024
d240946
Merge pull request #4421 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Dec 11, 2024
43ee3f6
Merge pull request #4420 from monteiro-renato/patch-3
k8s-ci-robot Dec 13, 2024
489145d
feat: add webhook CertWatcher and flags for custom certificate config…
camilamacedo86 Dec 14, 2024
e0b86dc
Merge pull request #4429 from camilamacedo86/webhook-watcher
k8s-ci-robot Dec 15, 2024
aaaa137
📖 Fix: move v2vsv3.md to the legacy folder and update references
monteiro-renato Dec 15, 2024
7ca04b8
feat/fix: enhance cert-manager integration for metrics endpoints (fol…
camilamacedo86 Dec 16, 2024
33024c9
fix: use same golangci-lint version
mateusoliveira43 Dec 17, 2024
e54dabf
Merge pull request #4400 from camilamacedo86/protect-metrics-production
k8s-ci-robot Dec 18, 2024
afbacb2
Merge pull request #4432 from mateusoliveira43/fix/use-same-golangci-…
k8s-ci-robot Dec 18, 2024
814e0d7
Merge pull request #4431 from monteiro-renato/patch-88
k8s-ci-robot Dec 18, 2024
8d7a877
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1
dependabot[bot] Dec 20, 2024
ea2dee6
:sparkles: feat: enforce restricted Pod Security Context Compliance i…
lunarwhite Dec 23, 2024
49ad403
Merge pull request #4436 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Dec 23, 2024
6b8b08f
✨ (kustomize/v2) feat: use a more precise selector in default scaffold
wjiec Dec 23, 2024
3dce03c
:seedling: add desc
fengshunli Dec 24, 2024
2990f5e
:seedling: Bump github.com/onsi/gomega from 1.36.1 to 1.36.2
dependabot[bot] Dec 25, 2024
3e7c1d2
Merge pull request #4438 from fengshunli/desc
k8s-ci-robot Dec 25, 2024
a4d815a
Merge pull request #4437 from wjiec/feat/sel
k8s-ci-robot Dec 25, 2024
944a9de
Merge pull request #4440 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Dec 25, 2024
ca5f69b
🌱improve Ginkgo/Gomega test style
Sijoma Dec 14, 2024
1024dc4
:book: improve description for the scaffolded tests (#4443)
mateusoliveira43 Dec 27, 2024
318a6eb
(ci): Improve GitHub Action to linter simples
camilamacedo86 Dec 27, 2024
d16e6c3
Merge pull request #4426 from Sijoma/master
k8s-ci-robot Dec 27, 2024
88f606f
Merge pull request #4444 from camilamacedo86/improve-sample-linter
k8s-ci-robot Dec 27, 2024
6fb374f
:sparkles: (go/v4): Standardize the webhook and controller test suite…
mateusoliveira43 Dec 27, 2024
b56ccad
✨ Upgrade golangci-lint from v1.61.0 to v1.62.2 (#4448)
camilamacedo86 Dec 27, 2024
e25aec4
Merge pull request #4316 from camilamacedo86/roadmap-2025
k8s-ci-robot Dec 27, 2024
a8e72c3
✨ Upgrade scaffolds to use go 1.23 (#4446)
camilamacedo86 Dec 30, 2024
980fb71
🌱 e2e - ensure that error from command is checked (#4452)
camilamacedo86 Dec 30, 2024
0dd8d89
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 (#4455)
dependabot[bot] Dec 31, 2024
0159ba3
:seedling: fix: use Go version from go.mod file in CI (#4454)
mateusoliveira43 Dec 31, 2024
f5d9660
🌱 e2e tests improve assertions by simplify style of checks (#4456)
camilamacedo86 Jan 1, 2025
63d67e3
✨ Upgrade controller-gen from v0.16.5 to v0.17.0 (#4457)
camilamacedo86 Jan 1, 2025
06b67eb
🌱 Add lint-config target to validate config and fix issues faced (#4458)
camilamacedo86 Jan 1, 2025
1d12979
🌱 Enable lint check empty-block and fix issues (#4459)
camilamacedo86 Jan 1, 2025
bab2741
🌱 Enable var-naming lint and fix issues for Kubebuilder CLI (#4460)
camilamacedo86 Jan 1, 2025
4f1a0bf
🌱 Enable if-return linter check and fix issues for Kubebuilder CLI (#…
camilamacedo86 Jan 1, 2025
ee22896
✨ (go/v4): Add new makefile target to check and validate the linter c…
camilamacedo86 Jan 1, 2025
9c36b61
🌱 Enable the lint to check exported methods and fix issues (#4463)
camilamacedo86 Jan 1, 2025
f051464
🐛 (go/v4) ensure that schemas are added before start EnvTest-based su…
mateusoliveira43 Jan 2, 2025
18df538
:seedling: Enable govet settings and fix issue found (#4465)
mateusoliveira43 Jan 2, 2025
18ef6dd
:seedling:: simplify E2E Book Samples job (#4469)
mateusoliveira43 Jan 6, 2025
d741ec6
:seedling: fix: remaining Go upgrades (#4470)
mateusoliveira43 Jan 6, 2025
998dcba
:seedling: fix: remove unused nolint comments (#4468)
mateusoliveira43 Jan 6, 2025
250d677
:seedling: Bump golang.org/x/tools from 0.28.0 to 0.29.0 (#4473)
dependabot[bot] Jan 7, 2025
458615a
🌱 : fix: remove unnecessary make manifests and make generate in E2E s…
mateusoliveira43 Jan 7, 2025
b9489ec
:seedling: Bump github.com/spf13/afero from 1.11.0 to 1.12.0 (#4480)
dependabot[bot] Jan 10, 2025
c074cfe
✨ Upgrade controller-runtime v0.19.1 to v0.19.4 (#4482)
camilamacedo86 Jan 12, 2025
55097d0
🐛 (helm/v1alpha1) - fix webhooks generation by removing data from hel…
camilamacedo86 Jan 12, 2025
484a6d2
Merge branch 'book-v4' into conflicts-metrics-md
camilamacedo86 Jan 12, 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
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Security Policy

## Security Announcements

Join the [kubernetes-security-announce] group for security and vulnerability announcements related to the Kubernetes ecosystem.

You can also subscribe to an RSS feed of these announcements using [this link][kubernetes-security-announce-rss].

## Reporting a Vulnerability

Instructions for reporting a vulnerability can be found on the [Kubernetes Security and Disclosure Information] page.

## Supported Versions

Kubebuilder is tested against the latest three Kubernetes releases, in alignment with the [Kubernetes version and version skew support policy](https://kubernetes.io/docs/setup/release/version-skew-policy/).

However, each version is only tested with the dependencies used for its release. For detailed information, please refer to the [compatibility and support policy on GitHub][compatibility-policy].

## Release Policy

Kubebuilder maintains a policy of releasing updates for the latest CLI version (currently v4). Older versions (v1, v2, v3) are no longer supported, and no releases will be produced for them. It is recommended to ensure that any project scaffolded by Kubebuilder remains aligned with the latest release.

## Automated Vulnerability Scanning

Kubebuilder employs automated scanning via Dependabot and GitHub Actions within its CI/CD pipeline. This process detects vulnerabilities in dependencies and configurations, generating daily or weekly reports prioritized for the latest supported versions.

- **Dependabot Configuration**: You can review the setup in `.github/dependabot.yml`.
- **Security Checks**: Security checks are enabled in the Kubebuilder repository settings.
- **Code Scanning**: The `.github/workflows/codeql.yml` workflow scans the `master` and `book-v4` branches, which typically contain the latest release code. Other release branches may not be scanned.

## Production-Grade Security

Projects generated by Kubebuilder are designed for ease of development and are **not** configured with production-grade security settings. For example, default configurations do not enable cert-manager or perform proper certificate validation, which may not be suitable for production environments. Ensure that you make the necessary adjustments to security settings before releasing your solution for production.

[kubernetes-security-announce]: https://groups.google.com/forum/#!forum/kubernetes-security-announce
[kubernetes-security-announce-rss]: https://groups.google.com/forum/feed/kubernetes-security-announce/msgs/rss_v2_0.xml?num=50
[Kubernetes version and version skew support policy]: https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions
[Kubernetes Security and Disclosure Information]: https://kubernetes.io/docs/reference/issues-security/security/#report-a-vulnerability
[compatibility-policy]: ./../README.md#versions-compatibility-and-supportability
[project-upgrade-assistant]: https://book.kubebuilder.io/reference/rescaffold
[testdata-directory]: https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata
[kubebuilder-releases]: https://github.com/kubernetes-sigs/kubebuilder/releases
2 changes: 1 addition & 1 deletion .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "~1.22"
go-version-file: go.mod
- name: Execute go-apidiff
uses: joelanford/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version-file: go.mod

- name: Build and install Kubebuilder CLI
run: make install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/external-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.3'
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/legacy-webhook-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.3'
go-version-file: go.mod
- name: Run make test-legacy
run: make test-legacy

29 changes: 20 additions & 9 deletions .github/workflows/lint-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,34 @@ on:
jobs:
lint-samples:
runs-on: ubuntu-latest
strategy:
matrix:
folder: [
"testdata/project-v4",
"testdata/project-v4-with-plugins",
"testdata/project-v4-multigroup"
]
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod
- name: Prepare ${{ matrix.folder }}
working-directory: ${{ matrix.folder }}
run: go mod tidy
- name: Check linter configuration
working-directory: ${{ matrix.folder }}
run: make lint-config
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
working-directory: testdata/project-v4
args: --config .golangci.yml ./...
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
working-directory: testdata/project-v4-with-plugins
version: v1.62.2
working-directory: ${{ matrix.folder }}
args: --config .golangci.yml ./...
- name: Run linter via makefile target
working-directory: ${{ matrix.folder }}
run: make lint

10 changes: 6 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ jobs:
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
- name: Clone the code
uses: actions/checkout@v4
go-version-file: go.mod
- name: Check linter configuration
run: make lint-config
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
version: v1.62.2

yamllint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod
- name: Clean dist directory
run: rm -rf dist || true
- name: Install Syft to generate SBOMs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go 1.22.x
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version-file: go.mod

- name: Setup NodeJS 20.x
uses: actions/setup-node@v4
Expand Down
75 changes: 10 additions & 65 deletions .github/workflows/test-e2e-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ on:
- '.github/workflows/test-e2e-book.yml'

jobs:
e2e-getting-started:
e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
folder: [
"docs/book/src/getting-started/testdata/project",
"docs/book/src/cronjob-tutorial/testdata/project",
"docs/book/src/multiversion-tutorial/testdata/project"
]
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
Expand All @@ -27,7 +33,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod

- name: Install the latest version of kind
run: |
Expand All @@ -41,67 +47,6 @@ jobs:
- name: Create kind cluster
run: kind create cluster

- name: Running make test-e2e for Getting Started tutorial sample
working-directory: docs/book/src/getting-started/testdata/project
- name: Running make test-e2e for ${{ matrix.folder }}
working-directory: ${{ matrix.folder }}
run: make test-e2e

e2e-cronjob-tutorial:
runs-on: ubuntu-latest
strategy:
fail-fast: true
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'

- name: Install the latest version of kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

- name: Verify kind installation
run: kind version

- name: Create kind cluster
run: kind create cluster

- name: Running make test-e2e for Cronjob tutorial sample
working-directory: docs/book/src/cronjob-tutorial/testdata/project
run: make test-e2e

e2e-multiversion-tutorial:
runs-on: ubuntu-latest
strategy:
fail-fast: true
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'

- name: Install the latest version of kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

- name: Verify kind installation
run: kind version

- name: Create kind cluster
run: kind create cluster

- name: Running make test-e2e for Multiversion tutorial sample
working-directory: docs/book/src/multiversion-tutorial/testdata/project
run: make test-e2e

25 changes: 17 additions & 8 deletions .github/workflows/test-e2e-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod

- name: Install the latest version of kind
run: |
Expand All @@ -41,7 +41,10 @@ jobs:
run: |
KUSTOMIZATION_FILE_PATH="testdata/project-v4/config/default/kustomization.yaml"
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '50,177s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '47,49s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment all cert-manager injections
sed -i '59,212s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '214,229s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4/
go mod tidy

Expand All @@ -62,7 +65,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod

- name: Install the latest version of kind
run: |
Expand All @@ -81,9 +84,12 @@ jobs:
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
sed -i '50,116s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '148,177s/^#//' $KUSTOMIZATION_FILE_PATH
# from cert-manager replaces; we are leaving defaulting uncommented
# since this sample has no defaulting webhooks
sed -i '59,164s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment only --conversion webhooks CA injection
sed -i '197,212s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '214,229s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4-with-plugins/
go mod tidy

Expand All @@ -104,7 +110,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
go-version-file: go.mod

- name: Install the latest version of kind
run: |
Expand All @@ -122,7 +128,10 @@ jobs:
run: |
KUSTOMIZATION_FILE_PATH="testdata/project-v4-multigroup/config/default/kustomization.yaml"
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '50,177s/^#//' $KUSTOMIZATION_FILE_PATH
# Uncomment all cert-manager injections for webhooks only
sed -i '59,59s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '98,212s/^#//' $KUSTOMIZATION_FILE_PATH
sed -i '214,229s/^#//' $KUSTOMIZATION_FILE_PATH
cd testdata/project-v4-multigroup
go mod tidy

Expand Down
Loading
Loading