Skip to content

Commit

Permalink
docs: update version in kubernetes examples (#4627)
Browse files Browse the repository at this point in the history
Signed-off-by: yongen.pan <yongen.pan@daocloud.io>
  • Loading branch information
rokkiter committed Apr 27, 2022
1 parent 8e79fc9 commit 654b245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/content/kubernetes-debugging.md
Expand Up @@ -121,7 +121,7 @@ package system

```live:patch/good:module:read_only,openable
main := {
"apiVersion": "admission.k8s.io/v1beta1",
"apiVersion": "admission.k8s.io/v1",
"kind": "AdmissionReview",
"response": response,
}
Expand All @@ -145,7 +145,7 @@ patches := [

```live:patch/bad:module:read_only
main := {
"apiVersion": "admission.k8s.io/v1beta1",
"apiVersion": "admission.k8s.io/v1",
"kind": "AdmissionReview",
"response": response,
}
Expand Down
4 changes: 2 additions & 2 deletions docs/content/kubernetes-introduction.md
Expand Up @@ -115,7 +115,7 @@ Here is an example of a Pod being created:
```live:container_image:input
{
"kind": "AdmissionReview",
"apiVersion": "admission.k8s.io/v1beta1",
"apiVersion": "admission.k8s.io/v1",
"request": {
"kind": {
"group": "",
Expand Down Expand Up @@ -229,7 +229,7 @@ sent back to the API Server.
```json
{
"kind": "AdmissionReview",
"apiVersion": "admission.k8s.io/v1beta1",
"apiVersion": "admission.k8s.io/v1",
"response": {
"allowed": false,
"status": {
Expand Down

0 comments on commit 654b245

Please sign in to comment.