Commit Graph
9678 Commits
Author SHA1 Message Date
Travis Nielsen c0fdcd3f40 Merge pull request #11823 from parth-gr/topology
osd: validate and remove duplicate topology
2023-03-15 12:39:17 -06:00
Travis Nielsen ab70310561 Merge pull request #11906 from subhamkrai/fix-ci-build
ci: temporarily skipping other platform to fix build
2023-03-15 07:42:20 -06:00
subhamkrai 1112e31511 ci: temporarily skipping another platform to fix the build
temporarily skipping other platforms to fix the build since we are working on bigger changes to remove csv generation.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-03-15 18:34:55 +05:30
Travis Nielsen d2e0ccc975 Merge pull request #11903 from parth-gr/assign-update
ci: update github token in auto-assign bot
2023-03-14 09:48:51 -06:00
parth-gr c7c5763648 ci: update github token in auto-assign bot
This Pr updates the behaviour of the token used by the bot
https://github.com/bdougie/take-action/commit/dae661e9a0abfafa2be0c170be1156302f4149e8

Closes: https://github.com/rook/rook/issues/11863

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-14 19:41:05 +05:30
parth-gr 89764f0371 osd: remove deprecated k8s topology label
Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-14 17:28:19 +05:30
Blaine Gardner ef4c4f909a Merge pull request #11777 from taxilian/feature/nfs-hostnetwork
nfs: network mode can be set separately for cephcluster and nfs
2023-03-13 12:14:08 -06:00
Travis Nielsen b5bea080f2 Merge pull request #11890 from rook/dependabot/go_modules/github.com/ceph/go-ceph-0.20.0
build(deps): bump github.com/ceph/go-ceph from 0.18.0 to 0.20.0
2023-03-13 09:21:23 -06:00
Travis Nielsen a7542bcbaf Merge pull request #11880 from DjVinnii/fix/common_yaml_typo
manifest: add missing quote
2023-03-13 09:19:34 -06:00
dependabot[bot] 3213986b31 build(deps): bump github.com/ceph/go-ceph from 0.18.0 to 0.20.0
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.18.0 to 0.20.0.
- [Release notes](https://github.com/ceph/go-ceph/releases)
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md)
- [Commits](https://github.com/ceph/go-ceph/compare/v0.18.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/ceph/go-ceph
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 14:34:02 +00:00
Travis Nielsen b86f35e247 Merge pull request #11891 from rook/dependabot/github_actions/aws-actions/configure-aws-credentials-2
build(deps): bump aws-actions/configure-aws-credentials from 1 to 2
2023-03-13 08:26:03 -06:00
Travis Nielsen 2a55a77c51 Merge pull request #11889 from rook/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.219
build(deps): bump github.com/aws/aws-sdk-go from 1.44.214 to 1.44.219
2023-03-13 08:24:38 -06:00
Travis Nielsen 3ed2767347 Merge pull request #11888 from rook/dependabot/go_modules/github.com/gemalto/kmip-go-0.0.9
build(deps): bump github.com/gemalto/kmip-go from 0.0.8 to 0.0.9
2023-03-13 08:23:43 -06:00
Travis Nielsen 99248d12f1 Merge pull request #11887 from rook/dependabot/go_modules/k8s.io/apimachinery-0.26.2
build(deps): bump k8s.io/apimachinery from 0.26.1 to 0.26.2
2023-03-13 08:23:06 -06:00
Travis Nielsen 26f1a53cbe Merge pull request #11886 from rook/dependabot/go_modules/sigs.k8s.io/controller-runtime-0.14.5
build(deps): bump sigs.k8s.io/controller-runtime from 0.14.4 to 0.14.5
2023-03-13 08:22:24 -06:00
dependabot[bot] 08287fc90a build(deps): bump aws-actions/configure-aws-credentials from 1 to 2
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 2.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1...v2)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 13:06:37 +00:00
dependabot[bot] 98b0dfbf13 build(deps): bump github.com/aws/aws-sdk-go from 1.44.214 to 1.44.219
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.214 to 1.44.219.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.214...v1.44.219)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 13:00:29 +00:00
dependabot[bot] a1d0a3dcd3 build(deps): bump github.com/gemalto/kmip-go from 0.0.8 to 0.0.9
Bumps [github.com/gemalto/kmip-go](https://github.com/gemalto/kmip-go) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/gemalto/kmip-go/releases)
- [Commits](https://github.com/gemalto/kmip-go/compare/v0.0.8...v0.0.9)

---
updated-dependencies:
- dependency-name: github.com/gemalto/kmip-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 13:00:13 +00:00
dependabot[bot] 02320dfa9f build(deps): bump k8s.io/apimachinery from 0.26.1 to 0.26.2
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.26.1...v0.26.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 13:00:05 +00:00
dependabot[bot] 0b4b907c74 build(deps): bump sigs.k8s.io/controller-runtime from 0.14.4 to 0.14.5
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.14.4...v0.14.5)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 12:59:52 +00:00
Vincent Kling bd857cc5c5 manifest: add missing quote
Signed-off-by: Vincent Kling <v.kling@vinniict.nl>
2023-03-11 11:44:58 +01:00
Travis Nielsen 6273bc1aec Merge pull request #11859 from travisn/csi-msgr2
csi: Update port to 3300 if msgr2 is required
2023-03-10 14:50:49 -07:00
travisn 0484a3973f csi: update port to 3300 if msgr2 is required
When msgr2 is required, ensure the mon endpoints passed to
the csi configmap are on port 3300. The mons will be
listening on both 6789 and 3300. Existing volumes can
continue using port 6789 while new volumes will use
port 3300.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-10 10:34:56 -07:00
Travis Nielsen eeb9403774 Merge pull request #11864 from thenamehasbeentake/cephcluster-fsid
core: add fsid to the additionalPrinterColumns on cephcluster custom resource
2023-03-10 07:54:41 -07:00
Travis Nielsen 87c4feae9f Merge pull request #11872 from Rakshith-R/ci-multi-cluster
ci: increase wait time for external cluster to be ready
2023-03-10 07:42:27 -07:00
Rakshith R cc72697f2a ci: increase wait time for external cluster to be ready
Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-10 12:26:53 +05:30
Travis Nielsen 21670b1ca1 Merge pull request #11866 from avanthakkar/add-missing-exporter-deployment-labels
core: add missing labels in exporter deployment
2023-03-09 10:26:01 -07:00
parth-gr c22f5f36cb osd: validate and remove duplicate topology
remove the duplicate topology added to the node,
and the priority to keep duplicate would be give to
the one who is lowest in the hierarchy

Closes: https://github.com/rook/rook/issues/11800

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-09 21:34:38 +05:30
avanthakkar e235e01fa1 core: add missing labels in exporter deployment
Adding missing `ceph_daemon_id` & `rook_cluster` labels to the exporter deployment.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2023-03-09 20:57:48 +05:30
xiaobaowen df95c1add0 core: add fsid to the additionalPrinterColumns on cephcluster custom resource
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
2023-03-09 21:47:22 +08:00
Travis Nielsen cb4133e7a5 Merge pull request #11814 from travisn/deviceclass-doc
docs: Clarify device class use on all pools
2023-03-08 12:19:46 -07:00
Travis Nielsen d3d7fcc547 Merge pull request #11749 from Rakshith-R/enc-key-rotation
Implement OSD encryption key rotation
2023-03-08 09:36:39 -07:00
Rakshith R b9fc9a643e ci: add test for key rotation
This commit adds test for key rotation.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R 340dbe05b4 docs: add documentation for encryption key rotation
Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R f39a32fcdb osd: add capability to reconcile key rotation cron jobs
This commits adds code to reconcile key rotation cron jobs.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R ef38aea2a4 osd: add util function to create key rotation cron job
This commit adds util function to create key rotation cron job
such as getKeyRotationContainer, getKeyRotationCronPodTemplateSpec
and makeKeyRotationCronJob.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R 71e011f731 osd: add rotate-key functionality to rook's key-management cmd
This commit adds functionality to be able to rotate
key encryption key of encrypted PVC backed OSDs.
Necessary changes such as adding update functionality
to kms and rbac changes are made as well.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R b41fdfbb62 osd: add support for updating secret for default KMS
This commit adds support for updating secret for default KMS.
This is required for encryption key rotation.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R 973723cbdd osd: add util functions to support encryption key rotation
This commit adds util functions to support encryption key rotation
such as RemoveEncryptionKeySlot, AddEncryptionKey and
ensureEncryptionKey.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Rakshith R 46dd2eb5ff core: add KeyRotationSpec to cephcluster CR
This commit adds KeyRotationSpec to cephcluster CR
to support encryption key rotation feature.
If enabled Rook will create a cronjob for each
encrypted PVC based OSD with given schedule set
to rotate their respective key encryption key.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
travisn 38981f2649 docs: clarify device class use on all pools
If the device class property is specified on any pool,
it must be specified on all pools so the pg autoscaler
will remain healthy.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-07 16:04:24 -07:00
Travis Nielsen 6e296ecc71 Merge pull request #11852 from travisn/reset-release-notes
docs: Reset the pending release notes for v1.12
2023-03-07 15:43:47 -07:00
travisn a4bc1b5300 docs: reset the pending release notes for v1.12
For the feature work that will happen in the v1.12
timeframe, we reset the pending release notes in
the master branch.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-07 15:30:32 -07:00
Travis Nielsen f83a70a727 Merge pull request #11848 from avanthakkar/exporter-add-env-var
core: Add env var to exporter for ceph config
2023-03-07 14:21:39 -07:00
avanthakkarandTravis Nielsen b6013d9b11 core: add env var to exporter for ceph config
The exporter requires the mon config and keyring.
Use the CEPH_ARGS env var to specify the config
instead of expecting a ceph.conf to be generated
by another component on the host path.

Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2023-03-07 13:26:31 -07:00
Travis Nielsen 0a7c3c1774 Merge pull request #11829 from rkachach/fix_issue_11791
mgr: revert readiness probe and go back to the original sidecar HA implementation
2023-03-07 11:27:55 -07:00
Redouane Kachach 0ae7867dd1 Revert "mgr: use k8s readiness probe to implement mgr HA"
This reverts commit dc76f81fea.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-03-07 13:12:50 +01:00
Redouane Kachach 456a0c328c Revert "mgr: remove mgr sidecar"
This reverts commit ff75ec96b7.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-03-07 13:12:50 +01:00
Redouane Kachach adc79d4ee4 Revert "mgr: addressing review comments"
This reverts commit 9f37439a07.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-03-07 13:12:50 +01:00
Redouane Kachach 0c652d28e2 Revert "ci: fix MultiClusterDeploySuite CI"
This reverts commit b464428978.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-03-07 13:12:50 +01:00