mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Adding node-problem-detector stable chart Signed-off-by: Max Williams <max.williams@deliveryhero.com> * adding .helmignore file Signed-off-by: Max Williams <max.williams@deliveryhero.com> * adding serviceaccount name helper and option Signed-off-by: Max Williams <max.williams@deliveryhero.com> * adding affinity option updating helpers and labels....so many labels Signed-off-by: Max Williams <max.williams@deliveryhero.com> * add affinity option to readme Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Fix readme and notes Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Fixing references to serviceAccountName Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Changing daemonset apiVersion to apps/v1 Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Fix note after labels have changed Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Updating values.yaml to remove resources and change tollerations to list Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Changing indentation of all list types to be like `helm create` example. Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Updating readme with all options from values.yaml in alphabetical order Signed-off-by: Max Williams <max.williams@deliveryhero.com> * Changing API version requirement in readme removing basic labels from helpers file Signed-off-by: Max Williams <max.williams@deliveryhero.com>
20 lines
698 B
YAML
20 lines
698 B
YAML
{{- if .Values.rbac.create -}}
|
|
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: {{ template "node-problem-detector.fullname" . }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "node-problem-detector.name" . }}
|
|
helm.sh/chart: {{ include "node-problem-detector.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ template "node-problem-detector.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: {{ template "node-problem-detector.fullname" . }}
|
|
apiGroup: rbac.authorization.k8s.io
|
|
{{- end -}}
|