diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index 9ce2dd0..450ca57 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -54,8 +54,6 @@ spec: - name: longhorn mountPath: /var/lib/longhorn/ mountPropagation: Bidirectional - - name: longhorn-default-setting - mountPath: /var/lib/longhorn-setting/ env: - name: POD_NAMESPACE valueFrom: @@ -69,8 +67,6 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - - name: DEFAULT_SETTING_PATH - value: /var/lib/longhorn-setting/default-setting.yaml volumes: - name: dev hostPath: @@ -81,9 +77,6 @@ spec: - name: longhorn hostPath: path: /var/lib/longhorn/ - - name: longhorn-default-setting - configMap: - name: longhorn-default-setting {{- if .Values.privateRegistry.registrySecret }} imagePullSecrets: - name: {{ .Values.privateRegistry.registrySecret }} diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index e99a38e..28c28f6 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -982,8 +982,6 @@ spec: - name: longhorn mountPath: /var/lib/longhorn/ mountPropagation: Bidirectional - - name: longhorn-default-setting - mountPath: /var/lib/longhorn-setting/ env: - name: POD_NAMESPACE valueFrom: @@ -997,9 +995,6 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - # Should be: mount path of the volume longhorn-default-setting + the key of the configmap data in 04-default-setting.yaml - - name: DEFAULT_SETTING_PATH - value: /var/lib/longhorn-setting/default-setting.yaml volumes: - name: dev hostPath: @@ -1010,9 +1005,6 @@ spec: - name: longhorn hostPath: path: /var/lib/longhorn/ - - name: longhorn-default-setting - configMap: - name: longhorn-default-setting # imagePullSecrets: # - name: "" # priorityClassName: