Commit Graph
13292 Commits
Author SHA1 Message Date
subham rai b74584f8ef Merge pull request #14678 from rook/dependabot/go_modules/github-dependencies-2c13738831
build(deps): bump github.com/csi-addons/kubernetes-csi-addons from 0.9.0 to 0.9.1 in the github-dependencies group
2024-09-03 16:17:27 +05:30
dependabot[bot] bf99a14c71 build(deps): bump github.com/csi-addons/kubernetes-csi-addons
Bumps the github-dependencies group with 1 update: [github.com/csi-addons/kubernetes-csi-addons](https://github.com/csi-addons/kubernetes-csi-addons).


Updates `github.com/csi-addons/kubernetes-csi-addons` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/csi-addons/kubernetes-csi-addons/releases)
- [Commits](https://github.com/csi-addons/kubernetes-csi-addons/compare/v0.9.0...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/csi-addons/kubernetes-csi-addons
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:31:43 +00:00
dependabot[bot] 4458eae5c8 build(deps): bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [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/2c779ab0d087cd7fe7b826087247c2c81f27bfa6...4dd16135b69a43b6c8efb853346f8437d92d3c93)

---
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-09-02 12:14:04 +00:00
dependabot[bot] fc9cea164e build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:13:57 +00:00
dependabot[bot] 1ee58cc5bc build(deps): bump actions/setup-python from 5.1.1 to 5.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/39cd14951b08e74b54015e9e001cdefcf80e669f...f677139bbe7f9c59b41e40162b753c062f5d49a3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:13:48 +00:00
Travis Nielsen 06f11e850f Merge pull request #14642 from raynay-r/fix-scc-volume-order-for-argocd-diff
helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes
2024-08-30 14:22:57 -06:00
rene 746ef30b09 helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes
Signed-off-by: rene <rene.raab@gmx.net>
Co-authored-by Travis Nielsen <tnielsen@redhat.com>
2024-08-30 13:51:58 -06:00
Travis Nielsen e7e1434267 Merge pull request #14652 from takirala/patch-2
docs: exhaustively list all priority class options
2024-08-29 12:55:23 -06:00
Tarun Gupta Akirala 48ab3d774f docs: exhaustively list all priority class options
List all possible config values for listing
PriorityClasses in CephCluster CRD.

Signed-off-by: Tarun Gupta Akirala <tarun.akirala@nutanix.com>
2024-08-29 08:14:56 -07:00
Mathias Chapelain 52ca68d46e osd: discover metadata and wal devices for raw device cleanup
When doing the clean-up of raw device OSDs, it was not taking metadata
and wal devices into account. This commit discover them via the output
of `ceph-volume raw list`, which is returning `device_db` and/or
`device_wal` if they are present.

After discovering the metadata and wal device it also clean them and
close the encrypted device if any.

Signed-off-by: Mathias Chapelain <mathias.chapelain@proton.ch>
2024-08-29 08:47:32 +02:00
Blaine Gardner 88eab510dd Merge pull request #14660 from travisn/reset-release-notes
docs: Reset pending release notes
2024-08-28 16:51:53 -06:00
Blaine Gardner 6a4c87dc92 Merge pull request #14616 from BlaineEXE/rgw-allow-extra-volumes
rgw: allow users to add custom volume mounts
2024-08-28 16:47:23 -06:00
Travis Nielsen ceee04b671 docs: reset pending release notes
Since 1.15 is released, we reset the pending release notes
for the 1.16 release

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-28 15:22:46 -06:00
Blaine Gardner eea43b7b79 rgw: allow users to add custom volume mounts
Allow RGW users to mount arbitrary volumes to RGW pods. This follows the
pattern that was established for NFS to support SSSD and LDAP, and
reuses much of the same code.

This opens the door wider for advanced users to take advantage of some
Ceph RGW features that Rook doesn't have first class support for.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-27 16:16:53 -06:00
Blaine Gardner c9d56a3d1d Merge pull request #14641 from Vamsi-344/feat/modify-ceph-object-multisite
docs: fix ceph object multisite and update source code layout
2024-08-27 11:28:11 -06:00
subham rai d1166cdbef Merge pull request #14656 from chanyoung/fix-doc-typo
docs: fix typo
2024-08-27 14:11:19 +05:30
chanyoung d1b014090d docs: fix typo
Corrects a typo in 'CRDs/Cluster/host-cluster.md'.

Signed-off-by: chanyoung <park910113@gmail.com>
2024-08-27 16:23:06 +09:00
subham rai 6a004e59b1 Merge pull request #14647 from rook/dependabot/github_actions/snyk/actions-9213221444c2dc9e8b2502c1e857c26d851e84a7
build(deps): bump snyk/actions from ae9442546152ba9bb0a1c85e2672112c97e7a06d to 9213221444c2dc9e8b2502c1e857c26d851e84a7
2024-08-27 11:39:05 +05:30
subham rai d5889f59cc Merge pull request #14648 from rook/dependabot/github_actions/github/codeql-action-3.26.5
build(deps): bump github/codeql-action from 3.26.2 to 3.26.5
2024-08-27 11:12:42 +05:30
subham rai aaefb1917e Merge pull request #14649 from rook/dependabot/github_actions/wagoid/commitlint-github-action-6.1.1
build(deps): bump wagoid/commitlint-github-action from 6.0.2 to 6.1.1
2024-08-27 10:53:06 +05:30
sp98 8fa8612201 core: check for duplicate ceph fs pool names
Only single pool will get created if there are multiple
data pool entries with same name. This PR just adds a check
to fail if duplicate pools are present.

Signed-off-by: sp98 <sapillai@redhat.com>
2024-08-27 10:40:35 +05:30
subham rai 041da2ced3 Merge pull request #14650 from rook/dependabot/go_modules/k8s-dependencies-54e8d47dce
build(deps): bump the k8s-dependencies group with 2 updates
2024-08-26 21:19:17 +05:30
dependabot[bot] 35b30815e8 build(deps): bump the k8s-dependencies group with 2 updates
Bumps the k8s-dependencies group with 2 updates: [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) and [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider).


Updates `k8s.io/cli-runtime` from 0.30.3 to 0.31.0
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.30.3...v0.31.0)

