From 8e870fd85805036e55ee730f4209ae0bb6a31807 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 (cherry picked from commit 9d7b50dccb307429f8e52314788883117c35d062) --- 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 57b945a06..af7382128 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 57b11e5e4..c2bd7dcbc 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: