Commit Graph
13292 Commits
Author SHA1 Message Date
Travis Nielsen 44f7271783 Merge pull request #9919 from travisn/obsolete-cross-container
build: Remove obsolete cross build container
2022-04-07 14:42:26 -06:00
Travis Nielsen 738a300827 build: remove obsolete cross build container
The cross build container is not used anymore since the conversion
to github actions. Now the obsolete scripts and makefiles are
cleaned up to remove some confusing leftovers from the
cross container.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-07 13:42:18 -06:00
Travis Nielsen 4e8536afa0 Merge pull request #10010 from parth-gr/doc-links
docs: fix design doc link
2022-04-07 10:01:13 -06:00
parth-gr d0c47589f4 docs: fix design doc link
In the development section some
links where not working so fixed them

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

Signed-off-by: parth-gr <paarora@redhat.com>
2022-04-07 21:28:18 +05:30
Humble Chirammal e2a95ac51e csi: remove node object update rbac for csi deamonset pods
The CSI driver pods dont need to update the node objects for
its operations. This commit remove the unwanted access to node
object update in the RBAC of CSI pods.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-04-07 11:11:16 +05:30
Blaine Gardner 7adba6cc86 Merge pull request #9997 from BlaineEXE/upgrade-docs-for-1.9
Upgrade docs for 1.9
2022-04-06 09:51:26 -06:00
Blaine Gardner 8d619501fe docs: update docs for 1.9 release
Update upgrade and supporting docs for release of Rook v1.9.
Include pending release notes as part of this update.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-04-06 09:06:26 -06:00
Travis Nielsen 3c83c62d21 Merge pull request #10002 from Madhu-1/fix-9973
csi: update cephcsi to v3.6.0 release
2022-04-06 08:01:18 -06:00
Madhu Rajanna a1ded0f27f csi: update cephcsi to v3.6.0 release
Removed v3.4.0 as its deprecated in cephcsi
and updated the templates to point to latest
v3.6.0 release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-04-06 09:51:46 +05:30
Blaine Gardner 5b393bb884 Merge pull request #9998 from BlaineEXE/remove-prometheusrules-from-rbac
monitoring: remove prometheusrules kind from RBAC
2022-04-05 13:59:49 -06:00
Blaine Gardner 0e08aeedac monitoring: remove prometheusrules kind from RBAC
Minor update to remove prometheus rules from RBAC, which is no longer
managed by Rook.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-04-05 12:38:35 -06:00
Travis Nielsen 38407c4416 Merge pull request #9974 from thotz/add-route-https-endpoint-rgw
object: add details about route for rgw's https endpoint
2022-04-05 12:34:10 -06:00
Jiffin Tony Thottan 68dced0409 object: add details about route for rgw's https endpoint
In the `object-openshift.yaml` details about exposing `Routes` for RGW
service, currently it exposes both ports if they are available. This is
very difficult to manage via same route like adding termination policy
etc.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-04-05 23:33:20 +05:30
Travis Nielsen 8b6e2c792e Merge pull request #9952 from parth-gr/upstream-external-cluster
csi: make use of create-external-cluster-resources.py upstream
2022-04-05 08:53:47 -06:00
parth-gr 63945df72d rgw: change name of rgw admin keys
Corrected RGW_ADMIN_OPS_USER_ACCESS_KEY  and
RGW_ADMIN_OPS_USER_SECRET_KEY so it should be
output correctely when called script with
bash format output

Signed-off-by: parth-gr <paarora@redhat.com>
2022-04-05 19:33:36 +05:30
parth-gr 7ce49aee5b csi: make use of create-external-cluster-resources.py upstream
Updated doc how to use create external cluster

