17 lines
511 B
YAML
17 lines
511 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: {{ include "stackstate-k8s-agent.fullname" . }}
|
|
labels:
|
|
{{ include "stackstate-k8s-agent.labels" . | indent 4 }}
|
|
app.kubernetes.io/component: cluster-agent
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: {{ include "stackstate-k8s-agent.fullname" . }}
|
|
subjects:
|
|
- apiGroup: ""
|
|
kind: ServiceAccount
|
|
name: {{ include "stackstate-k8s-agent.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|