Update a few deprecated apiVersions

This commit is contained in:
Jérôme Petazzoni
2021-11-04 12:46:29 +01:00
parent 956b079c58
commit 055c0a304f
4 changed files with 5 additions and 5 deletions

View File

@@ -160,7 +160,7 @@ class: extra-details
- Check that we can access the CSR API:
```bash
curl -k -H "Authorization: Bearer abcdef.1234567890abcdef" \
https://10.96.0.1/apis/certificates.k8s.io/v1beta1/certificatesigningrequests
https://10.96.0.1/apis/certificates.k8s.io/v1/certificatesigningrequests
```
]

View File

@@ -201,7 +201,7 @@ class: extra-details
- This is what the manifest would look like:
```yaml
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: xyz

View File

@@ -289,11 +289,11 @@ Here is an example showing how to check if `jean.doe` can `get` some `pods` in `
```bash
kubectl -v9 create -f- <<EOF
apiVersion: authorization.k8s.io/v1beta1
apiVersion: authorization.k8s.io/v1
kind: SubjectAccessReview
spec:
user: jean.doe
group:
groups:
- foo
- bar
resourceAttributes:

View File

@@ -318,7 +318,7 @@ The command above generates:
- Generate and create the CSR resource:
```bash
kubectl apply -f - <<EOF
apiVersion: certificates.k8s.io/v1beta1
apiVersion: certificates.k8s.io/v1
kind: CertificateSigningRequest
metadata:
name: user=jean.doe