Merge pull request #11271 from rook/mergify/bp/release-1.10/pr-11269

fix: bugs following docs for NixOS deployment (backport #11269)
This commit is contained in:
mergify[bot] authored and GitHub committed 2022-11-04 17:59:39 +00:00
commit acd178835f
3 files changed
+11 -11

No files matched your search

@@ -116,10 +116,10 @@ They have to be bind-mounted as volumes in the CephFS and RBD plugin pods.
If you install Rook with Helm, uncomment these example settings in `values.yaml`:
- `csiCephFSPluginVolume`
- `csiCephFSPluginVolumeMount`
- `csiRBDPluginVolume`
- `csiRBDPluginVolumeMount`
- `csi.csiCephFSPluginVolume`
- `csi.csiCephFSPluginVolumeMount`
- `csi.csiRBDPluginVolume`
- `csi.csiRBDPluginVolumeMount`
If you deploy without Helm, add those same values to the corresponding environment variables in the operator pod,
or the corresponding keys in its `ConfigMap`:
@@ -213,7 +213,7 @@ data:
CSI_RBD_PLUGIN_VOLUME_MOUNT: {{ toYaml .Values.csi.csiRBDPluginVolumeMount | quote }}
{{- end }}
{{- if .Values.csi.csiCephFSPluginVolume }}
CSI_CEPHFS_PLUGIN_VOLUME: {{ toYaml .Values.csi.csiRBDPluginVolumes | quote }}
CSI_CEPHFS_PLUGIN_VOLUME: {{ toYaml .Values.csi.csiCephFSPluginVolume | quote }}
{{- end }}
{{- if .Values.csi.csiCephFSPluginVolumeMount }}
CSI_CEPHFS_PLUGIN_VOLUME_MOUNT: {{ toYaml .Values.csi.csiCephFSPluginVolumeMount | quote }}
+6 -6
View File
@@ -133,31 +133,31 @@ csi:
allowUnsupportedVersion: false
# CephCSI RBD plugin Volumes
# csiRBDPluginVolumes: |
# csiRBDPluginVolume:
# - name: lib-modules
# hostPath:
# path: /run/current-system/kernel-modules/lib/modules/
# path: /run/booted-system/kernel-modules/lib/modules/
# - name: host-nix
# hostPath:
# path: /nix
# CephCSI RBD plugin Volume mounts
# csiRBDPluginVolumeMounts: |
# csiRBDPluginVolumeMount:
# - name: host-nix
# mountPath: /nix
# readOnly: true
# CephCSI CephFS plugin Volumes
# csiCephFSPluginVolumes: |
# csiCephFSPluginVolume:
# - name: lib-modules
# hostPath:
# path: /run/current-system/kernel-modules/lib/modules/
# path: /run/booted-system/kernel-modules/lib/modules/
# - name: host-nix
# hostPath:
# path: /nix
# CephCSI CephFS plugin Volume mounts
# csiCephFSPluginVolumeMounts: |
# csiCephFSPluginVolumeMount:
# - name: host-nix
# mountPath: /nix
# readOnly: true