Updates `k8s.io/cloud-provider` from 0.30.3 to 0.31.0
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.30.3...v0.31.0)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/cloud-provider
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 12:30:01 +00:00
dependabot[bot] acefbbf35c build(deps): bump wagoid/commitlint-github-action from 6.0.2 to 6.1.1
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 6.0.2 to 6.1.1.
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/baa1b236f990293a1b2d94c19e41c2313a85e749...a2bc521d745b1ba127ee2f8b02d6afaa4eed035c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 12:12:15 +00:00
dependabot[bot] 3fb51c2362 build(deps): bump github/codeql-action from 3.26.2 to 3.26.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.26.5.
- [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/429e1977040da7a23b6822b13c129cd1ba93dbb2...2c779ab0d087cd7fe7b826087247c2c81f27bfa6)

---
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-08-26 12:12:10 +00:00
dependabot[bot] 58edaa1b94 build(deps): bump snyk/actions
Bumps [snyk/actions](https://github.com/snyk/actions) from ae9442546152ba9bb0a1c85e2672112c97e7a06d to 9213221444c2dc9e8b2502c1e857c26d851e84a7.
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/ae9442546152ba9bb0a1c85e2672112c97e7a06d...9213221444c2dc9e8b2502c1e857c26d851e84a7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 12:12:05 +00:00
Vamsi Krishna Sethu a26565d922 docs: fix ceph object multisite and update source code layout
Signed-off-by: Vamsi Krishna Sethu <sethuvamsikrishna@gmail.com>
2024-08-23 20:55:32 +05:30
Travis Nielsen 5218e1d70e Merge pull request #14630 from chanyoung/fix_osx_make_test
tests: fix unit test failure on macOS due to temp directory path
2024-08-23 07:15:49 -06:00
Travis Nielsen 401c74867f Merge pull request #14636 from BenoitKnecht/fix-ceph-mon-failuredomainlabel
core: fix Ceph monitor deployment in separate zones
2024-08-23 07:14:10 -06:00
Benoît Knecht 1c45677f5e core: fix Ceph monitor deployment in separate zones
Previously, Rook would fail to create monitors for a `CephCluster` spec that
required them to be located in distinct failure domains:

```yaml
spec:
  mon:
    count: 3
    failureDomainLabel: topology.kubernetes.io/zone
    zones:
    - eu-central-1a
    - eu-central-1b
    - eu-central-1c
```

This was due to the fact that Rook was mistakenly getting the
`failureDomainLabel` from `spec.mon.stretchCluster.failureDomainLabel`.

This commit ensures `spec.mon.failureDomainLabel` is being used instead, which
fixes the cluster deployment for the spec above.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2024-08-23 09:06:55 +02:00
chanyoung d77f6e5e3d tests: fix unit test failure on macOS due to temp directory path
Use os.TempDir() instead of '/tmp'. This is for the peermap tests.

Signed-off-by: chanyoung <park910113@gmail.com>
2024-08-23 09:38:32 +09:00
Travis Nielsen bc78f1d173 Merge pull request #14631 from sp98/fix-cleanup-jobs
core: fix host cleanup jobs to read flags correctly.
2024-08-22 10:32:11 -06:00
Travis Nielsen 73391bbd89 Merge pull request #14629 from BlaineEXE/fix-multus-validation-test-default-service-account
multus: fix default service account handling
2024-08-22 10:31:20 -06:00
sp98 a44a22216f core: fix reading flags in cleanup job cmd
Cleanup job cli was not reading the flags correctly.
As a result, dataDirHostPath was never cleaned up.

Signed-off-by: sp98 <sapillai@redhat.com>
2024-08-22 19:46:55 +05:30
Blaine Gardner 58e3feaacf multus: fix default service account handling
The default service account isn't passed to the multus validation test
when no config file is used. Fix this.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-21 16:42:47 -06:00
Travis Nielsen 873676e854 Merge pull request #14627 from parth-gr/external-config5
external: remove the false bool values from config file
2024-08-21 13:17:20 -06:00
Travis Nielsen 75e6fc6694 Merge pull request #14617 from travisn/docker-io-ci
build: Generate the local build tag with docker io
2024-08-21 11:47:49 -06:00
parth-gr d2f8ce4c47 external: remove the false bool values from config file
currently we created a new config file or user creation,
Which was have the user config.

We were also appending the script deafult values to the config file
With that all the boolean values were appended to the config.ini file

v2-port-enable = False
....

But the config.ini treat all the bolean values as true, irrespective of they
are set to, it is  because the boolean cli flag doesnt accept the argument

So now removed all the false values from the config.ini

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-08-21 22:19:30 +05:30
Travis Nielsen 8b60c52f31 build: generate the local build tag with docker io
The docker.io image prefix is expected to be prepended
to the image names in the test images. This was missed
in 14550 related to some CI tests, which was now causing
the CI failures in the 1.15 branch where the search and
replace was missing the new docker.io prefix.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3045076db8)
2024-08-21 10:21:31 -06:00
Travis Nielsen 94868a9bc7 Merge pull request #14623 from subhamkrai/bump-go-deps
build(deps): bump the github-dependencies group with 3 updates
2024-08-21 09:48:49 -06:00
subhamkrai 1a5c3662b9 build(deps): bump the github-dependencies group with 3 updates
Bumps the github-dependencies group with 3 updates: [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph), [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) and [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator).

