mirror of https://github.com/helm/helm
Merge pull request #5881 from torstenwalter/template
helm 3: support writing multiple resources to the same filepull/6046/head
commit
d23d68d51c
@ -0,0 +1,25 @@
|
||||
---
|
||||
# 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
|
Loading…
Reference in new issue