Closes: https://github.com/rook/rook/issues/9591
Signed-off-by: parth-gr <paarora@redhat.com>
2022-04-05 19:33:29 +05:30
Travis Nielsen 62a31f1d0b Merge pull request #9968 from thotz/add-update-client-documentation-for-s3
docs: update the s3 client example for accesing RGW
2022-04-05 07:58:49 -06:00
Travis Nielsen 9a06367194 Merge pull request #9981 from subhamkrai/skip-lable
ci: skip few ci when pr labled skip-ci
2022-04-05 07:43:47 -06:00
Travis Nielsen 9b6c0c9e20 Merge pull request #9733 from Madhu-1/fix-7035
radosnamespace: add new CRD
2022-04-05 07:33:12 -06:00
subhamkrai e4a2a06d2e ci: skip few ci when pr labled skip-ci
skip build, codegen and unit test ci test when
skip-ci labled is marked in PR.

Closes: https://github.com/rook/rook/issues/9972
Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-05 11:35:38 +05:30
Jiffin Tony Thottan 7f8dcb4c5d docs: update the s3 client example for accesing RGW
Couple of modification to existing example for s3 client regarding how
to access the ceph object store. Added details to fetch the
`BUCKET_NAME`, updated the `AWS_ENDPOINT` and `AWS_HOST` details.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-04-05 11:35:09 +05:30
Madhu Rajanna b0fc7c9b92 namespace: add new CRD
This introduces a new CRD to add the ability
to create rados namespace for a given
ceph block pool. Typically the name of the pool
is the name of the blockpool created by rook.

Closes: #7035

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-04-05 10:10:04 +05:30
Travis Nielsen b80e922a7f Merge pull request #9980 from subhamkrai/update-golangci
ci: update golangci linter version
2022-04-04 10:17:08 -06:00
subhamkrai 24802c559e core: fix golangci linter
fix golangci linter

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-04 20:59:31 +05:30
subhamkrai 0cdb32a403 ci: update golangci linter version
update golangci linter version

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-04 19:37:20 +05:30
Travis Nielsen 2357cb7a1e Merge pull request #9964 from thotz/add-service-account-rgw
object: add service account for RGW pod
2022-04-04 07:41:13 -06:00
Sébastien Han 87c431936f Merge pull request #9967 from nazarewk/patch-1
osd: add NixOS specific PATHs
2022-04-04 10:17:25 +02:00
Jiffin Tony Thottan 5e72b26948 object: add service account for RGW pod
For supporting features like service account authentication for vault
KMS , a service account account need to attach with pod.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-04-04 11:24:50 +05:30
Travis Nielsen d847fc86b1 Merge pull request #9969 from travisn/mergify-1.9
build: Add mergify rules for release-1.9
2022-04-01 11:09:20 -06:00
Travis Nielsen bc5013e487 build: remove auto merge rules for master branch
The rules for auto merging PRs from master have not been used.
Instead we follow a pattern of a maintainer deciding when is
the best time to merge the PR in case it is not ready even after
being approved.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-01 10:48:34 -06:00
Travis Nielsen 74cfe4549a build: add new ci checks to auto v1.9 merge rules
Several new CI checks have been added recently, so we add
them as auto-merge rules for mergify.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-01 10:46:51 -06:00
Travis Nielsen 42c7b7f6b3 build: add mergify rules for release-1.9
With the creation of the release-1.9 branch, the mergify
rules are updated for the new branch.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-01 09:10:07 -06:00
Krzysztof Nazarewski 352df4e62f osd: add NixOS specific PATHs
This commits makes Rook usable on NixOS.

NixOS system holds "installed" binaries in `/run/current-system/sw/{bin,sbin}`.
The only binaries residing outside those paths are `/usr/bin/env` and `/bin/sh`.

I got a suggestion on Slack to simply add those NixOS specific paths

Signed-off-by: Krzysztof Nazarewski <3494992+nazarewk@users.noreply.github.com>
2022-04-01 16:37:23 +02:00
Sébastien Han 55a8fb9b8e Merge pull request #9962 from leseb/fix-9911
core: reload go routine after CR is edited
v1.9.0-alpha.0
2022-03-31 15:51:43 +02:00
Sébastien Han 05506e7a68 core: reload go routine after CR is edited
Previously, the struct maintaining the list of cluster was still
initialized with a cluster item. Then the monitoring check will see that
the cluster is part of the struct already and thus won't run the
monitoring go routine again.
Now each time we cancel the context, we also remove the cluster item
from the map so that when the controller runs again, the monitoring
struct is re-populated and the go routine runs and statuses are updated.

