kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: drone
namespace: public-services
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- pods
- pods/log
- get
- list
- watch
- update
---
kind: RoleBinding
subjects:
- kind: ServiceAccount
name: default
roleRef:
apiGroup: rbac.authorization.k8s.io