2020-03-25 01:37:41 +01:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: q3-deploy
|
|
|
|
namespace: q3
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: Role
|
|
|
|
metadata:
|
|
|
|
name: q3-deploy-role
|
2020-03-25 13:42:53 +01:00
|
|
|
namespace: q3
|
2020-03-25 01:37:41 +01:00
|
|
|
rules:
|
|
|
|
- apiGroups: ["*"]
|
|
|
|
resources: ["*"]
|
|
|
|
verbs: ["*"]
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: RoleBinding
|
|
|
|
metadata:
|
|
|
|
name: q3-rolebinding
|
|
|
|
namespace: q3
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: Role
|
|
|
|
name: q3-deploy-role
|
|
|
|
subjects:
|
|
|
|
- namespace: q3
|
|
|
|
kind: ServiceAccount
|
|
|
|
name: q3-deploy
|