Commit Graph
11725 Commits
Author SHA1 Message Date
Michael Adam 32d770818d build: upgrade codegen tooling to the latest version
This includes and is based on the changes of:

https://github.com/rook/rook/pull/14894

Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: subhamkrai <srai@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>

Fixes: #14894
(cherry picked from commit 9e725b6214)
2024-12-05 16:47:57 +00:00
Blaine Gardner f450cb783c Merge pull request #15090 from rook/mergify/bp/release-1.16/pr-15080
core: Fix Annotations.Merge to prevent side effects (backport #15080)
2024-12-05 09:36:48 -07:00
Oded Viner 0475831407 core: prevent side effects in Annotations.Merge
This commit updates the Annotations.Merge function to fix an issue where
the original Annotations map was unintentionally modified.
The new implementation creates a separate map to ensure
the original map remains unchanged during the merge process.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit f1d3e0d4c0)
2024-12-04 17:31:11 +00:00
subham rai f154a19ac8 Merge pull request #15072 from rook/mergify/bp/release-1.16/pr-15071
csi: provide delete access to csiaddonsnode (backport #15071)
2024-11-27 21:29:20 +05:30
Madhu Rajanna 25e924383b csi: provide delete access to csiaddonsnode
csiaddons sidecar needs the delete RBAC
to set the ownerRef on the csiaddonsnode
object.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit b34c0b9164)
2024-11-27 11:36:07 +00:00
subham rai 33c2b1410c Merge pull request #15070 from rook/mergify/bp/release-1.16/pr-15051
rbdmirror: rbd import cmd stuck forever (backport #15051)
2024-11-27 13:14:31 +05:30
parth-gr 7d96f5f9fd rbdmirror: rbd import cmd stuck forever
if the import from the peer cluster doesnt
work, because of some reasons like
cluster health, network, etc

the import cmd stuck forever and which
forever stucks the blockppol reconcile

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 996a88f902)
2024-11-26 17:12:13 +00:00
subham rai ec0af9a691 Merge pull request #15067 from rook/mergify/bp/release-1.16/pr-15063
csi: update csi-addons to v0.11.0 (backport #15063)
2024-11-26 21:06:09 +05:30
Niels de Vos 50c1d00fac csi: update csi-addons to v0.11.0
The csi-addons v0.11.0 release is now available.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.11.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit f1d448cc46)
2024-11-26 14:28:34 +00:00
Travis Nielsen e3cdbf5f95 Merge pull request #15060 from travisn/release-1.16-beta.0
build: Set the release version to v1.16.0-beta.0
v1.16.0-beta.0
2024-11-25 14:05:15 -07:00
Travis Nielsen 1b7267cc28 build: set the release version to v1.16.0-beta.0
For the new 1.16 branch and first test release, update the docs
and manifests to v1.16.0-beta.0

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-25 12:15:15 -07:00
Travis Nielsen a7e6777c98 Merge pull request #15058 from Madhu-1/csi-3.12.3
csi: update to latest cephcsi release
v1.16.0-alpha.0
2024-11-25 11:56:31 -07:00
Madhu Rajanna e599ef67ef csi: update to latest cephcsi release
cephcsi fixed a bug related to data loss
and its fixed in 3.12.3 release, This commit
updates the cephcsi to 3.12.3 release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-11-25 19:02:25 +01:00
Travis Nielsen a8f8d57131 Merge pull request #15038 from cobaltcore-dev/zone-shared-pools-fix
rgw: fix shared pools for zone
2024-11-21 14:20:04 -07:00
Travis Nielsen 0bb194f4f5 Merge pull request #15021 from rook/dependabot/github_actions/github/codeql-action-3.27.4
build(deps): bump github/codeql-action from 3.27.1 to 3.27.4
2024-11-21 11:29:17 -07:00
Travis Nielsen 2002d9c93d Merge pull request #15027 from parth-gr/external-radosnamespace
external: fix detect job in radosnamespace controller
2024-11-21 08:10:15 -07:00
Travis Nielsen d7ec9ea1aa Merge pull request #15033 from emmanuel-ferdman/master
docs: update Ceph Block Pool CRD reference
2024-11-21 08:02:43 -07:00
Artem Torubarov 418d6e07e4 rgw: fix shared pools for zone
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2024-11-21 14:58:40 +01:00
Emmanuel Ferdman 011a04762b docs: update Ceph Block Pool CRD reference
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-21 04:52:10 -08:00
parth-gr a484ff7d96 external: fix detect job in radosnamespace controller
in external mode deployments ceph iamge is not provided
and job keeps on failing to get the cephversion
fix by checking  if ceph iamge is available

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-11-21 16:42:55 +05:30
Travis Nielsen 333937a114 Merge pull request #15032 from subhamkrai/fix-csi-op-errors
csi: fix new csi-operator related changes
2024-11-20 10:47:53 -07:00
subhamkrai af68134f0f csi: fix new csi-operator related changes
this commit fix the code error faced during e2e testing in
different PR. This PR is just subset of PR 14766. We don't want
to include CI changes in this PR yet.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-11-20 17:14:06 +05:30
Blaine Gardner fc456553b3 Merge pull request #14976 from obnoxxx/fix-revisionhistorylimit
Complete the implementation of  ROOK_REVISION_HISTORY_LIMIT
2024-11-19 13:13:02 -07:00
Michael AdamandTravis Nielsen 39c061fc49 helm: make sure deployments get RevisionHistoryLimit
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 17:10:57 +01:00
Michael Adam a0fb9aa507 core: apply RevisionHistoryLimit to csi
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 17:10:57 +01:00
Michael Adam a530101147 core: propagate RevisionHistoryLimit to crashcollector
still incomplete.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 10:55:26 +01:00
Michael AdamandTravis Nielsen 70d4f5d4b7 core: fix the revisionHistoryLimit implementation and test
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 10:55:26 +01:00
Travis Nielsen 4524f3d78e Merge pull request #15016 from solidDoWant/master
rook: add warning when duplicate node topology values are detected
2024-11-18 11:51:13 -07:00
Fred Heinecke f54ecaaff1 osd: add warning when duplicate node topology values are detected
When node topology labels with duplicate values are detected, rook silently discards all but one label.
This adds a warning informing administrators of this, allowing for easier identification of labeling issues.

Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2024-11-18 18:23:56 +00:00
subham rai 3cb2fa9b01 Merge pull request #15022 from rook/dependabot/github_actions/DavidAnson/markdownlint-cli2-action-18.0.0
build(deps): bump DavidAnson/markdownlint-cli2-action from 17.0.0 to 18.0.0
2024-11-18 21:14:54 +05:30
subham rai f2cb53a002 Merge pull request #15020 from rook/dependabot/github_actions/dcarbone/install-jq-action-3.0.1
build(deps): bump dcarbone/install-jq-action from 2.1.0 to 3.0.1
2024-11-18 21:14:29 +05:30
Travis Nielsen 474a7c0dfc Merge pull request #15019 from amrut-asm/master
helm: set service account for toolbox pod
2024-11-18 07:15:55 -07:00
dependabot[bot] c061162dac build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/db43aef879112c3119a410d69f66701e0d530809...eb5ca3ab411449c66620fe7f1b3c9e10547144b0)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:12 +00:00
dependabot[bot] 113175b105 build(deps): bump github/codeql-action from 3.27.1 to 3.27.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.1 to 3.27.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4f3212b61783c3c68e8309a0f18a699764811cda...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:10 +00:00
dependabot[bot] d72327d3b5 build(deps): bump dcarbone/install-jq-action from 2.1.0 to 3.0.1
Bumps [dcarbone/install-jq-action](https://github.com/dcarbone/install-jq-action) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/dcarbone/install-jq-action/releases)
- [Commits](https://github.com/dcarbone/install-jq-action/compare/8867ddb4788346d7c22b72ea2e2ffe4d514c7bcb...e397bd87438d72198f81efd21f876461183d383a)

---
updated-dependencies:
- dependency-name: dcarbone/install-jq-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:03 +00:00
amrut-asm 8750b70771 helm: set service account for toolbox pod
run the tools pod with the rook-ceph-default service account

setting the service account for the pod prevents SCC violations on openshift

Signed-off-by: amrut-asm <amrutrn1@gmail.com>
2024-11-18 12:45:00 +05:30
Travis Nielsen 9bad30dd0d Merge pull request #14826 from prazumovsky/use-keyfile-if-no-auth
osd: import keyring file on activate to ceph auth if not imported yet
2024-11-15 21:00:45 -07:00
Travis Nielsen 597e5e9be7 Merge pull request #15004 from parth-gr/external-fix-docs
external: fix external cluster docs
2024-11-15 07:30:38 -07:00
parth-gr 59ed91cc7e external: fix external cluster docs
update the incstruction for where to run python script

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-11-15 18:57:06 +05:30
Peter Razumovsky 12613bc2fa osd: add osd auth recovery from file canary job test
Add test to canary-integration-test scenarios which removes
osd auth and then recovers it on osd activation from keyring
file.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
2024-11-15 16:41:31 +04:00
Peter Razumovsky 62ffcd4cbe osd: remove excess if-else for keyring file import in activate script
Remove unnecessary if-else statement inside "if keyring file exists"
condition of osd activate script.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
2024-11-12 21:20:57 +04:00
Peter Razumovsky 6eb2d1121a osd: import keyring file on activate to ceph auth if not imported yet
If host path keyring file exists and created during osd-prepare but not
imported to ceph auth then rook-ceph-osd activate init container will
create new keyring in ceph auth by ceph auth get-or-create command. To
avoid keyrings difference in host path and in ceph auth, consider
importing key from host path keyring file if no keyring found in ceph
auth.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
2024-11-12 21:20:57 +04:00
subham rai 7822e6b199 Merge pull request #14990 from rook/dependabot/github_actions/github/codeql-action-3.27.1
build(deps): bump github/codeql-action from 3.27.0 to 3.27.1
2024-11-11 21:27:59 +05:30
subham rai d749893247 Merge pull request #14992 from rook/dependabot/go_modules/golang.org/x/sync-0.9.0
build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0
2024-11-11 21:15:45 +05:30
dependabot[bot] a98a1e531c build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 12:54:29 +00:00
dependabot[bot] 0edd074851 build(deps): bump github/codeql-action from 3.27.0 to 3.27.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/662472033e021d55d94146f66f6058822b0b39fd...4f3212b61783c3c68e8309a0f18a699764811cda)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 12:41:55 +00:00
subham rai 66e2d53c06 Merge pull request #14987 from Madhu-1/csiaddons-rbac
csi: add required finalizers for openshift
2024-11-11 14:04:53 +05:30
Madhu Rajanna 158891a37c csi: add required finalizers for openshift
openshift cluster need to have access to
finalizers when we set the blockOwnerDeletion
if an ownerReference refers to a resource
we can't set finalizers on, This adds the extra
required permission

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-11-11 08:49:16 +01:00
Travis Nielsen a100ae3d8c Merge pull request #14977 from sp98/pool-id-in-status
core: add pool IDs to cephBlockPool CR status
2024-11-08 10:57:50 -07:00
Travis Nielsen afb6bce4b7 Merge pull request #14981 from GrantFleming/allow-arbiter-failover-in-stretch
operator: monitors should always be allowed to failover
2024-11-08 09:22:42 -07:00