Commit Graph
13292 Commits
Author SHA1 Message Date
Sheetal Pamecha 06c176524a multus: improve the multus validation test's flakiness metric
Allow the flakiness threshold window to be tuned from the cli

Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-10-31 15:23:10 +05:30
Mateus Valgueiro 85401f87ea docs: add namespace on delete webhook command
The only command on the page that did not have a namespace directly set was this one.

Signed-off-by: Mateus Valgueiro <mateusvalgueiro@gmail.com>
2023-10-30 17:31:44 -03:00
Travis Nielsen 674407db7b Merge pull request #12952 from sp98/hostpath-to-pvs
mon: failover mons from hostpath to persistent volumes
2023-10-30 11:31:21 -06:00
Redouane Kachach f95c96ad29 test: adding an example for cluster on local pvc creation
adding an example for a cluster where local pvc are used
for mon store and for OSD creation

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-30 17:30:45 +01:00
Travis Nielsen 09c55d0705 Merge pull request #13101 from rkachach/fix_issue_create_cluster
test: adding a script to simplify test cluster creation
2023-10-30 10:15:48 -06:00
Travis Nielsen bd6d7c34eb Merge pull request #13121 from rook/dependabot/go_modules/k8s-dependencies-c728294bc7
build(deps): bump the k8s-dependencies group with 1 update
2023-10-30 10:05:52 -06:00
Travis Nielsen 70f2d188a2 Merge pull request #13122 from rook/dependabot/go_modules/github-dependencies-8f8c817bce
build(deps): bump the github-dependencies group with 2 updates
2023-10-30 10:05:19 -06:00
Redouane Kachach 73b7e649d7 test: adding a script to simplify test cluster creation
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-30 16:48:49 +01:00
dependabot[bot] 0cb0b323de build(deps): bump the github-dependencies group with 2 updates
Bumps the github-dependencies group with 2 updates: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) and [github.com/google/uuid](https://github.com/google/uuid).


Updates `github.com/aws/aws-sdk-go` from 1.46.1 to 1.46.6
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.46.1...v1.46.6)

Updates `github.com/google/uuid` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.1...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 12:40:38 +00:00
dependabot[bot] bb73528c4d build(deps): bump the k8s-dependencies group with 1 update
Bumps the k8s-dependencies group with 1 update: [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml).

