Skip to content

Commit c1bb2bf

Browse files
authored
Merge branch 'kubernetes:main' into cronjob/hi
2 parents b8c7d00 + 9bfe270 commit c1bb2bf

File tree

1,959 files changed

+209031
-94211
lines changed

Some content is hidden

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

1,959 files changed

+209031
-94211
lines changed

.github/workflows/netlify-periodic-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
schedule: # Build twice daily: shortly after midnight and noon (UTC)
55
# Offset is to be nice to the build service
66
- cron: '4 0,12 * * *'
7+
permissions: {} # none
78
jobs:
89
build:
910
runs-on: ubuntu-latest

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ kubernetes.github.io.iml
2727
nohup.out
2828

2929
# Hugo output
30-
public/
31-
resources/
30+
/public
31+
/resources/
3232
.hugo_build.lock
3333

3434
# Netlify Functions build output
3535
package-lock.json
36-
functions/
37-
node_modules/
36+
/functions/
37+
/node_modules/
3838

3939
# Generated files when building with make container-build
4040
.config/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ Note that code issues should be filed against the main kubernetes repository, wh
3434

3535
### Submitting Documentation Pull Requests
3636

37-
If you're fixing an issue in the existing documentation, you should submit a PR against the main branch. Follow [these instructions to create a documentation pull request against the kubernetes.io repository](http://kubernetes.io/docs/home/contribute/create-pull-request/).
37+
If you're fixing an issue in the existing documentation, you should submit a PR against the main branch. Follow [these instructions to create a documentation pull request against the kubernetes.io repository](https://kubernetes.io/docs/contribute/new-content/open-a-pr/).
3838

