use krbd for mapping the rbd image when
ceph cluster encryption is enabled.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 41e4082730)
Set rbd_default_map_options to secure when encryption
is enabled or else set it to prefer-crc.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit bc41df4dd8)
Fixes the Grafana dashboard links dur to changes on the Grafana website.
Signed-off-by: Tim Jones <timniverse@gmail.com>
(cherry picked from commit afdd6e92ce)
when a PVC is cloned external-provisioner
still required update access or else a warning
will be logged in the pvc describe output
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 61c533ba41)
updated the outdated registry URL
for the CSI sidecar images in the custom-images
fixes: #11463
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2d544d59f1)
Go 1.18.5 and other Go 1.18 version patches provided many vulnerability fixes
but as go.mod doesn't support minor version i.e why moving to next go release
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
(cherry picked from commit cc921a53f0)
A note in the rbd mirroring topic was missing a link
to the failover and failback doc.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2991ee1e61)
The OSD purge was printing an incorrect sentence, so this now
fixes the grammar.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2a16cd857c)
The ceph.conf was being written with 0x444 permissions, which means
the file could not be updated if it already exists. Specifically, when
an osd is purged, if the operation is retried multiple times, only
the first operation was succeeding. The subsequent requests to purge
an osd were failing due to the config already existing. If we make
the config writeable with 0x644 then the operator can always write the file.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 9975e09406)
The toolbox, toolbox job, and osd prepare jobs need to mount the
ceph admin keyring as a file instead of using an env var.
The toolbox script will still allow setting of the env var
for backward compatibility, though all the examples are now
updated to use the keyring as a file.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4f77664862)
Environment variables are not recommended for secrets in pods since
they can be easily leaked if the environemnt variables are logged.
By mounting the mon secret as a file, the mgr and osd prepare pods
can read the mon secret from a file for better security.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 403335177a)
The fsid, username, and user secrets were from legacy and no
longer needed on the osd daemon or mon pods. This removes the
unnecessary env vars from the pod specs.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 33e824a323)
It removes the condition that select the devices name prefixed with /dev/mapper as it is causing the ceph-volume command to fail.
Closes: #11301
Signed-off-by: ausias-armesto <ausiasarmesto@gmail.com>
(cherry picked from commit f55c4573cf)
If there is a external k8s cluster which need to use rook-ceph as
a storageclass backend then user can do the following steps import
it to the running rook-ceph cluster
Closes:https://github.com/rook/rook/issues/11404
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 8d6be0bcf3)
upgrading minikube action to latest version which has
the fix of crictl, currently CI is failing due to this.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a877771748)