kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: alpha-ns-ops
namespace: alpha
subjects:
- kind: Group
name: cluster-ops
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: admin
apiGroup: rbac.authorization.k8s.iokind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: staging-ns-ops
namespace: staging
subjects:
- kind: Group
name: cluster-ops
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: admin
apiGroup: rbac.authorization.k8s.iokubectl create clusterrolebinding cluster-ops-cb --user snoby --group=cluster-ops
error: clusterrole must be specified--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-sig-auth@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/ef5b4df8-2940-4871-8ce4-14352ccf8e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to kubernete...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsubscribe...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/ef5b4df8-2940-4871-8ce4-14352ccf8e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-sig-auth@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/74ffb8ad-a923-44ec-aef1-a9fc26af331a%40googlegroups.com.
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: alpha-admin
namespace: alpha
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: staging-admin
namespace: staging
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: alpha-ns-binding
namespace: alpha
subjects:
- kind: Group
name: cluster-ops
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: alpha-admin
apiGroup: rbac.authorization.k8s.io
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: staging-ns-binding
namespace: staging
subjects:
- kind: Group
name: cluster-ops
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: staging-admin
apiGroup: rbac.authorization.k8s.io
Groups are defined by the authentication component, and group membership is set when authentication completes. Group membership is only a string value, so the authentication component must set this string correctly. Kubernetes will only check for the presence of the string; it trusts the authentication provider.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsub...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/ef5b4df8-2940-4871-8ce4-14352ccf8e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsub...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsubscribe...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/ef5b4df8-2940-4871-8ce4-14352ccf8e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsubscribe...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/74ffb8ad-a923-44ec-aef1-a9fc26af331a%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-auth+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-sig-auth@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-auth/a7384d42-521a-4517-8605-2633d7ec4a7c%40googlegroups.com.