Skip to content

Instantly share code, notes, and snippets.

@rinormaloku
Created January 13, 2019 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinormaloku/ae0e91667d88f3501303741aa76d3b6c to your computer and use it in GitHub Desktop.
Save rinormaloku/ae0e91667d88f3501303741aa76d3b6c to your computer and use it in GitHub Desktop.
[Moderator Service Role Binding] for the article series Intro to Istio https://rinormaloku.com/istio-an-introduction/
apiVersion: "rbac.istio.io/v1alpha1"
kind: ServiceRoleBinding
metadata:
name: mod-user-binding
namespace: default
spec:
subjects:
- properties:
request.auth.claims[https://sa.io/group]: "Moderators"
roleRef:
kind: ServiceRole
name: "mod-user"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment