Commit Graph
9323 Commits
Author SHA1 Message Date
Madhu Rajanna 8de53b4e60 csi: use krbd for encryption
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)
2023-01-12 14:35:35 +00:00
Madhu Rajanna d119592974 core: set rbd_default_map_options for encryption
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)
2023-01-12 14:35:35 +00:00
mergify[bot] ac7f4c74b5 Merge pull request #11520 from rook/mergify/bp/release-1.10/pr-11517
helm: storageclass secrets namespace made the same as the release namespace (backport #11517)
2023-01-09 18:10:04 +00:00
Cyril Jouve 51864717d7 helm: storageclass parameters secrets namespace
make the parameters secrets namespace the same as the chart release namespace

Closes: https://github.com/rook/rook/issues/11516
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 668bd172e3)
2023-01-09 17:37:30 +00:00
mergify[bot] 97ba7fe81d Merge pull request #11514 from rook/mergify/bp/release-1.10/pr-11510
csi: update sidecars to latest release (backport #11510)
2023-01-06 17:04:12 +00:00
Madhu Rajanna 71eb14afb2 csi: update sidecars to latest release
update all the kubernetes sidecars to the latest
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit f11e65f40c)
2023-01-06 07:59:29 -07:00
mergify[bot] 44a98a30b9 Merge pull request #11513 from rook/mergify/bp/release-1.10/pr-11512
docs: add limitRange comment to deploy/charts/rook-ceph-cluster/values.yaml (backport #11512)
2023-01-05 22:16:12 +00:00
Anthony D'Atri da6be59246 docs: add limitRange comment to deploy/charts/rook-ceph-cluster/values.yaml
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
(cherry picked from commit a84aeebb4d)
2023-01-05 21:38:36 +00:00
mergify[bot] 097f39a69c Merge pull request #11508 from rook/mergify/bp/release-1.10/pr-11506
docs: fix grafana dashboard links (backport #11506)
2023-01-05 18:03:56 +00:00
Tim Jones 357b32be78 docs: fix grafana dashboard links
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)
2023-01-05 17:03:55 +00:00
mergify[bot] c33d516bae Merge pull request #11498 from rook/mergify/bp/release-1.10/pr-11127
helm: fix toolbox command, default to cluster image (backport #11127)
2023-01-04 22:36:36 +00:00
Travis Nielsen bdcf453ce1 Merge pull request #11495 from rook/mergify/bp/release-1.10/pr-11493
external: Dont call telemetry if the cluster is external (backport #11493)
2023-01-04 15:01:25 -07:00
Loïc Antoine-Gombeaud a83b7109e2 helm: fix toolbox command, default to cluster image
Signed-off-by: Loïc Antoine-Gombeaud <lantoinegombeaud@gestform.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 59f6cd00ff)
2023-01-04 22:00:44 +00:00
parth-gr e8708ed8f8 external: dont call telemetry if the cluster is external
closes: https://github.com/rook/rook/issues/11470
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit a52e2f1794)
2023-01-03 17:15:15 +00:00
mergify[bot] 8e01cf9252 Merge pull request #11494 from rook/mergify/bp/release-1.10/pr-11483
osd: add expand-bluefs init container for host-based cluster (backport #11483)
2023-01-03 07:33:27 +00:00
Yuma Ogami 304734cf7d osd: add expand-bluefs init container for host-based cluster
OSD is not resized in host-based clusters even though expanding
the backing block device. It's due to the lack of bluefs-bdev-expand
init container.

Closes: https://github.com/rook/rook/issues/10930
Signed-off-by: Yuma Ogami <yuma-ogami@cybozu.co.jp>
(cherry picked from commit 7599f1bc6b)
2023-01-03 06:36:10 +00:00
Yuma Ogami a9a8517086 osd: add unit test for chown-container-data-dir init container
Signed-off-by: Yuma Ogami <yuma-ogami@cybozu.co.jp>
(cherry picked from commit c6c264df84)
2023-01-03 06:36:09 +00:00
Travis Nielsen 560ebb9500 Merge pull request #11472 from travisn/release-1.10.8
build: Update the release version to v1.10.8
v1.10.8
2022-12-21 10:25:06 -07:00
Travis Nielsen eb9f698aec build: update the release version to v1.10.8
For the patch release update the examples and docs to
v1.10.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-21 09:46:39 -07:00
mergify[bot] cc5f26d0d7 Merge pull request #11471 from rook/mergify/bp/release-1.10/pr-11468
csi: add missing update rbac (backport #11468)
2022-12-21 15:14:54 +00:00
Travis Nielsen 264dabd79d Merge pull request #11469 from rook/mergify/bp/release-1.10/pr-11467
doc: update csi registry in custom-images (backport #11467)
2022-12-21 07:47:00 -07:00
Madhu Rajanna 88b879c310 csi: add missing update rbac
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)
2022-12-21 14:44:21 +00:00
Madhu Rajanna db204942fb docs: update csi registry in custom-images
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)
2022-12-21 14:42:07 +00:00
mergify[bot] 4d917992e9 Merge pull request #11459 from rook/mergify/bp/release-1.10/pr-11377
helm: allow to specify allowed topologies for storage class (backport #11377)
2022-12-20 17:48:46 +00:00
Tomáš Sýkora 59a0d00349 helm: allow to specify allowed topologies for storage class
Signed-off-by: Tomáš Sýkora <tomas@reservio.com>
(cherry picked from commit 57babee11f)
2022-12-20 10:13:20 -07:00
Travis Nielsen ced7324441 Merge pull request #11462 from zalsader/add-helm-docs-1.10
docs: auto generate helm docs (backport #11346)
2022-12-20 10:05:23 -07:00
Zuhair 0e95ea2542 docs: auto generate helm chart docs using helm-docs
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2022-12-19 19:35:29 -05:00
mergify[bot] 6297af29de Merge pull request #11458 from rook/mergify/bp/release-1.10/pr-11456
docs: Add link to failover and failback topic (backport #11456)
2022-12-19 18:37:12 +00:00
mergify[bot] 7804f21b63 Merge pull request #11457 from rook/mergify/bp/release-1.10/pr-11427
build: move to Go 1.19 as default version for building services (backport #11427)
2022-12-19 18:34:38 +00:00
Pratik Raj 10fd4bebcd build: move to Go 1.19 as default version for building services
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)
2022-12-19 11:00:52 -07:00
Travis Nielsen fdf609f528 docs: add link to failover and failback topic
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)
2022-12-19 17:58:41 +00:00
mergify[bot] 9d56ff29a7 Merge pull request #11449 from rook/mergify/bp/release-1.10/pr-11448
operator: adding logs for debugging (backport #11448)
2022-12-16 05:51:31 +00:00
subhamkrai 544219d3de operator: adding logs for debugging
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit de604d3689)
2022-12-16 05:19:53 +00:00
mergify[bot] b9246a8168 Merge pull request #11425 from rook/mergify/bp/release-1.10/pr-11399
core: Allow ceph.conf to be updated if already exists (backport #11399)
2022-12-16 04:20:54 +00:00
Travis Nielsen 671210eeab osd: improve error message for osd purge
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)
2022-12-16 02:16:14 +00:00
Travis Nielsen db4a16fd10 core: allow ceph.conf to be updated if already exist
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)
2022-12-16 02:16:14 +00:00
mergify[bot] 553379f91f Merge pull request #11445 from rook/mergify/bp/release-1.10/pr-11301
OSD prepare job cannot create vols with /dev/mapper alias on PVCs (backport #11301)
2022-12-16 00:43:25 +00:00
mergify[bot] 1ea6cde404 Merge pull request #11426 from rook/mergify/bp/release-1.10/pr-11414
osd: Replace dot with dash in storageClassDeviceSet names since used as volume names (backport #11414)
2022-12-16 00:17:30 +00:00
mergify[bot] f79325f12f Merge pull request #11446 from rook/mergify/bp/release-1.10/pr-11434
core: Read mon secret from file instead of env var (backport #11434)
2022-12-15 18:40:50 +00:00
Travis Nielsen ec27701d2b manifest: toolbox and jobs mount secret volume
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)
2022-12-15 11:06:10 -07:00
Travis Nielsen 0c27d65f81 core: read mon secret from file instead of env var
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)
2022-12-15 11:06:06 -07:00
Travis Nielsen b8df9df9a6 Merge pull request #11447 from rook/mergify/bp/release-1.10/pr-11331
core: Remove unnecessary env vars from pod specs (backport #11331)
2022-12-15 11:04:37 -07:00
Travis Nielsen 89aa70996b core: remove unnecessary env vars from pod specs
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)
2022-12-15 17:28:22 +00:00
ausias-armesto 9ed945156e osd: cannot create volumes on pvc based osd with alias dev mapper
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)
2022-12-15 17:06:21 +00:00
mergify[bot] 1173f15219 Merge pull request #11444 from rook/mergify/bp/release-1.10/pr-11432
operator: disable webhook by default (backport #11432)
2022-12-15 16:58:06 +00:00
subhamkrai 70f4447575 operator: disable webhook by default
disable webhook in downstream cluster.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 159fe3ae6f)
2022-12-15 16:26:25 +00:00
mergify[bot] b931ce4823 Merge pull request #11443 from rook/mergify/bp/release-1.10/pr-11405
docs: import external K8s cluster on existing cluster (backport #11405)
2022-12-15 15:47:23 +00:00
parth-gr f2c6dd7a2d docs: import external K8s cluster on existing cluster
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)
2022-12-15 15:10:48 +00:00
Travis Nielsen 9211a7dec9 Merge pull request #11441 from rook/mergify/bp/release-1.10/pr-11439
ci: upgrade minikube action to latest version (backport #11439)
2022-12-14 11:37:06 -07:00
subhamkrai eb486602a2 ci: upgrade minikube action to latest version
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)
2022-12-14 09:48:20 -07:00