Commit Graph

411 Commits

Author SHA1 Message Date
Kubernetes Prow Robot d057687f6f
Merge pull request #36660 from liggitt/scrape-secrets
Update service account token documentation
2022-09-10 16:31:23 -07:00
Jordan Liggitt 79f26d5922
Update service account token documentation
* Make example service account output match 1.24+ output with auto-generated tokens omitted
* Prefer `kubectl create token` as token creation mechanism
2022-09-07 16:00:27 -04:00
Kubernetes Prow Robot e8b9538785
Merge pull request #36043 from tomkivlin/tomkivlin/issue28580
Mention wildcard for RBAC resources and names
2022-09-07 09:24:37 -07:00
whitebear009 9acf28fce9 fix note typo 2022-08-31 17:58:31 +08:00
Qiming Teng 468442d294 Wrap long lines where appropriate 2022-08-25 16:10:39 +08:00
Qiming Teng 93abc44b8b Fix service accounts admin page
This PR removes some outdated texts that are confusing today.
2022-08-25 16:04:29 +08:00
Kubernetes Prow Robot 9401ab7fb3
Merge pull request #36160 from windsonsea/gracheck
Fix typos on /access-authn-authz
2022-08-24 11:55:49 -07:00
windsonsea 61a5b7b69d Fix typos on /access-authn-authz 2022-08-22 20:10:58 +08:00
Tom Kivlin 9ec115bbdb Mention wildcard for RBAC resources and names
Signed-off-by: Tom Kivlin <tom.kivlin@vodafone.com>

added link to best practice doc

update from sftim comments

update from liggitt comments

Update content/en/docs/reference/access-authn-authz/rbac.md

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>

update from liggitt comment
2022-08-19 08:06:42 +00:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Kubernetes Prow Robot 0bd89d2c24
Merge pull request #36018 from tengqm/improve-admission-controllers
Update admission controllers page
2022-08-17 16:14:47 -07:00
Qiming Teng 96dd915152 Update admission controllers page
This PR updates the admission controllers page by:

- removing two plugins which have been removed since 1.18
- removing text about ancient history
- removing shortcode about plugins that graduated into GA a long time ago;
2022-08-16 22:33:37 +08:00
Jordan Liggitt b167938367 Scrub PSP docs for 1.25 2022-08-15 21:09:41 -04:00
Meha Bhalodiya a472b72c33
remove insecure port option 2022-08-13 09:52:02 +05:30
Rohit Agarwal 4747731407
Fix --service-account-key-file description
--service-account-key-file flag to the kube-api-server is used to verify ServiceAccount tokens (and not to sign them).

--service-account-signing-key-file is the kube-api-server flag that's used to sign ServiceAccount tokens (short-lived ones).
--service-account-private-key-file is the kube-controller-manager flag that's used to sign ServiceAccount tokens (long-lived ones).
2022-08-02 00:37:09 -07:00
Kubernetes Prow Robot e2cda2eec3
Merge pull request #34716 from dmarinere/patch-1
added access to the statements explaining cluster role
2022-07-16 07:56:53 -07:00
Qiming Teng 7b4293b4fa Batch fix links (5) 2022-07-11 13:54:18 +08:00
Kubernetes Prow Robot 38ccc3383d
Merge pull request #34740 from tengqm/improve-admission-controllers
Tweak extensible admission controllers page
2022-07-10 18:11:47 -07:00
Sam Cook 2f0d4a5d88
Clarify that list, get and watch can return data
The `get`, `list` and `watch` verbs can all be used to retrieve the full details of a resource. It is not an uncommon assumption amongst users that they return different data (e.g. that `list` only returns the names of resources; when it can return the full object).

