mirror of https://github.com/helm/helm
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.
26 lines
517 B
26 lines
517 B
5 years ago
|
---
|
||
|
# Source: hello/templates/rbac
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: Role
|
||
|
metadata:
|
||
|
name: schedule-agents
|
||
|
rules:
|
||
|
- apiGroups: [""]
|
||
|
resources: ["pods", "pods/exec", "pods/log"]
|
||
|
verbs: ["*"]
|
||
|
---
|
||
|
# Source: hello/templates/rbac
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: RoleBinding
|
||
|
metadata:
|
||
|
name: schedule-agents
|
||
|
namespace: spaced
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: Role
|
||
|
name: schedule-agents
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: schedule-agents
|
||
|
namespace: spaced
|