Adding dependencies, binary autostart
This commit is contained in:
17
opencloud/charts/loki/templates/rolebinding.yaml
Normal file
17
opencloud/charts/loki/templates/rolebinding.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- if or .Values.rbac.pspEnabled .Values.rbac.sccEnabled }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ include "loki.name" . }}
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
labels:
|
||||
{{- include "loki.labels" . | nindent 4 }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ include "loki.name" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "loki.serviceAccountName" . }}
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user