Slide 31
Slide 31 text
入力データ
31
{
"review": { # AdmissionReview
"uid": "705ab4f5-6393-11e8-b7cc-42010a800002",
"kind": {"group":"apps","version":"v1","kind":"Pod"},
"resource": {"group":"apps","version":"v1","resource":"pods"},
"operation": "CREATE",
"userInfo": {
"username": "admin",
"groups": ["system:authenticated","system:masters"],
},
"object": {
"apiVersion":"v1","kind":"Pod",...
},
},
# Constraintで指定したパラメータ
"parameters": {"repos": ["quay.io/cybozu",...]}
}