March 2020
Intermediate to advanced
626 pages
14h 45m
English
Once someone has been authenticated, what they can or cannot do depends upon authorization. Mixer plays an important role in authorization enablement in Istio. Let's learn about authorization through some examples:
virtual service so that it shows black stars in the ratings (remember: review-1: no star, review-2: black stars, review-3: red stars(:
$ kubectl -n istio-lab patch vs reviews --type json -p '[{"op":"replace","path":"/spec/http/0/route/0/destination/subset","value": "v2"}]'virtualservice.networking.istio.io/ratings patched$ kubectl -n istio-lab get vs reviews -o yaml | grep -B1 subset: host: reviews subset: v2
Read now
Unlock full access