Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. [root@centos-master ~]# cat rolebinding-deployment.yaml
  2. ---
  3. apiVersion: rbac.authorization.k8s.io/v1
  4. kind: RoleBinding
  5. metadata:
  6.   name: deployment-manager-binding
  7.   namespace: default
  8.   roleRef:
  9.     apiGroup: rbac.authorization.k8s.io
  10.     kind: Role
  11.     name: deployment-manager
  12.   subjects:
  13.     -
  14.       apiGroup: rbac.authorization.k8s.io
  15.       kind: User
  16.       name: root
  17.  
  18. [root@centos-master ~]# kubectl create --validate=false -f rolebinding-deployment.json
  19. The RoleBinding "deployment-manager-binding" is invalid:
  20. * roleRef.kind: Unsupported value: "": supported values: "Role", "ClusterRole"
  21. * roleRef.name: Required value
  22. [root@centos-master ~]#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top