3939
For more information, see [contributing to Kubernetes docs](https://kubernetes.io/docs/contribute/).

Makefile

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume
1414
CCRED=\033[0;31m
1515
CCEND=\033[0m
1616

17+
# Docker buildx related settings for multi-arch images
18+
DOCKER_BUILDX ?= docker buildx
19+
1720
.PHONY: all build build-preview help serve
1821

1922
help: ## Show this help.
@@ -29,13 +32,13 @@ module-init: ## Initialize required submodules.
2932
all: build ## Build site with production settings and put deliverables in ./public
3033

3134
build: module-check ## Build site with non-production settings and put deliverables in ./public
32-
hugo --minify --environment development
35+
hugo --cleanDestinationDir --minify --environment development
3336

3437
build-preview: module-check ## Build site with drafts and future posts enabled
35-
hugo --buildDrafts --buildFuture --environment preview
38+
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview
3639

3740
deploy-preview: ## Deploy preview site via netlify
38-
hugo --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
41+
hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
3942

4043
functions-build:
4144
$(NETLIFY_FUNC) build functions-src
@@ -44,11 +47,11 @@ check-headers-file:
4447
scripts/check-headers-file.sh
4548

4649
production-build: module-check ## Build the production site and ensure that noindex headers aren't added
47-
hugo --minify --environment production
50+
hugo --cleanDestinationDir --minify --environment production
4851
HUGO_ENV=production $(MAKE) check-headers-file
4952

5053
non-production-build: module-check ## Build the non-production site, which adds noindex headers to prevent indexing
51-
hugo --enableGitInfo --environment nonprod
54+
hugo --cleanDestinationDir --enableGitInfo --environment nonprod
5255

5356
serve: module-check ## Boot the development server.
5457
hugo server --buildFuture --environment development
@@ -74,6 +77,23 @@ container-image: ## Build a container image for the preview of the website
7477
container-push: container-image ## Push container image for the preview of the website
7578
$(CONTAINER_ENGINE) push $(CONTAINER_IMAGE)
7679

80+
PLATFORMS ?= linux/arm64,linux/amd64
81+
docker-push: ## Build a multi-architecture image and push that into the registry
82+
docker run --rm --privileged tonistiigi/binfmt:qemu-v6.2.0-26@sha256:5bf63a53ad6222538112b5ced0f1afb8509132773ea6dd3991a197464962854e --install all
83+
docker version
84+
$(DOCKER_BUILDX) version
85+
$(DOCKER_BUILDX) inspect image-builder > /dev/null 2>&1 || $(DOCKER_BUILDX) create --name image-builder --use
86+
# copy existing Dockerfile and insert --platform=${TARGETPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
87+
sed -e 's/\(^FROM\)/FROM --platform=\$$\{TARGETPLATFORM\}/' Dockerfile > Dockerfile.cross
88+
$(DOCKER_BUILDX) build \
89+
--push \
90+
--platform=$(PLATFORMS) \
91+
--build-arg HUGO_VERSION=$(HUGO_VERSION) \
92+
--tag $(CONTAINER_IMAGE) \
93+
-f Dockerfile.cross .
94+
$(DOCKER_BUILDX) stop image-builder
95+
rm Dockerfile.cross
96+
7797
container-build: module-check
7898
$(CONTAINER_RUN) --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 $(CONTAINER_IMAGE) sh -c "npm ci && hugo --minify --environment development"
7999

OWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ approvers:
77
- sig-docs-en-owners # Defined in OWNERS_ALIASES
88

99
emeritus_approvers:
10+
# - celestehorgan, commented out to disable PR assignments
1011
# - chenopis, commented out to disable PR assignments
1112
# - irvifa, commented out to disable PR assignments
1213
# - jaredbhatti, commented out to disable PR assignments
1314
# - kbarnard10, commented out to disable PR assignments
1415
# - steveperry-53, commented out to disable PR assignments
15-
- stewart-yu
16+
- stewart-yu
1617
# - zacharysarah, commented out to disable PR assignments
1718

1819
labels:

OWNERS_ALIASES

Lines changed: 39 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
aliases:
22
sig-docs-blog-owners: # Approvers for blog content
3-
- onlydole
43
- mrbobbytables
5-
- sftim
64
- nate-double-u
5+
- onlydole
6+
- sftim
77
sig-docs-blog-reviewers: # Reviewers for blog content
88
- mrbobbytables
9+
- nate-double-u
910
- onlydole
1011
- sftim
11-
- nate-double-u
12+
sig-docs-localization-owners: # Admins for localization content
13+
- a-mccarthy
14+
- divya-mohan0209
15+
- jimangel
16+
- kbhawkey
17+
- natalisucks
18+
- onlydole
19+
- reylejano
20+
- sftim
21+
- tengqm
1222
sig-docs-de-owners: # Admins for German content
1323
- bene2k1
1424
- mkorbi
@@ -20,35 +30,29 @@ aliases:
2030
sig-docs-en-owners: # Admins for English content
2131
- annajung
2232
- bradtopol
23-
- celestehorgan
2433
- divya-mohan0209
2534
- jimangel
26-
- jlbutler
2735
- kbhawkey
28-
- kcmartin
36+
- krol3
2937
- natalisucks
38+
- nate-double-u
3039
- onlydole
31-
- pi-victor
3240
- reylejano
33-
- savitharaghunathan
3441
- sftim
3542
- tengqm
36-
- zacharysarah
3743
sig-docs-en-reviews: # PR reviews for English content
3844
- bradtopol
39-
- celestehorgan
40-
- daminisatya
4145
- divya-mohan0209
4246
- jimangel
4347
- kbhawkey
4448
- mehabhalodiya
4549
- natalisucks
50+
- nate-double-u
4651
- onlydole
47-
- rajeshdeshpande02
52+
- reylejano
4853
- sftim
4954
- shannonxtreme
5055
- tengqm
51-
- zacharysarah
5256
sig-docs-es-owners: # Admins for Spanish content
5357
- raelga
5458
- electrocucaracha
@@ -86,11 +90,11 @@ aliases:
8690
sig-docs-hi-owners: # Admins for Hindi content
8791
- anubha-v-ardhan
8892
- divya-mohan0209
89-
- mittalyashu
9093
sig-docs-hi-reviews: # PR reviews for Hindi content
9194
- anubha-v-ardhan
95+
- Babapool
9296
- divya-mohan0209
93-
- mittalyashu
97+
- Garima-Negi
9498
- verma-kunal
9599
sig-docs-id-owners: # Admins for Indonesian content
96100
- ariscahyadi
@@ -117,25 +121,22 @@ aliases:
117121
- mattiaperi
118122
- micheleberardi
119123
sig-docs-ja-owners: # Admins for Japanese content
120-
# cstoku
121124
- inductor
122125
- nasa9084
123126
sig-docs-ja-reviews: # PR reviews for Japanese content
127+
- atoato88
124128
- bells17
125-
# cstoku
126-
- inductor
127129
- kakts
128130
- makocchi-git
129-
# MasayaAoyama
130-
- nasa9084
131-
# oke-py
132131
- ptux
132+
- t-inu
133133
sig-docs-ko-owners: # Admins for Korean content
134134
- ClaudiaJKang
135135
- gochist
136136
- ianychoi
137137
- jihoon-seo
138138
- seokho-son
139+
- yoonian
139140
- ysyukr
140141
sig-docs-ko-reviews: # PR reviews for Korean content
141142
- ClaudiaJKang
@@ -187,6 +188,7 @@ aliases:
187188
- devlware
188189
- jhonmike
189190
- rikatz
191+
- stormqueen1990
190192
- yagonobre
191193
sig-docs-pt-reviews: # PR reviews for Portugese content
192194
- edsoncelio
@@ -207,16 +209,19 @@ aliases:
207209
- ngtuna
208210
- truongnh1992
209211
sig-docs-ru-owners: # Admins for Russian content
212+
- Arhell
210213
- msheldyakov
211214
- aisonaku
212215
- potapy4
213216
- dianaabv
217+
- shurup
214218
sig-docs-ru-reviews: # PR reviews for Russian content
215219
- Arhell
216220
- msheldyakov
217221
- aisonaku
218222
- potapy4
219223
- dianaabv
224+
- shurup
220225
sig-docs-pl-owners: # Admins for Polish content
221226
- mfilocha
222227
- nvtkaszpir
@@ -238,33 +243,32 @@ aliases:
238243
# authoritative source: git.k8s.io/community/OWNERS_ALIASES
239244
committee-steering: # provide PR approvals for announcements
240245
- cblecker
241-
- dims
246+
- cpanato
247+
- bentheelder
242248
- justaugustus
243-
- liggitt
244249
- mrbobbytables
245-
- parispittman
250+
- palnabarun
246251
- tpepper
247252
# authoritative source: https://git.k8s.io/sig-release/OWNERS_ALIASES
248253
sig-release-leads:
249254
- cpanato # SIG Technical Lead
250-
- jeremyrickard # SIG Technical Lead
255+
- jeremyrickard # SIG Chair
251256
- justaugustus # SIG Chair
252257
- puerco # SIG Technical Lead
253258
- saschagrunert # SIG Chair
259+
- Verolop # SIG Technical Lead
254260
release-engineering-approvers:
255-
- cpanato # Release Manager
261+
- cpanato # subproject owner / Release Manager
262+
- jeremyrickard # subproject owner / Release Manager
263+
- justaugustus # subproject owner / Release Manager
256264
- palnabarun # Release Manager
257-
- puerco # Release Manager
265+
- puerco # subproject owner / Release Manager
258266
- saschagrunert # subproject owner / Release Manager
259-
- justaugustus # subproject owner / Release Manager
260-
- Verolop # Release Manager
267+
- Verolop # subproject owner / Release Manager
261268
- xmudrii # Release Manager
262269
release-engineering-reviewers:
263270
- ameukam # Release Manager Associate
271+
- cici37 # Release Manager Associate
264272
- jimangel # Release Manager Associate
265-
- markyjackson-taulia # Release Manager Associate
266-
- mkorbi # Release Manager Associate
267-
- onlydole # Release Manager Associate
268-
- sethmccombs # Release Manager Associate
269-
- thejoycekung # Release Manager Associate
270-
- wilsonehusin # Release Manager Associate
273+
- jrsapi # Release Manager Associate
274+
- salaxander # Release Manager Associate

README-zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can run the website locally using Hugo (Extended version), or you can run it
3434
To use this repository, you need the following installed locally:
3535
3636
- [npm](https://www.npmjs.com/)
37-
- [Go](https://golang.org/)
37+
- [Go](https://go.dev/)
3838
- [Hugo (Extended version)](https://gohugo.io/)
3939
- A container runtime, like [Docker](https://www.docker.com/).
4040
-->
@@ -43,7 +43,7 @@ To use this repository, you need the following installed locally:
4343
使用这个仓库,需要在本地安装以下软件:
4444

4545
- [npm](https://www.npmjs.com/)
46-
- [Go](https://golang.org/)
46+
- [Go](https://golang.google.cn/)
4747
- [Hugo(Extended 版本)](https://gohugo.io/)
4848
- 容器运行时,比如 [Docker](https://www.docker.com/)
4949

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can run the website locally using Hugo (Extended version), or you can run it
1616
To use this repository, you need the following installed locally:
1717

1818
- [npm](https://www.npmjs.com/)
19-
- [Go](https://golang.org/)
19+
- [Go](https://go.dev/)
2020
- [Hugo (Extended version)](https://gohugo.io/)
2121
- A container runtime, like [Docker](https://www.docker.com/).
2222

SECURITY_CONTACTS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@
1111
# INSTRUCTIONS AT https://kubernetes.io/security/
1212

1313
divya-mohan0209
14-
jimangel
14+
reylejano
1515
sftim
16+
tengqm
17+
onlydole
18+
kbhawkey
19+
natalisucks

0 commit comments

Comments
 (0)