-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-tenant-owner-impersonation-admissionreview.yaml
79 lines (78 loc) · 2.23 KB
/
sample-tenant-owner-impersonation-admissionreview.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
kind: AdmissionReview
apiVersion: admission.k8s.io/v1
request:
uid: 7948269a-2298-4b97-9072-70fd5c3bfab5
kind:
group: networking.k8s.io
version: v1
kind: Ingress
resource:
group: networking.k8s.io
version: v1
resource: ingresses
requestKind:
group: networking.k8s.io
version: v1
kind: Ingress
requestResource:
group: networking.k8s.io
version: v1
resource: ingresses
name: silver-ingress
namespace: default
operation: DELETE
userInfo:
username: kubernetes-admin
groups:
- system:masters
- system:authenticated
object:
oldObject:
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: silver-ingress
namespace: default
uid: 6904a7e3-5f60-4123-a94b-2a951410757b
resourceVersion: '1231'
generation: 1
creationTimestamp: '2023-11-02T19:08:38Z'
annotations:
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"nginx.ingress.kubernetes.io/rewrite-target":"/"},"name":"silver-ingress","namespace":"default"},"spec":{"ingressClassName":"silver","rules":[{"http":{"paths":[{"backend":{"service":{"name":"test","port":{"number":80}}},"path":"/silver","pathType":"Prefix"}]}}]}}
'
nginx.ingress.kubernetes.io/rewrite-target: "/"
managedFields:
- manager: kubectl-client-side-apply
operation: Update
apiVersion: networking.k8s.io/v1
time: '2023-11-02T19:08:38Z'
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
".": {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:nginx.ingress.kubernetes.io/rewrite-target: {}
f:spec:
f:ingressClassName: {}
f:rules: {}
spec:
ingressClassName: silver
rules:
- http:
paths:
- path: "/silver"
pathType: Prefix
backend:
service:
name: test
port:
number: 80
status:
loadBalancer: {}
dryRun: false
options:
kind: DeleteOptions
apiVersion: meta.k8s.io/v1
propagationPolicy: Background