Commit Graph

23 Commits (01cfb51bfed48d1bce79ff5c839d460c3f0acad8)

Author SHA1 Message Date
Takashiidobe d536e46dbd fix typos 2023-12-24 21:00:53 -05:00
steve-hardman 20e6cba5fe
Fix broken link in "Validating Admission Policy" page (#43893)
* Fix typo

* Fix typo

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>

---------

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2023-11-14 08:02:32 +01:00
Cici Huang fc92afd819 Remove the escape. 2023-10-30 16:38:15 +00:00
Matheus Moraes c64c7837c8
add CEL Playground link 2023-09-08 16:42:43 -03:00
Mengjiao Liu e8b136c3b3 Use code_sample shortcode instead of code shortcode 2023-09-05 17:10:14 +08:00
Tim Bannister 20b43d6095
Merge branch 'main' into 'dev-1.28' 2023-08-09 11:13:31 +01:00
Alex Zielenski fe7759b734
ValidatingAdmissionPolicy: add docs for new per namespace policy params feature (#42219)
* document per namespace params

* switch examples to codenew, fixup some typos

* more formatting and codenew

* use codenew instead of code

* fixup headings
2023-08-08 13:35:52 -07:00
Jiahui Feng 4dfef3e53f
Document ValidatingAdmissionPolicy variable composition and namespaceObject (#42220)
* variable composition.

* mention namespaceObject.

* Apply suggestions from code review

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

* separate commands from output.

* YAML comment.

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

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

* no shell prompt.

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

Co-authored-by: Joe Betz <jpbetz@google.com>

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

Co-authored-by: Joe Betz <jpbetz@google.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
2023-08-08 07:52:16 -07:00
Mengjiao Liu 68ba9633a2 Switch English to use code not codenew shortcode 2023-08-01 16:57:17 +08:00
Andrey Goran eb522c126f
Replace {{< codenew ... >}} with {{% codenew ... %}} in all English docs (#42180)
* Replaced {{< codenew ... >}} with {{% codenew ... %}} in all files

* Reverted changes in non-english localizations
2023-07-25 05:54:06 -07:00
windsonsea 5fa005a106 fix bullets in validating-admission-policy 2023-07-10 13:00:43 +08:00
Qiming Teng ad7c0712c6 Fix examples test for 1.27
- Some examples are actually not good "examples", i.e. they are not
  not ready for the users to try out.
- Some examples are failing the validation in their current format.
- Some examples skipped the test case.

These issues are fixed.
2023-04-16 17:26:12 +08:00
Jiahui Feng 0d862b9afe message expression and type checking. 2023-04-03 09:38:13 -07:00
Joe Betz cf37b594f2
KEP-3488 ValidatingAdmissionPolicy: Enforcement actions, audit annotations, and secondary authz (#40098)
* Document auditAnnotations, validationActions and authorizer

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Tim Allclair <timallclair@gmail.com>

* Apply feedback

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Allclair <timallclair@gmail.com>
2023-04-03 08:55:52 -07:00
Cici Huang 350ce035a5 Fix previous virables in exampes 2023-03-22 20:23:48 +00:00
Cici Huang 457c26b997 Adding MatchConditions into ValidatingAdmissionPolicy 2023-03-22 20:23:48 +00:00
Mathieu Benoit 4ec6fbac55
Fix errors on `ValidatingAdmissionPolicyBindings` for the CEL for Admission Control blog & doc (#38893)
* Fix errors on ValidatingAdmissionPolicyBindings for the CEL for Admission Control blog

* Fix namespaceSelector error

* Fix namespaceSelector errors
2023-01-12 08:38:54 -08:00
Qiming Teng 37955a816b Reformat the validating-admission-policy reference page
This commit wraps the long lines found in the
validating-admission-policy reference page.
2022-12-31 07:44:49 +08:00
Qiming Teng 3362aa9701 Add admission.k8s.io/v1 API and fix references to it
The `admission.k8s.io/v1` API group is not generated into the v2/v3 OpenAPI
specification as part of Kubernetes API because it is not officially "served".
However, the structs in the API group are used in other APIs that are user-facing.
This PR addes the reference API and fixes references to it.
2022-12-31 07:44:41 +08:00
Saloni1814 912c306be4
Fixing Spec -> spec and paramsRef -> paramRef
Fixing Spec -> spec and paramsRef -> paramRef
2022-12-23 18:25:22 +05:30
Sam Stoelinga 088649ec4f Fix incorrect ValidationAdmissionPolicyBindings 2022-12-15 10:00:55 -08:00
Cici Huang 98d41f24ef Address comments 2022-11-30 16:47:27 +00:00
Cici Huang 4dc90ef731 Add doc for ValidatingAdmissionPolicy 2022-11-30 06:35:18 +00:00