Skip to content

Commit da53ed5

Browse files
authored
Merge branch 'master' into steve/fix-extending-cli-docs
2 parents 3f106fa + 141bb6c commit da53ed5

File tree

310 files changed

+5167
-5921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+5167
-5921
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
version: 2
77
updates:
8-
98
# Maintain dependencies for GitHub Actions
109
- package-ecosystem: "github-actions"
1110
# Workflow files stored in the
@@ -47,3 +46,11 @@ updates:
4746
directory: "testdata/project-v4"
4847
schedule:
4948
interval: "weekly"
49+
50+
# Maintain dependencies for go in external plugin sample
51+
- package-ecosystem: "gomod"
52+
directory: "docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1"
53+
schedule:
54+
interval: "weekly"
55+
labels:
56+
- "ok-to-test"

.github/workflows/apidiff.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,9 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: "1.19"
22+
go-version: '~1.20'
2323
- name: Execute go-apidiff
2424
uses: joelanford/[email protected]
2525
with:
2626
compare-imports: true
2727
print-compatible: true
28-
- name: Report failure
29-
uses: nashmaniac/[email protected]
30-
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
31-
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
32-
with:
33-
title: 🐛 go-apidiff failed for ${{ github.sha }}
34-
token: ${{ secrets.GITHUB_TOKEN }}
35-
labels: kind/bug
36-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

.github/workflows/lint.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,14 @@ jobs:
1515
- name: Setup Go
1616
uses: actions/setup-go@v4
1717
with:
18-
go-version: 1.19
18+
go-version: '~1.20'
1919
- name: Clone the code
2020
uses: actions/checkout@v3
2121
- name: Run linter
2222
uses: golangci/golangci-lint-action@v3
2323
with:
2424
version: v1.51
2525
only-new-issues: true # Show only new issues if it's a pull request
26-
- name: Report failure
27-
uses: nashmaniac/[email protected]
28-
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
29-
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
30-
with:
31-
title: 🐛 Lint failed for ${{ github.sha }}
32-
token: ${{ secrets.GITHUB_TOKEN }}
33-
labels: kind/bug
34-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
3526

3627
yamllint:
3728
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v4
1919
with:
20-
go-version: '~1.19'
20+
go-version: '~1.20'
2121
- name: Run GoReleaser
2222
uses: goreleaser/goreleaser-action@v4
2323
with:

.github/workflows/testdata.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version: '1.19'
21+
go-version: '~1.20'
2222
- name: Remove pre-installed kustomize
2323
# This step is needed as the following one tries to remove
2424
# kustomize for each test but has no permission to do so
@@ -27,12 +27,3 @@ jobs:
2727
run: make check-testdata
2828
- name: Verify docs update
2929
run: make check-docs
30-
- name: Report failure
31-
uses: nashmaniac/[email protected]
32-
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
33-
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
34-
with:
35-
title: 🐛 Testadata verification failed for ${{ github.sha }}
36-
token: ${{ secrets.GITHUB_TOKEN }}
37-
labels: kind/bug
38-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

.github/workflows/unit-tests-legacy.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,10 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@v4
2525
with:
26-
# the go/v2 cannot be updated and is scaffold with golang 1.13
27-
# (version used by its dep version of the controller-runtime)
28-
# however, we are unable to downgrade the version here
29-
# because we will face errors
30-
# So we are keeping the latest version where it works
31-
# and highlighting that must be fixed
32-
# Therefore, we probably will deprecate go/v2 soon since we cannot upgrade it
33-
# to use the versions of controller-runtime > v0.9
34-
# and controller-tools > v0.6 as k8s > 1.21 then it might not be valid we spend effort on this fix
3526
go-version: "1.19"
3627
# This step is needed as the following one tries to remove
3728
# kustomize for each test but has no permission to do so
3829
- name: Remove pre-installed kustomize
3930
run: sudo rm -f /usr/local/bin/kustomize
4031
- name: Perform the test
4132
run: make test-legacy
42-
- name: Report failure
43-
uses: nashmaniac/[email protected]
44-
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
45-
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
46-
with:
47-
title: 🐛 Unit tests failed on ${{ matrix.os }} for ${{ github.sha }}
48-
token: ${{ secrets.GITHUB_TOKEN }}
49-
labels: kind/bug
50-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@v4
2424
with:
25-
go-version: "1.19"
25+
go-version: '~1.20'
2626
# This step is needed as the following one tries to remove
2727
# kustomize for each test but has no permission to do so
2828
- name: Remove pre-installed kustomize
2929
run: sudo rm -f /usr/local/bin/kustomize
3030
- name: Perform the test
3131
run: make test
3232
- name: Report failure
33-
uses: nashmaniac/create-issue-action@v1.1
33+
uses: nashmaniac/create-issue-action@v1.2
3434
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
3535
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
3636
with:
@@ -59,12 +59,3 @@ jobs:
5959
uses: shogo82148/actions-goveralls@v1
6060
with:
6161
path-to-profile: coverage-all.out
62-
- name: Report failure
63-
uses: nashmaniac/[email protected]
64-
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch
65-
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
66-
with:
67-
title: 🐛 Coverage report failed for ${{ github.sha }}
68-
token: ${{ secrets.GITHUB_TOKEN }}
69-
labels: kind/bug
70-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ issues:
1111
exclude-rules:
1212
- linters: [gosec]
1313
path: "test/e2e/*"
14+
- path: "hack/docs/*"
15+
linters:
16+
- lll
17+
- gosec
1418

1519
linters-settings:
1620
govet:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Please see https://git.k8s.io/community/CLA.md for more info.
1010

1111
## Prerequisites
1212

13-
- [go](https://golang.org/dl/) version v1.16+.
13+
- [go](https://golang.org/dl/) version v1.20+.
1414
- [docker](https://docs.docker.com/install/) version 17.03+.
1515
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) version v1.11.3+.
1616
- [kustomize](https://github.com/kubernetes-sigs/kustomize/blob/master/site/content/en/docs/Getting%20started/installation.md) v3.1.0+

OWNERS_ALIASES

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ aliases:
44
# active folks who can be contacted to perform admin-related
55
# tasks on the repo, or otherwise approve any PRs.
66
kubebuilder-admins:
7-
- pwittrock
87
- camilamacedo86
9-
- jmrodri
108
- varshaprasad96
119

1210
# non-admin folks who can approve any PRs in the repo
@@ -15,16 +13,18 @@ aliases:
1513
# folks who can review and LGTM any PRs in the repo (doesn't include
1614
# approvers & admins -- those count too via the OWNERS file)
1715
kubebuilder-reviewers:
18-
- joelanford
1916
- rashmigottipati
2017
- everettraven
2118
- Kavinjsir
2219

2320
# folks who may have context on ancient history,
2421
# but are no longer directly involved
2522
kubebuilder-emeritus-approvers:
23+
- adirio
2624
- directxman12
2725
- droot
28-
- mengqiy
2926
- estroz
30-
- adirio
27+
- jmrodri
28+
- joelanford
29+
- mengqiy
30+
- pwittrock

0 commit comments

Comments
 (0)