This adds a caution block to highlight this potential gotcha.
2022-07-08 11:13:23 +01:00
Qiming Teng a6ec7d8017 Tweak extensible admission controllers page
This PR removes outdated information about `admissionregistration.v1beta1` API groups
which are no longer supported in 1.24. Additional notes are added to
avoid confusion when parsing the examples.
2022-07-01 00:33:57 +08:00
Osuolale Emmanuel c14bcdde98
added access to the statements
I added access to the statement explaining cluster role  permissions in this document to make it clearer.
2022-06-30 03:50:31 +01:00
Raki af65de3877
Callout that impersonation needs (ClusterRole)Binding (#34082)
* Callout that impersonation needs (ClusterRole)Binding

I learned through trial and error that impersonation does not work with Role and RoleBinding - this was not obvious. It would be good if the docs call this out.

* Update content/en/docs/reference/access-authn-authz/authentication.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/en/docs/reference/access-authn-authz/authentication.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/reference/access-authn-authz/authentication.md

Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>

* Update content/en/docs/reference/access-authn-authz/authentication.md

Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>
2022-06-14 13:09:33 -07:00
Sean Wei 34155fed0b Fix links for k/design-proposals-archive
The contributors/design-proposals in k/community was removed. It's only
available in k/design-proposals-archive repo now.

This commit also changes https://github.com/kubernetes/repo/blob/master/file.md
to https://git.k8s.io/repo/file.md for better consistency.
2022-06-10 22:49:04 +08:00
Guangwen Feng ef08c345e0 Fix an incorrect link in psp-to-pod-security-standards.md
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
2022-06-08 11:40:04 +08:00
Kubernetes Prow Robot 090803440d
Merge pull request #33130 from tengqm/move-kubelet-authn-authz
Move kubelet authn authz
2022-06-07 19:11:49 -07:00
Kubernetes Prow Robot 11d56aacf6
Merge pull request #34076 from kadtendulkar/kad4
Update  content/en/docs/reference/access-authn-authz/bootstrap-tokens.md
2022-05-31 17:33:02 -07:00
Rishit Dagli 0be2557ecd Fix CertificateSubjectRestriction in Admission Controllers docs 2022-05-31 19:35:12 +00:00
kadtendulkar 6c82e81ede Update content/en/docs/reference/access-authn-authz/bootstrap-tokens.md 2022-05-31 22:02:36 +05:30
wei.wang 1cf774a05e [zh]Update content/zh/docs/reference/access-authn-authz/admission-controllers.md 2022-05-24 02:26:02 +08:00
Qiming Teng c992c4c04f Add imagepolicy.v1alpha1 API 2022-05-18 14:20:20 +08:00
Qiming Teng 90a395745d Cleanup admission-controllers page
This PR fixes several things in the admission-controllers page:

- The `PodSecurity` plugin is enabled by default, but it was not listed so;
- The `apiserver.config.k8s.io/v1alpha1` has been deprecated since v1.17, we are still documenting it side by side with the `apiserver.config.k8s.io/v1` API group;
- The `eventratelimit.admission.k8s.io/v1alpha1` API could use a better reference rather than the design doc; **The imagepolicy.v1alpha1 API is not documented anywhere, I'll add it later on.**
- There are statements about future, which should be removed;
- We are supposed refer to the `LimitRage` API reference rather than pointing users to the design docs;
- We are supposed refer to the `ResourceQuota` API reference rather than pointing users to the design docs;
- There are long lines in the page source which could have been wrapped properly.
2022-05-17 15:37:58 +08:00
Nate W 5ead53b3e8 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-05-02 10:29:49 -07:00
xin.li b831e96c6a [en] modify debug-cluster/audit
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-29 20:40:59 +08:00
Nate W 712f45dee4 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-26 13:11:13 -07:00
Qiming Teng a3ea9f4caf Update references to the kubelet security files
This commit updates all the existing references to the files move in the previous commit.
2022-04-23 14:32:19 +08:00
Qiming Teng 89b0b1bf8f Move kubelet authentication/authorization out of CLI reference dir
The `kubelet-authentication-authorization` and the `kubelet-tls-bootstrapping`
pages do not belong to `reference/command-line-tools-reference` topic.
This PR moves them into `reference/access-authn-authz` subdirectory
which is a better fit.
The `static/_redirects` file is updated to point to the new location.
2022-04-23 14:30:14 +08:00
CJ Cullen a3638c4fde
Update rbac.md
Fix description of magic service account group.
2022-04-21 14:07:32 -07:00
Kubernetes Prow Robot c62c9e9c61
Merge pull request #32909 from Sea-n/deprecate-ext
Remove deprecated `extensions` API group in document
2022-04-20 08:57:43 -07:00
Nate W 0135d3642b Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-19 15:45:28 -07:00
Sean Wei 613bb080ff Remove deprecated `extensions` API group in document 2022-04-16 21:56:25 +08:00
Sean Wei 01c3c53b7d [en] Fix Markdown format 2022-04-14 01:33:53 +08:00
Qiming Teng 0bc8468bfa The PodOverhead feature is GA 2022-04-13 11:49:50 +08:00
Nate W e65201a5b3 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-11 09:31:28 -07:00
Mads Jensen eefc776e29
Fix typos in Markdown links. (#32802)
* Fix typos in Markdown links.

* Test

Co-authored-by: Mads Jensen <atombrella@users.noreply.github.com>
2022-04-08 00:16:41 -07:00
Nate W f85be125b9 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-31 15:18:13 -07:00
Tim Bannister 672813f3e7
Move PSP into Security concepts section
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-03-30 17:30:35 +01:00
Cezary Czekalski 5650e76c45 Fix typo 2022-03-29 19:27:32 +02:00
Qiming Teng 93bdfe8142 Move all volume expansion feature gates to GA 2022-03-29 10:38:58 +08:00
Margo Crawford a364ecae1f Remove references to client.authentication.k8s.io/v1alpha1 exec credential API
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-21 09:27:55 -07:00
Kubernetes Prow Robot 991f671a02
Merge pull request #30721 from mlbiam/master
making wording clearer on extra in impersonation
2022-03-13 21:02:19 -07:00