Updates `github.com/ceph/go-ceph` from 0.28.0 to 0.29.0
- [Release notes](https://github.com/ceph/go-ceph/releases)
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md)
- [Commits](ceph/go-ceph@v0.28.0...v0.29.0)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.75.2 to 0.76.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](prometheus-operator/prometheus-operator@v0.75.2...v0.76.0)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.75.2 to 0.76.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](prometheus-operator/prometheus-operator@v0.75.2...v0.76.0)

---
updated-dependencies:
- dependency-name: github.com/ceph/go-ceph
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
...

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-21 16:02:30 +05:30
subham rai 14d2872256 Merge pull request #14618 from subhamkrai/correct-tag-csi-op
csi: use specific tag instead of latest image
2024-08-21 11:04:28 +05:30
subhamkrai 838f583c66 csi: use specific tag instead of latest image
when I was pusing the new changes in older pr I missed
updating the latest tag to v0.1.0 in csi-operator.yaml
file. Updating now.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-21 08:00:17 +05:30
Travis Nielsen 6b926495bc Merge pull request #14612 from zalsader/add-missing-slack-link
docs: missing slack link
2024-08-20 12:49:21 -06:00
Zuhair AlSader b6087c46bb docs: missing slack link
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
2024-08-20 14:27:17 -04:00
Blaine Gardner afdfffac67 Merge pull request #14435 from parth-gr/osd-resize
osd: reweight osd while resizing
2024-08-20 12:14:22 -06:00
Travis Nielsen 3d747f399e Merge pull request #14598 from jrcichra/configurable-metrics-bind-address
core: add configuration option for metrics bindAddress
2024-08-20 12:13:43 -06:00
Travis Nielsen 7c66cd24a9 Merge pull request #14550 from zalsader/add-registry-name
manifest: add registry name to docker images
2024-08-20 12:12:08 -06:00
Blaine Gardner 09d2f5b71a Merge pull request #14604 from BlaineEXE/fix-make-test-on-arm-mac
test: fix 'make test' on arm mac
2024-08-20 11:40:09 -06:00
Justin Cichra 74a79b24b3 core: add configuration option for metrics bindAddress
Alerting on controller-runtime's workqueue_depth can be useful for
debugging controllers. Also having a prometheus target for a pod gives
another data point that the system is working as expected. It is useful
for uptime alerts.

Make the bind address configurable via the configmap while still retaining the default
behavior that it is disabled.

Resolves: #14538

Signed-off-by: Justin Cichra <jcichra@cloudflare.com>
2024-08-20 13:38:38 -04:00