q3_server_status/kube/q3-serviceaccount-deploy.yaml
kleph 965a22a198
Some checks failed
continuous-integration/drone/push Build is failing
Please yaml lint
2020-03-25 13:42:53 +01:00

31 lines
512 B
YAML

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: q3-deploy
namespace: q3
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: q3-deploy-role
namespace: q3
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