Commit Graph
9848 Commits
Author SHA1 Message Date
Sheetal Pamecha 422b037cab docs: correct link for helm.sh file
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-05-08 09:58:48 +05:30
Travis Nielsen c79f1000f6 Merge pull request #12194 from Madhu-1/fix-metrics-port
core: disable controller runtime metrics server
2023-05-05 11:45:15 -06:00
Blaine Gardner 3a16953a29 Merge pull request #12192 from BlaineEXE/internal-external-client
operator: use KUBECONFIG context for cli if present
2023-05-05 18:38:30 +02:00
Blaine Gardner b72761c1a1 operator: use KUBECONFIG context for cli if present
Use contents of KUBECONFIG var for creating Kubernetes client interface
if its present. This allows running rook CLI commands locally for
quicker development iteration.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-05 09:15:28 -06:00
Madhu Rajanna 6f30700f5e core: disable controller runtime metrics server
As we are not using the controller runtime
metrics we dont even need to start the server
as its just uses extra resouces and its not
much useful.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-05-05 11:02:47 +02:00
Blaine Gardner 7e9a2481f0 Merge pull request #12187 from BlaineEXE/multus-tester-require-one-of-networks-as-input
operator: validate multus validation networks in cli
2023-05-04 22:15:03 +02:00
Travis Nielsen 949ff26237 Merge pull request #12182 from parth-gr/multisite-check-fix
external: fix rgw multisite config check
2023-05-04 13:48:03 -06:00
parth-grandSergio Pérez Fernández c50c308abe external: fix rgw multisite config check
the check validate_rgw_multisite was always checking for realm
updated it to check the specific config

fixed validate_rgw_endpoint pool validation

added missing realm zonegroup and zone while interacting with user resources

Co-authored-by: Sergio Pérez Fernández <sergioperez794@gmail.com>
Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-05 00:56:18 +05:30
Blaine Gardner 60bf33f39c operator: validate multus validation networks in cli
Even though this is validated in the validation process, validating in
the cli gives better user feedback and doesn't spam the user with
suggestions for the failure that aren't relevant.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-04 12:49:57 -06:00
Blaine Gardner f1675b8e8c Merge pull request #12186 from BlaineEXE/fix-rook-base-cmd
operator: fix package logger name for rookcli
2023-05-04 20:34:16 +02:00
Blaine Gardner d38d4d7d1e operator: fix package logger name for rookcli
Name was accidentally modified in PR #12069.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-04 11:52:17 -06:00
Travis Nielsen dc275f3513 Merge pull request #12160 from s3rj1k/api
api: Add Golang module for APIs.
2023-05-03 13:36:28 -06:00
s3rj1k dc55f23cba build: add Golang module for APIs
Create separate module for API for external projects to consume.

Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
2023-05-03 21:26:16 +03:00
Travis Nielsen 1eeb43cc0b Merge pull request #12181 from Madhu-1/fix-ceph-conf-secure
ceph: unset all the encryption configuration before setting
2023-05-03 10:56:20 -06:00
Madhu Rajanna 1139cefc94 core: unset all encryption configuration before setting
if the configuration is already set in the ceph
database, using `ceph config assimilate-conf`
will add the key and value if its missing but
it wont update the value if the key is already
present, To fix this problem we can remove the
key and add all the configurations once again.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-05-03 18:15:45 +02:00
Alexander Trost c83e16913b Merge pull request #12180 from subhamkrai/fix-slack-image-readme
docs: fix slack image in rook readme
2023-05-03 13:17:44 +02:00
subhamkrai 2b481d16d1 docs: fix slack image in rook readme
Signed-off-by: subhamkrai <srai@redhat.com>
2023-05-03 13:16:49 +05:30
Travis Nielsen e817f33f3c Merge pull request #12179 from Javlopez/bugfix/generate-documentation-for-crds-updated
docs: update documentation for CRDs
2023-05-02 16:46:56 -06:00
Javier 4ef2c43b55 docs: update documentation for CRDs
update generation of documents for CRDs automatically

Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-02 15:35:31 -06:00
Travis Nielsen 7fc93177ec Merge pull request #12110 from koor-tech/feature/1873-auto-generate-rook-CRD-specifications-documentation
docs: add support for autogenerated docs for CRDs
2023-05-02 14:03:35 -06:00
Blaine Gardner cf17b8b454 Merge pull request #12155 from BlaineEXE/reduce-nfs-crd-size
nfs: pare down config file volume sources
2023-05-02 21:26:00 +02:00
Blaine Gardner 5a1d1f2175 Merge pull request #12069 from BlaineEXE/multus-golang-tester
test: add multus validation test routine to rook binary
2023-05-02 19:37:29 +02:00
Blaine Gardner 6500c11d57 nfs: pare down config file volume sources
Pare down the available volume sources for NFS config files so that the
CRD isn't unnecessarily huge. This allows us to recommend
`kubectl apply` again in the upgrade doc.

Size of the NFS CRD is reduced by approximately 60%.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-02 11:34:24 -06:00
Travis Nielsen 76170cb0f3 Merge pull request #12161 from subhamkrai/update-k8s-modules
core: update k8s module to latest version
2023-05-02 11:12:32 -06:00
subhamkrai ad068d966a core: update k8s module to lastet version
updating k8s dependencies like clien-go and
others to v0.26.4

Signed-off-by: subhamkrai <srai@redhat.com>
2023-05-02 22:06:21 +05:30
Travis Nielsen 37bf7c01c8 Merge pull request #12149 from parth-gr/ceph-dashboard
mgr: fix ceph dashboard login issue
2023-05-02 10:29:14 -06:00
Blaine Gardner 0f6e7ee921 test: add multus validation test routine to rook binary
Add a more involved multus validation test to the Rook binary. Because
this is intended to be end-user runnable, make sure operator-only
commands are hidden.