- [Release notes](https://github.com/kubernetes-sigs/yaml/releases)
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 12:40:07 +00:00
sp98 09356636fa mon: failover mon from hostpath to pv
failover mons from  hostpath to pv and vice versa

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-30 11:46:00 +05:30
Travis Nielsen d34d443e0f Merge pull request #13114 from subhamkrai/rbd-external
pool: rbd cmd shouldn't use admin in external mode
2023-10-27 10:22:54 -06:00
subhamkrai ef4dd76df1 pool: rbd cmd shouldn't use admin in external mode
when creating networkFence, rbd command was loading
admin config and hence running rbd command use client.admin
in case of external cluster also. With this commit instead
of client.admin user it will use what is being passed to
config.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-10-27 14:45:01 +05:30
travisn 0e0598c155 build: add go modules for apis subdir
To keep the go dependencies minimal, add the go packages
just for the pkg/apis directory. Projects that only reference
the rook apis can then have a smaller footprint for Go
dependencies.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-26 16:25:56 -06:00
Travis Nielsen 0c5c8d7645 Merge pull request #13110 from rkachach/fix_issue_mgr_system_rbac
manifests: fix rook-ceph-mgr-system role and namespace
2023-10-26 09:29:00 -06:00
Redouane Kachach d6aae62879 manifest: fix rook-ceph-mgr-system role and namespace
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-26 16:17:32 +02:00
travisn 80244fa6ba object: change is_master from string to bool
In Reef the is_master changed from a string to a bool
so we must update the type for proper json
serialization.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-25 15:26:17 -06:00
travisn fdb72adb8f core: update operator base image to reef
Reef object store configuration may have issues due to
the operator base image being Quincy, while trying
to deploy a Reef cluster. There appear to be forward
compatibility issues with the radosgw-admin command.
Now the base image is updated to v18.2.0 to better
handle the compatibility across ceph versions.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-25 15:26:16 -06:00
Satoru Takeuchi b2116d945d Merge pull request #12166 from cybozu-go/doc-add-table-to-know-supported-osd-configuration
doc: add the table to know supported osd configuration
2023-10-26 05:15:32 +09:00
Satoru Takeuchi bab6e01d37 doc: add the table to know supported osd configuration
It's convenient to visualize the supported OSD configurations.
In addition, remove the reference to the common issue section
about OSD on LV-backed PVC because this issue doesn't happen anymore
for new OSDs.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2023-10-25 20:10:35 +00:00
Travis Nielsen 38e1aed2e6 Merge pull request #13105 from subhamkrai/fix-ci-csv-mac
ci: skip csv generation for mac
2023-10-25 10:41:34 -06:00
Travis Nielsen 53d6a82870 Merge pull request #13099 from sp98/lvm-package-prerequisites
doc: update lvm prerequisites
2023-10-25 09:09:41 -06:00
subhamkrai c4cf300358 ci: skip csv generation for mac
mac build ci is failing during csv gen
when trying to move files to some folder.
Skipping csv gen for mac since it is not required.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-10-25 20:30:24 +05:30
Travis Nielsen 72452f0558 Merge pull request #13089 from rkachach/fix_issue_second_cluster
docs: unifying namespaces handling for the second cluster creation
2023-10-25 08:00:47 -06:00
Travis Nielsen 63ba241ded Merge pull request #13060 from parth-gr/external-updation
external: fix monitoring endpoint check
2023-10-25 07:43:35 -06:00
Redouane Kachach 13654d3c3d docs: unifying namespaces handling for the second cluster creation
Let's use the same technique based on 'sed' while employing two
different namespaces for the cluster and the operator when creating
the second cluster.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-25 09:16:48 +02:00
sp98 8854497d00 doc: update lvm prerequisites
lvm packages should be required if `osdPerDevice` is set
to greater than 1.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-25 12:02:45 +05:30
Travis Nielsen 4d0023d29f Merge pull request #13066 from jxlwqq/patch-1
docs: fix install command
2023-10-24 15:00:00 -06:00
Blaine Gardner 76b90e1a96 Merge pull request #13097 from step-security-bot/stepsecurity_remediation_1698170726
ci: Harden GitHub Actions permissions
2023-10-24 12:25:14 -06:00
Blaine Gardner 4032c873db Merge pull request #13096 from BlaineEXE/govulncheck
test: add govulncheck to look for go vulnerabilities
2023-10-24 12:24:48 -06:00
StepSecurity Bot beef4e2cde test: limit permissions in github actions
Automatic PR from app.stepsecurity.io (initiated by BlaineEXE) to limit 
permissions in github actions to only those needed.

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2023-10-24 18:05:30 +00:00
Blaine Gardner f90e069ba9 test: add govulncheck to look for go vulnerabilities
govulncheck is a static code analyzer that scans more deeply than Snyk.
Additionally, because govulncheck checks the code itself, it can rule
out vulnerabilities that are present in dependencies but that are not
used in Rook's code path.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2023-10-24 11:47:10 -06:00
Travis Nielsen 0de9d7ea0e Merge pull request #13092 from BlaineEXE/readme-snyk-badge
docs: update "synk" -> "snyk" spelling
2023-10-24 11:35:34 -06:00
Travis Nielsen d8f252d10d Merge pull request #13094 from rook/snyk-update
security: update snyk ignores for MPL-2.0
2023-10-24 10:59:33 -06:00
Blaine Gardner bb492e1329 security: update snyk ignores for MPL-2.0
Update the snyk ignores related to Vault MPL-2.0 licenses.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2023-10-24 10:05:22 -06:00
Travis Nielsen aa4835c853 Merge pull request #13078 from rkachach/fix_issue_namespace
namespace: adding namespace to all rook-ceph namespaces references
2023-10-24 09:47:46 -06:00
Blaine Gardner 1d830207a2 docs: update "synk" -> "snyk" spelling
Update some old typos that say "synk" instead of "snyk".
out of sync. This should fix the top-level README.md to use the latest
snyk security scan badge -- as opposed to only referring to the last one
that used the misspelled file from about a month ago.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2023-10-24 09:09:38 -06:00
Travis Nielsen 8229e9e73e Merge pull request #13080 from rkachach/fix_issue_13079
namespace: adding a dedicated entry for operator namespace in common
2023-10-24 08:27:06 -06:00
Redouane Kachach 745d6dc86f docs: adding specific instructions to create operator namespace
When a user attempts to adhere to the current documentation to use alternative
namespaces for both the operator and the cluster, they fail because
our common YAML file only has a single namespace for the cluster. This
change adds specific instructions to create operator namespace.

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-24 16:10:35 +02:00
Redouane Kachach ff081cc4ae namespace: adding namespace to all rook-ceph namespaces references
To make it easier for the user to switch to a namespace other than the
default 'rook-ceph', the tag '# namespace:cluster' must be inserted in
all the places where this namespace is used. This way, a simple 'sed'
command can update all the Yaml files to the new namespace.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-24 14:17:17 +02:00
parth-gr 3363a195a8 external: fix monitoring endpoint check
if the monitoring endpoint is not present
we were not returning any error, but the
field is the mandatory output, so return error if not found

Signed-off-by: parth-gr <paarora@redhat.com>
2023-10-24 00:06:48 +05:30
Travis Nielsen ffaf4a1b3f Merge pull request #13072 from travisn/crash-keyring
core: Crash collector keyring requires rw access for the mgr profile
2023-10-23 11:56:58 -06:00
Travis Nielsen 9d214b9cfe Merge pull request #13061 from parth-gr/external-pool-enable
external: automatically init the rbd pool
2023-10-23 10:37:42 -06:00
parth-gr 40008bf18d external: automatically init the rbd pool
Sometimes the pool is not enabled and the ceph cluster
shows health warning, so automatically initalize the pool
from the script

Signed-off-by: parth-gr <paarora@redhat.com>
2023-10-23 20:45:50 +05:30
Travis Nielsen dc5b3629d5 Merge pull request #13075 from rook/dependabot/go_modules/github-dependencies-1e6a735343
build(deps): bump the github-dependencies group with 1 update
2023-10-23 07:32:41 -06:00
Travis Nielsen b76c576a3e Merge pull request #13074 from rook/dependabot/go_modules/k8s-dependencies-12c32a9cf1
build(deps): bump the k8s-dependencies group with 5 updates
2023-10-23 07:32:04 -06:00
dependabot[bot] b6aefea144 build(deps): bump the github-dependencies group with 1 update
Bumps the github-dependencies group with 1 update: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go).

- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.25...v1.46.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 12:29:06 +00:00
dependabot[bot] 559720f4ce build(deps): bump the k8s-dependencies group with 5 updates
Bumps the k8s-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.28.2` | `0.28.3` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.28.2` | `0.28.3` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) | `0.28.2` | `0.28.3` |
| [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider) | `0.28.2` | `0.28.3` |
| [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) | `0.16.2` | `0.16.3` |


Updates `k8s.io/api` from 0.28.2 to 0.28.3
- [Commits](https://github.com/kubernetes/api/compare/v0.28.2...v0.28.3)

Updates `k8s.io/apiextensions-apiserver` from 0.28.2 to 0.28.3
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.28.2...v0.28.3)

Updates `k8s.io/cli-runtime` from 0.28.2 to 0.28.3
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.28.2...v0.28.3)

Updates `k8s.io/cloud-provider` from 0.28.2 to 0.28.3
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.28.2...v0.28.3)

Updates `sigs.k8s.io/controller-runtime` from 0.16.2 to 0.16.3
- [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.16.2...v0.16.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/cloud-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 12:27:51 +00:00
travisn a421143ddd Revert "core: use crash profile in crash daemon keyring"
This reverts commit fab23d3407.
The mgr requires rw access for the cron job that collects
the crashes.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-10-20 15:46:36 -06:00
jxlwqq 67759f0fea docs: fix install command
Signed-off-by: jxlwqq <jxlwqq@gmail.com>
2023-10-20 16:25:50 +08:00