Commit Graph
13292 Commits
Author SHA1 Message Date
Zuhair AlSader 6714b86d3b manifest: add registry name to docker images
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
2024-08-20 13:35:08 -04:00
Travis Nielsen 128dcddfcf Merge pull request #14599 from subhamkrai/update-csi-operator-version
csi: update csi-operator to use latest tag v0.1
2024-08-20 11:26:44 -06:00
parth-gr 17cfda5bd6 osd: reweight osd while resizing
osd got resized by cryptsetup bluestore cmd
but it should also be reweight to balance the pgs properly

closes: https://github.com/rook/rook/issues/14430

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-08-20 22:52:33 +05:30
Travis Nielsen 18489619fa Merge pull request #14357 from iPraveenParihar/upgrade-sidecar-versions
csi: update csi sidecars' image version
2024-08-20 11:21:11 -06:00
Blaine Gardner 5da7feb9d7 test: fix 'make test' on arm mac
make test was failing when running on arm macbooks. Fix it so that it
isn't running with hardcoded GOOS=linux.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-20 11:19:12 -06:00
Praveen M 1efe3b6ee9 csi: add csinodes rbac rule for cephfs provisioner
Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-08-20 22:08:21 +05:30
Praveen M a1ddf4535d csi: update csi sidecars' image version
Below csi sidecars are updated with latest available versions