Build this into the rook binary instead of creating a separate binary
for ease, and because any binary built with the kube api becomes 40+
megabytes. We save quite a bit of space by including this in the Rook
binary, which is good for keeping container layers as small as possible.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-02 10:23:00 -06:00
parth-gr ed61d25fc3 mgr: fix ceph dashboard login issue
Dashboard ac-user-create cmd was taking more time
then the usual ceph command to run,
So increased the timeout to run the cmd, and
now dashboard admin user is sucessfully created

Closes: https://github.com/rook/rook/issues/12113
Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-02 19:43:53 +05:30
Travis Nielsen 7627a92319 Merge pull request #12159 from travisn/pr-template
docs: Update the PR template for a typo and more easily discoverable dev guide link
2023-05-01 21:24:20 -06:00
Javier 661e476969 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-01 19:23:27 -06:00
travisn e1190d7e6c docs: fix typo in the pr template
The pr template has an extra parenthesis that is now
removed. Also make the development guide easier to
notice since the comment does not show a proper
markdown link.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-01 09:07:30 -06:00
Travis Nielsen fa8b485460 Merge pull request #12157 from rook/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/client-0.64.1
build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/client from 0.64.0 to 0.64.1
2023-05-01 08:10:21 -06:00
Travis Nielsen e79eda556c Merge pull request #12151 from parth-gr/ci-multi-cluster
ci: disable multi-cluster-mirroring
2023-05-01 07:26:42 -06:00
dependabot[bot] bdaa6aa6fb build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/client
Bumps [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator) from 0.64.0 to 0.64.1.
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.64.0...v0.64.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 13:03:12 +00:00
parth-gr 423ad93fc0 ci: disable multi-cluster-mirroring
till we didn't resolve the multi-cluster-mirroring ci issue
lets keep it disable

Signed-off-by: parth-gr <paarora@redhat.com>
2023-04-28 22:44:24 +05:30
Travis Nielsen 104f03f30f Merge pull request #12146 from travisn/doc-review
docs: Update core getting started docs for clarity
2023-04-28 10:26:47 -06:00
Travis Nielsen accc6ae438 Merge pull request #12147 from travisn/emeritus-maintainer
docs: Move yannis to emeritus maintainer
2023-04-28 09:57:06 -06:00
travisn e0496e5926 docs: move yannis to emeritus maintainer
Since Cassandra is no longer supported and Yannis is no
longer active on the project move him to Emeritus
maintainer.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-27 11:59:52 -06:00
travisn ecdeb7aa9f docs: clarify docs for wording or obsolete info
Update the getting started guide, prereqs, architecture,
and other basic docs with more concise wording and removed
some obsolete information. Some links are removed so they
don't distract the user from reading the critical information
that we are conveying in the rook docs.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-27 11:58:08 -06:00
Travis Nielsen 844712a989 Merge pull request #12137 from travisn/active-mgr-default
mgr: Default to active mgr label
2023-04-25 10:31:12 -06:00
Travis Nielsen 46e6b7366a Merge pull request #12132 from parth-gr/dotpool-update
external: check for pool and cluster name is provided
2023-04-25 08:02:14 -06:00
parth-gr e02942ab77 external: check for pool and cluster name is provided
While adding the support for dot and special rbd pools
the check for pool and cluster name check was removed,
Adding it back as it is needed
https://github.com/rook/rook/pull/12056

Signed-off-by: parth-gr <paarora@redhat.com>
2023-04-25 18:48:27 +05:30
Satoru Takeuchi cdc232953f Merge pull request #12138 from travisn/obsolete-journal-size
core: Remove obsolete journal size config value
2023-04-25 18:39:13 +09:00
travisn db04b127b0 core: remove obsolete journal size config value
The journal size was only applicable to the filestore OSD
format which has not been supported by rook since v1.2.
Remove the remaining obsolete setting from the examples and
code.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-24 15:54:53 -06:00
travisn 1fa3c5ae18 mgr: default to active mgr label
The active and standby labels are updated on the mgr pods
by the mgr sidecar. In the case of a single mgr, there is
not sidecar, so the dashboard and other mgr services were
not available when there was a single mgr. Now the mgr
pod will default to the active mgr status label so that
the single mgr case will succeed. In the case of two mgrs,
the sidecar will immediately update the standby mgr to
remove the active status label.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-24 14:47:15 -06:00
Travis Nielsen 9794feba7c Merge pull request #12075 from sp98/obc-watcher
core: Skip OBC controllers based on env variable
2023-04-24 10:28:12 -06:00
Travis Nielsen 4ef0bbe4c5 Merge pull request #11976 from koor-tech/bugfix/issue-10340-allow-scanning-devices-with-filter
osd: allow scanning devices with filter
2023-04-24 09:25:05 -06:00
Travis Nielsen 3718af098d Merge pull request #12133 from rook/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.248
build(deps): bump github.com/aws/aws-sdk-go from 1.44.229 to 1.44.248
2023-04-24 09:03:03 -06:00
Travis Nielsen c6630dcd06 Merge pull request #12109 from jouve/objstore
add an ingress for ceph-objectores
2023-04-24 08:26:49 -06:00
sp98 e87338fbc4 core: skip OBC and Notification controllers
Skip running Object Bucket and Object bucket notification
controllers based on env variable.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-04-24 19:16:06 +05:30