beer/kube/beer-serviceaccount.yaml
kleph 46ccd88278
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
[CI] Please linter
2020-02-22 02:58:52 +01:00

31 lines
530 B
YAML

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: beer-deploy
namespace: beer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: beer-deploy-role
namespace: beer
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: beer-rolebinding
namespace: beer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: beer-deploy-role
subjects:
- namespace: beer
kind: ServiceAccount
name: beer-deploy