csi-resizer: v1.11.1
csi-provisioner: v5.0.1
csi-attacher: v4.6.1
csi-snapshotter: v8.0.1
csi-node-driver-registrar: v2.11.1

Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-08-20 22:08:19 +05:30
subhamkrai 2556e14780 build: changes forced by latest controller-runtime
this commit contains changes that are forced by latest
controller-runtime version v0.19.0.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-20 21:21:42 +05:30
Travis Nielsen 8a437be103 Merge pull request #14586 from ShravaniVangur/updateStorageClass
csi: storageclass update to gp2-csi
2024-08-20 07:33:19 -06:00
subham rai b1f2fcf4be Merge pull request #14597 from travisn/codegen-keystone
build: Update codegen deepcopy for swift
2024-08-20 11:57:51 +05:30
subhamkrai 89e9077e72 csi: update csi-operator to use latest tag v0.1
updating csi-operator version in go.mod and csi-operator.yaml
to use latest release v0.1. And also fixing one small bug
where csi-driver log level was set in csi-operator log level.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-20 11:23:07 +05:30
Travis Nielsen 4b232f3f92 Merge pull request #14592 from rook/dependabot/github_actions/actions/checkout-4.1.7
build(deps): bump actions/checkout from 4.1.1 to 4.1.7
2024-08-19 15:09:59 -06:00
Travis Nielsen 9c18f6cd80 Merge pull request #14593 from rook/dependabot/github_actions/ossf/scorecard-action-2.4.0
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0
2024-08-19 15:09:45 -06:00
Travis Nielsen f2a69d5767 Merge pull request #14594 from rook/dependabot/github_actions/github/codeql-action-3.26.2
build(deps): bump github/codeql-action from 3.24.9 to 3.26.2
2024-08-19 15:09:26 -06:00
Travis Nielsen bac71826de Merge pull request #14591 from rook/dependabot/github_actions/actions/upload-artifact-4.3.6
build(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.6
2024-08-19 15:07:56 -06:00
ShravaniVangur 9656d1963a csi: storageclass update to gp2-csi
Updating storageClassName for cluster-on-pvc.yaml file from gp2 to gp2-csi.

Signed-off-by: ShravaniVangur <shravanivangur@gmail.com>
2024-08-20 00:08:50 +05:30
Travis Nielsen 52f892af76 build: update codegen deepcopy for swift
The codegen needs updating since the swift
types were added.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-19 11:59:48 -06:00
dependabot[bot] 3b5599bd60 build(deps): bump github/codeql-action from 3.24.9 to 3.26.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.9 to 3.26.2.
- [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/1b1aada464948af03b950897e5eb522f92603cc2...429e1977040da7a23b6822b13c129cd1ba93dbb2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:23 +00:00
dependabot[bot] d403958001 build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:16 +00:00
dependabot[bot] 4a64e80d07 build(deps): bump actions/checkout from 4.1.1 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:12 +00:00
dependabot[bot] e64cf73876 build(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.pre.node20 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3-node20...834a144ee995460fba8ed112a2fc961b36a5ec5a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:02 +00:00
Blaine Gardner 884111c221 Merge pull request #14583 from BlaineEXE/fix-canary-runs
ci: fix gh action hash pin typo
2024-08-16 11:37:12 -06:00
Blaine Gardner bc1c4160d2 ci: fix gh action hash pin typo
Fix a github action hash version pin typo that causes canary jobs to not
run.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-16 11:01:27 -06:00
Blaine Gardner 679ccc762d Merge pull request #14576 from travisn/version-detect-annotation
core: Add annotations and labels to detect version jobs
2024-08-16 10:03:41 -06:00
Travis Nielsen 80ac56ecd2 Merge pull request #14579 from Madhu-1/csi-addons-0.9.0
csi: update csi-addons to v0.9.0
2024-08-16 08:35:54 -06:00
Madhu Rajanna 7c7e8a2b32 csi: update cephcsi to 3.12.0
updating cephcsi image to 3.12.0
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-08-16 10:47:44 +02:00
Madhu Rajanna 123025f22c csi: update csi-addons to v0.9.0
As we have new csi-addons v0.9.0
updating the same here as well.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-08-16 07:57:16 +02:00
Travis Nielsen 5014d5bcf2 core: add annotations and labels to detect version jobs
The jobs to detect the ceph and csi versions now can have
custom annotationso and labels added to them. They are
very short-lived jobs, but they may need custom annotations
in some environments to run.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-15 16:48:28 -06:00
Travis Nielsen 9840bd44a3 Merge pull request #14573 from harshitasao/github-workflows-pin-dependencies
ci: github workflows pin dependencies
2024-08-15 10:22:38 -06:00
Travis Nielsen 115835fb26 Merge pull request #14574 from harshitasao/github-action-pin-dependencies
ci: github action pin dependencies
2024-08-15 10:08:33 -06:00
Travis Nielsen 466b3ac1bf Merge pull request #14570 from harshitasao/pin-auto-assign-dependencies
ci: pin auto-assign dependencies
2024-08-15 08:16:29 -06:00
harshitasao fb697fb0f7 ci: github action pin dependencies
The openSSF scorecard report warns that the github actions are not pinned by hash.

This PR aims at improving this by pinning the github actions by hash.

Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-15 19:06:30 +05:30
harshitasao c6ab1f2ba3 ci: github workflows pin dependencies
The openSSF scorecard report warns that the github workflows are not pinned by hash.

This PR aims at improving this by pinning the github workflows by hash.

Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-15 18:17:30 +05:30
harshitasao aa297e197d ci: pin auto-assign dependencies
The openSSF scorecard report warns that the github actions are not
pinned by hash.

This PR aims at improving this by pinning the auto-assign.yaml workflow by hash.

Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-15 14:52:06 +05:30
Travis Nielsen 42d5bd829f Merge pull request #14556 from rook/dependabot/go_modules/github-dependencies-3874fed157
build(deps): bump github.com/sethvargo/go-password from 0.2.0 to 0.3.1 in the github-dependencies group
2024-08-14 16:43:09 -06:00
Travis Nielsen 1d82e073a0 Merge pull request #14565 from BlaineEXE/multus-ci-test
ci: fix failing multus validation tool test
2024-08-14 15:30:11 -06:00
Blaine Gardner 5773132d7f ci: fix failing multus validation tool test
Ceph image no longer has `ip` tool installed. Use a different container
image for the daemonset which sets host IPs and routes for multus hosts.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-14 12:25:44 -06:00
Travis Nielsen 9546b71097 Merge pull request #14418 from harshitasao/issue-14404
Added the scorecard github action and its badge
2024-08-14 11:09:45 -06:00
Travis Nielsen 9b5beb1ce0 Merge pull request #14566 from travisn/k8s-1.31
core: Support k8s versions 1.26 through 1.31
2024-08-13 17:54:10 -06:00
Travis Nielsen e157bb5a56 core: support k8s versions 1.26 through 1.31
With the release of K8s v1.31.0, we update the minimum
supported version to v1.26, and add v1.31 to the CI
so we can test the most recent six versions of K8s.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-13 16:54:52 -06:00
Blaine Gardner 5cf75d83ce Merge pull request #14559 from BlaineEXE/upgrade-docs
docs: update upgrade docs for v1.15
2024-08-13 11:15:02 -06:00
Blaine Gardner 6026fb1c36 docs: update upgrade docs for v1.15
Update Rook and Ceph upgrade docs for upcoming v1.15 release.
Tidy up pending release notes in the working text as well as official
doc texts.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-13 10:47:58 -06:00
Blaine Gardner fd0c687d6e Merge pull request #14557 from obnoxxx/token-perms-again
ci: fix excessive token permissions -- again
2024-08-12 12:19:29 -06:00
Michael Adam 2d292976a6 ci: fix excessive token permissions -- again
PR https://github.com/rook/rook/pull/14473

tried to improve the token-permissions score of the OpenSSF scorecard
report.

https://scorecard.dev/viewer/?uri=github.com/rook/rook

The latest scorecard run however shows that this score has  not improved.
It still shows two warbnings about missing top level permissions.

The rest looks good (just Info entries).

This change aims at  finally improving the token-permissions score

by adding top level permissions to the two warned-about workflow files.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-08-12 19:24:20 +02:00
dependabot[bot] 2cc5d4b47f build(deps): bump github.com/sethvargo/go-password
Bumps the github-dependencies group with 1 update: [github.com/sethvargo/go-password](https://github.com/sethvargo/go-password).


Updates `github.com/sethvargo/go-password` from 0.2.0 to 0.3.1
- [Commits](https://github.com/sethvargo/go-password/compare/v0.2.0...v0.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 12:54:06 +00:00
Travis Nielsen cb1ea8c7de Merge pull request #14546 from zalsader/fix-affinity-docs
docs: fix affinity docs in operator chart
2024-08-09 08:31:45 -06:00
Zuhair AlSader c146b59d6f docs: fix affinity docs in operator chart
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
2024-08-08 22:00:35 -04:00
Blaine Gardner 5f98d2ea3e Merge pull request #13807 from jklippel/feature/swift-and-keystone
rgw: implement support for authentication using keystone for s3 and swift
2024-08-08 09:55:34 -06:00
subham rai 33680d5bbc Merge pull request #14489 from subhamkrai/add-csidriveroperator-config
csi: add csi-operator operator config cr
2024-08-08 20:52:57 +05:30
ee8bcad49d rgw: add support for keystone auth + swift/s3
For the specification see:
<https://github.com/rook/rook/blob/master/design/ceph/object/swift-and-keystone-integration.md>

* extend the API object specs for swift and keystone integration

* adapt rgw to the new go-ceph version

  - The parameter lists of the API call have changes, as parameters
    ignored by the RGW Admin Ops API are no longer serialized, therefore
    the mock has to be adapted.

  - There is now validation for the user keys that are passed to the
    User get API, therefore things failed when we had empty keys in our
    User proxy object.

* expand the reconcile loop for the swift and keystone integration

* fix minor mistakes in design document

* add env var to pass extra args to minikube

  Minikube decides CPU cores and memory automatically based on the
  available resources on the machine which may be insufficient to
  run rook. This commit adds an environment variable to add arbitrary
  arguments to the minikube command, so both can be specified if
  desired.

* integration tests for swift and keystone

  The new integration of swift or s3 and keystone support by rook
  does not have any integration tests yet.

  This commit introduces integration tests for swift and keystone. The
  tests are done against a minimal keystone setup (keystone container
  image from Yaook-project (https://yaook.cloud), sqlite as database
  backend, cert-manager and trust-manager for test certificate setup).

  To prevent hardcoded credentials, passwords are generated
  by the tests. The integration tests use the openstack client
  (keystone- and swift-functionality) (https://docs.openstack.org/
  python-openstackclient/ latest/). This was a concious design decision
  to use client tooling as close as possible to the end user instead of
  using other go-libraries (such as gophercloud).

* add documentation on swift and keystone

  Currently there is no documentation on the use of Swift to access
  an object store as well as the use of OpenStack keystone for
  authentication.

  This commit adds documentation on the use of Swift and OpenStack
  keystone, as well as CRD-related documentation and an example setup.

* add integration tests for S3 via keystone

  This commit introduces integration tests for s3 and keystone. The
  tests are run against the same minimal keystone setup that the tests
  for swift and keystone use.

  The integration tests use the aws s3 client to use client tooling as
  close as possible to the end user instead of using other go-libraries.

Co-authored-by: Jan Klippel <jan.klippel@uhurutec.com>
Co-authored-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
2024-08-08 14:26:21 +02:00