mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 17:16:47 +00:00
69048b5c96
* Changed: avoid latest image
* Changed: version bump
* Fixed: pull policy
* Removed: specific ci for glue since now it's on by default
* Fixed: don't refresh dependencies
* Changed: testing chart action version update
* Fixed: action
* Changed: dependency updates required
* Fixed: lint and install
* Revert "Changed: dependency updates required"
This reverts commit 34ee22d7d0
.
* Changed: use copy of dep charts because ththey may become unavailable
* Changed: updated readme
25 lines
726 B
YAML
25 lines
726 B
YAML
{{- if .Values.rbac.create -}}
|
|
{{- $fullName := include "elasticsearch.uname" . -}}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: {{ $fullName | quote }}
|
|
labels:
|
|
heritage: {{ .Release.Service | quote }}
|
|
release: {{ .Release.Name | quote }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
app: {{ $fullName | quote }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
{{- if eq .Values.rbac.serviceAccountName "" }}
|
|
name: {{ $fullName | quote }}
|
|
{{- else }}
|
|
name: {{ .Values.rbac.serviceAccountName | quote }}
|
|
{{- end }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
roleRef:
|
|
kind: Role
|
|
name: {{ $fullName | quote }}
|
|
apiGroup: rbac.authorization.k8s.io
|
|
{{- end -}}
|