Closes: https://github.com/rook/rook/issues/9911
Signed-off-by: Sébastien Han <seb@redhat.com>
2022-03-31 08:49:42 +02:00
Travis Nielsen 6c50530737 Merge pull request #9685 from weirdwiz/context-remove
Remove context.TODO and add context parameter
2022-03-30 12:20:30 -05:00
Blaine Gardner 5a82a1cbd7 Merge pull request #9941 from Rakshith-R/csi/add-oidc-token
csi: mount serviceaccount oidc-token into csi-driver
2022-03-29 11:41:07 -06:00
Blaine Gardner b098e7ca72 Merge pull request #9951 from parth-gr/secret-external-cluster
csi: rbd node secret was misspelled
2022-03-29 10:00:21 -06:00
parth-gr 79db113aab csi: rbd node secret was misspelled
Corrected CSI_RBD_NODE_SECRET name so it should be
output correctely when called script with
bash format output

Signed-off-by: parth-gr <paarora@redhat.com>
2022-03-29 16:56:42 +05:30
Rakshith R ec6f2e31b1 csi: mount serviceaccount oidc-token into csi-driver
This oidc-token is used to authenticate with OpenID Connect (OIDC)
Provider. Currently, Ceph-CSI uses it to assume role with amazon STS
to get access to aws kms for encryption.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-03-29 14:04:28 +05:30
Sébastien Han 1569f39186 Merge pull request #9956 from parth-gr/externalcluster-pylint
ci: fixed pylint failure
2022-03-29 09:35:41 +02:00
parth-gr 339855f172 ci: fixed pylint failure
pylint was failing with used-before-assignment error
fixed it by making the variables assignmet before it was used
Also backward compatibility is removed from the ModuleNotFoundError import,
as we auto installed python3 version on ceph standalone

Signed-off-by: parth-gr <paarora@redhat.com>
2022-03-29 12:09:32 +05:30
Blaine Gardner ba3cf9cea6 Merge pull request #9898 from yuvalman/logcollector
core: fix GetLogCollectorResources to get the right resources
2022-03-28 12:27:33 -06:00
Blaine Gardner 4beb5da44b Merge pull request #9906 from thotz/use-region-us-east-1
object: remove region option from OBC StorageClass
2022-03-28 11:38:36 -06:00
Satoru Takeuchi 656e9466d4 Merge pull request #9946 from superbrothers/fix-invalid-nodeaffinity
helm: fix the invalid nodeAffinity configuration in the comment
2022-03-28 14:25:49 +09:00
Kazuki Suda bb98cf373a helm: fix the invalid nodeAffinity configuration in the comment
This commit fixes the missing indentation for nodeAffinity configuration
example in the comment. If users try to use the example configuration by
copy and paste, an error will occur.

Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2022-03-26 22:55:35 +09:00
Jiffin Tony Thottan fc2b8012c6 object: use us-east-1 for aws go lang sdk
The aws go lang sdk needs value for region, it is set differently in
various part of current code. With PR the value is always `us-east-1` so
that it will work RGW server without any issues.

This reverts commit 280c29f330.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-03-24 14:37:39 +05:30
Divyansh Kamboj 9008409f87 core: add context parameter to functions
This commit adds context parameter to various functions, and remove the
usage of context.TODO.

Closes: https://github.com/rook/rook/issues/8701
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
2022-03-22 08:19:07 +05:30
Travis Nielsen 8e3350a625 Merge pull request #9837 from travisn/helm-prometheus-rules
monitoring: Create prometheus rules with helm chart
2022-03-21 16:59:00 -06:00
Travis Nielsen 8dd4b77d8a monitoring: update to the latest ceph prometheus rules
Pick up the latest ceph prometheus rules from the ceph repo
found at https://github.com/ceph/ceph/blob/master/monitoring/ceph-mixin/prometheus_alerts.yml.
The updates include many new rules for monitoring of ceph.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-03-21 14:47:56 -06:00