March 2020
Intermediate to advanced
626 pages
14h 45m
English
Now, we will create a rule to deny access to reviews:v3. To do this, follow these steps:
# Script : 08-create-denier-handler.yamlapiVersion: "config.istio.io/v1alpha2"kind: handlermetadata: name: denyreviewsv3handlerspec: compiledAdapter: denier params: status: code: 7 message: Not allowed
$ kubectl -n istio-system apply -f 08-create-denier-handler.yamlhandler.config.istio.io/denyreviewsv3handler created
# Script : 09-create-check-nothing-instance.yamlapiVersion: "config.istio.io/v1alpha2"kind: instancemetadata: name: denyreviewsv3requestspec: compiledTemplate: ...
Read now
Unlock full access