You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
533 B
28 lines
533 B
3 years ago
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
name: kube-system-default
|
||
|
labels:
|
||
|
k8s-app: kube-system
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: cluster-admin
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: default
|
||
|
namespace: kube-system
|
||
|
|
||
|
---
|
||
|
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: default
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
k8s-app: kube-system
|
||
|
annotations:
|
||
|
kubernetes.io/service-account.name: default
|
||
|
type: kubernetes.io/service-account-token
|