From 9d7b50dccb307429f8e52314788883117c35d062 Mon Sep 17 00:00:00 2001 From: Jonas Rutishauser Date: Tue, 18 Feb 2020 23:07:20 +0100 Subject: [PATCH] Added forcecephkernelclient as startup parameter Support #664 in the helm chart. Signed-off-by: Jonas Rutishauser --- charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml | 3 +++ charts/ceph-csi-cephfs/values.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml b/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml index bc193ea43..9c14132d8 100644 --- a/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml +++ b/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml @@ -80,6 +80,9 @@ spec: - "--metricsport={{ .Values.nodeplugin.grpcMetrics.containerPort }}" - "--metricspath=/metrics" - "--enablegrpcmetrics=true" +{{- end }} +{{- if .Values.nodeplugin.forcecephkernelclient }} + - "--forcecephkernelclient={{ .Values.nodeplugin.forcecephkernelclient }}" {{- end }} - "--endpoint=$(CSI_ENDPOINT)" - "--v=5" diff --git a/charts/ceph-csi-cephfs/values.yaml b/charts/ceph-csi-cephfs/values.yaml index 4b369b2c8..5bdefd2b9 100644 --- a/charts/ceph-csi-cephfs/values.yaml +++ b/charts/ceph-csi-cephfs/values.yaml @@ -114,6 +114,10 @@ nodeplugin: affinity: {} + # Set to true to enable Ceph Kernel clients + # on kernel < 4.17 which support quotas + # forcecephkernelclient: true + # If true, create & use Pod Security Policy resources # https://kubernetes.io/docs/concepts/policy/pod-security-policy/ podSecurityPolicy: