Commit Graph

39 Commits (issues-48002)

Author SHA1 Message Date
Kubernetes Prow Robot c0ae18dc43
Merge pull request #48734 from Lahoussine-Bouhmou/patch-1
Include parameterNotFoundAction in Validating Admission Policy documentation
2025-05-02 23:33:55 -07:00
Thomas Gosteli 0338db1b94
add exempt api kinds in mutating admission policies doc 2025-01-22 18:31:51 +01:00
Thomas Gosteli 37017f4c04
fix: api kinds in upper camel case 2025-01-22 18:19:26 +01:00
Thomas Gosteli a1688890f0
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:11:00 +01:00
Thomas Gosteli ede1a137fc
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:10:46 +01:00
Thomas Gosteli baaf68c601
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:10:27 +01:00
Thomas Gosteli eb357e28f7
docs: extend VAP docs with exempt resources
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch>
2025-01-21 17:04:00 +01:00
Mohammad Alavi 45182c8c24
change ValidatingAdmissionWebhook to ValidatingAdmissionPolicy 2025-01-14 21:22:05 +07:00
谭成 212637cfb7 Reorder ValidatingAdmissionPolicy components for logical flow 2024-12-20 09:34:38 +08:00
Lahoussine Bouhmou 5a06306c3a
Apply feedback: use note shortcode
Replaced manual note with note shortcode for the parameterNotFoundAction section as per style guide.
2024-11-19 10:03:56 +01:00
Lahoussine Bouhmou 8dd78b873f
Added the missing closing backticks in content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Changed ::
Deny
By:
Deny
```

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2024-11-19 09:55:44 +01:00
Lahoussine Bouhmou 9c88cfb75f
Include parameterNotFoundAction in ValidatingAdmissionPolicy documentation
- Added a description of the `parameterNotFoundAction` field to the `paramRef` section of the Validating Admission Policy documentation.
- Clarified the behavior and allowed values (`Allow` and `Deny`) of the `parameterNotFoundAction` field in relevant sections.
- Highlighted the importance of setting `parameterNotFoundAction` for policy bindings using parameter resources.
2024-11-15 23:07:58 +01:00
Daniel Chan c2ab3112f1 Merge main into dev-1.31 to keep in sync 2024-08-05 11:47:31 -04:00
Gergely Nagy d77111d096
Remove beta pre-requisites
With 1.30 stable, the feature does not need to be enabled and the v1beta1 API group is not needed.
2024-08-01 09:08:20 +02:00
Jordan Liggitt 5dab30d474
KEP-4601: alpha docs 2024-07-26 23:27:51 -04:00
cici37 0fc8d236e0 Promote ValidatingAdmissionPolicy to GA 2024-03-11 22:48:54 +00:00
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