Commit Graph
10253 Commits
Author SHA1 Message Date
Travis Nielsen bf2211b22e Merge pull request #12861 from subhamkrai/add-check-crd-csv
build: add check to validate crd in csv
2023-09-06 10:32:30 -06:00
subhamkrai 1b652f8176 build: add check to validate crd in csv
In the past we had few cases where the new crd
was missed adding in metadata-common.yaml file.
So, now we'll check if crds.yaml and metadata-common.yaml
crd name are matching.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-09-06 19:37:25 +05:30
Travis Nielsen 3e248bf9a3 Merge pull request #12840 from smuth4/fix/discovery-cm
helm: move discovery daemon settings into the configmap
2023-09-05 17:18:57 -06:00
Travis Nielsen e3c2b6449f Merge pull request #12846 from rook/dependabot/go_modules/github.com/aws/aws-sdk-go-1.45.2
build(deps): bump github.com/aws/aws-sdk-go from 1.44.329 to 1.45.2
2023-09-05 11:46:44 -06:00
Travis Nielsen 8b9faac1aa Merge pull request #12849 from rook/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-09-05 11:38:57 -06:00
Travis Nielsen 3cf2388b42 Merge pull request #12847 from rook/dependabot/go_modules/k8s.io/cli-runtime-0.28.1
build(deps): bump k8s.io/cli-runtime from 0.28.0 to 0.28.1
2023-09-05 11:37:54 -06:00
Travis Nielsen 0ae3800929 Merge pull request #12770 from sp98/osd-migration-part2
osd: replace existing OSDs to use new store
2023-09-05 08:57:20 -06:00
dependabot[bot] 14f0a9e772 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:33:02 +00:00
dependabot[bot] 7db40eb300 build(deps): bump k8s.io/cli-runtime from 0.28.0 to 0.28.1
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.28.0 to 0.28.1.
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:26:15 +00:00
dependabot[bot] 53839de365 build(deps): bump github.com/aws/aws-sdk-go from 1.44.329 to 1.45.2
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.329 to 1.45.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.329...v1.45.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:25:49 +00:00
Stephen Muth 37d8de0993 helm: move discovery daemon settings into configmap
This allows the rook mgr module to check if the discovery daemon is enabled. The udev blacklist setting was also moved just to keep similar settings in the same place.

Signed-off-by: Stephen Muth <smuth4@gmail.com>
2023-09-02 19:27:38 -04:00
Travis Nielsen ded675e758 Merge pull request #12825 from weirdwiz/service-monitor-port
monitoring: set port for servicemonitor for ceph-exporter
2023-09-01 11:58:41 -06:00
Travis Nielsen 3468a4a43f Merge pull request #12816 from obnoxxx/simplify-workflow
Simplify docs-check workflow by extracting functionality
2023-09-01 11:32:00 -06:00
Michael AdamandTravis Nielsen c8c97bb8a1 docs: mention make check-helm-docs and make docs in the contributing guide
Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: : Michael Adam <obnox@samba.org>
signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
2023-09-01 18:17:02 +02:00
Michael Adam 04670d3f76 ci: simplify the docs-check workflow by extracting functionality
This simplifies the docs-check workflow definition by extracting  functionality
directly coded into the workflow file into new make targets 'check-docs'
and 'check-helm-docs' and replacing the code in the workflow file by the simple invocation of
new make targets. As a side effect, it makes it easily possible for a
developer to check locally if they forgot to commit any autogenerated
docs.

Signed-off-by: Michael Adam <obnox@samba.org>
2023-09-01 18:17:02 +02:00
sp98 11b8d10a5a osd: replace existing OSDs to use new store
This follow up the #12507
- fixes replacing of encrypted OSDs.
- Updates OSD status at the end of reconcile

Signed-off-by: sp98 <sapillai@redhat.com>
2023-09-01 21:07:38 +05:30
Travis Nielsen 3f67a7861f Merge pull request #12791 from subhamkrai/restart-ceph-pods
core: restart ceph daemons when network updated
2023-09-01 08:42:08 -06:00
Travis Nielsen dadf2e5b84 Merge pull request #12487 from subhamkrai/enable-addons-sidecar
csi: enable csi-addons-side when crds are deployed
2023-09-01 07:23:41 -06:00
Divyansh Kamboj 708dd29a97 monitoring: set port for servicemonitor for ceph-exporter
ceph-exporter's ServiceMonitor and Service CRD contain different port
name, which results in no metrics being collected by prometheus.

this commit makes GetCephMonitor configurable, which we use to set
consistent port names in ServiceMonitor and Service for ceph-exporter.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
2023-09-01 12:56:53 +05:30
subhamkrai 29d2b6a071 core: restart ceph daemons when network updated
We need to restart all the ceph daemons whenever
cephCluster network settings are modified like
requiremsgr2, encryption and compression. This
required for Ceph to consider the new settings
it require new ceph daemons all over.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-09-01 11:30:48 +05:30
Travis Nielsen 2fc513afce Merge pull request #12802 from rook/dependabot/go_modules/k8s.io/cloud-provider-0.28.1
build(deps): bump k8s.io/cloud-provider from 0.28.0 to 0.28.1
2023-08-31 15:38:46 -06:00
Travis Nielsen 35a86d4373 Merge pull request #12804 from thotz/check-owner-bucket-exist-grant
object: avoid creating same bucket for two different OBC
2023-08-31 15:09:46 -06:00
Travis Nielsen a06fd8a54d Merge pull request #12811 from parth-gr/external-name
external: change cluster_name to k8s_cluster_name
2023-08-31 08:14:00 -06:00
Travis Nielsen 0a680153f2 Merge pull request #12821 from subhamkrai/update-mergify
ci: update mergify to have latest k8s version
2023-08-31 07:55:42 -06:00
subhamkrai a755ec156a csi: enable csi-addons-side when crds are deployed
when deploying csi, we'll check if csi-addons crds
are deployed we'll enable csi-addons sidecar by default.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-31 11:28:49 +05:30
subhamkrai 62fa21063c ci: update mergify to have latest k8s version
updating .mergify backport for 1.12 branch
to include latest version of k8s v1.28.0 and
latest golang version v1.21.0

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-31 10:01:37 +05:30
Travis Nielsen 7b942b455c Merge pull request #12814 from anthonyeleven/anthonyeleven/tweak-osd-migration
cleanup of the OSD migration design document
2023-08-30 10:18:10 -06:00
parth-gr 98c4567219 external: change cluster_name to k8s_cluster_name
it was confusing if we are calling a ceph cluster name
or k8s cluster name, so re-named

Signed-off-by: parth-gr <paarora@redhat.com>
2023-08-30 14:07:58 +05:30
Anthony D'Atri ebb8d4f043 doc: cleanup of the OSD migration design document
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-08-30 00:37:58 -04:00
Travis Nielsen 163f0d3ccc Merge pull request #12808 from go-bai/fix_json_typo
mon: typo in json tag of struct MonMap
2023-08-29 08:05:47 -06:00
go-bai f4cfa95768 mon: typo in json tag of struct MonMap
The json tag in struct MonMap had a spelling error where "json" was incorrectly splled as "josn". This commit corrects the spelling to "json".

Signed-off-by: go-bai <599500688@qq.com>
2023-08-29 12:31:54 +08:00
Travis Nielsen 3ea9db4e3c Merge pull request #12748 from subhamkrai/upgrade-k8s-to-1.28.0
ci: upgrade the kubernetes versions for ci
2023-08-28 10:05:26 -06:00
Travis Nielsen f352aac746 Merge pull request #12797 from Madhu-1/fix-watcherip
ceph: return valid CIDR ip
2023-08-28 08:34:54 -06:00
Travis Nielsen 833731aea3 Merge pull request #12784 from subhamkrai/skip-10min-tmate
ci: enable tmate when in debug mode
2023-08-28 08:31:39 -06:00
Travis Nielsen 8bf2b2e24a Merge pull request #12799 from rook/dependabot/go_modules/github.com/IBM/keyprotect-go-client-0.12.2
build(deps): bump github.com/IBM/keyprotect-go-client from 0.10.0 to 0.12.2
2023-08-28 08:27:18 -06:00
Travis Nielsen 29ec29d37c Merge pull request #12798 from rook/dependabot/github_actions/aws-actions/configure-aws-credentials-3
build(deps): bump aws-actions/configure-aws-credentials from 2 to 3
2023-08-28 08:26:56 -06:00
dependabot[bot] 5ceef25f72 build(deps): bump k8s.io/cloud-provider from 0.28.0 to 0.28.1
Bumps [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider) from 0.28.0 to 0.28.1.
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/cloud-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 14:01:08 +00:00
Travis Nielsen 6a32daa4bb Merge pull request #12803 from rook/dependabot/go_modules/k8s.io/apiextensions-apiserver-0.28.1
build(deps): bump k8s.io/apiextensions-apiserver from 0.28.0 to 0.28.1
2023-08-28 07:59:08 -06:00
Jiffin Tony Thottan b39e813290 object: avoid creating same bucket for two different OBC
If bucket exists for Provision(), then check whether user in the OBC and
owner of bucket are same.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-08-28 18:19:24 +05:30
dependabot[bot] 8175823132 build(deps): bump k8s.io/apiextensions-apiserver from 0.28.0 to 0.28.1
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 12:41:21 +00:00
dependabot[bot] 10014b2ec3 build(deps): bump github.com/IBM/keyprotect-go-client
Bumps [github.com/IBM/keyprotect-go-client](https://github.com/IBM/keyprotect-go-client) from 0.10.0 to 0.12.2.
- [Release notes](https://github.com/IBM/keyprotect-go-client/releases)
- [Changelog](https://github.com/IBM/keyprotect-go-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/IBM/keyprotect-go-client/compare/v0.10.0...v0.12.2)

---
updated-dependencies:
- dependency-name: github.com/IBM/keyprotect-go-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 12:39:59 +00:00
dependabot[bot] c5510a28be build(deps): bump aws-actions/configure-aws-credentials from 2 to 3
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 2 to 3.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v2...v3)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 12:23:56 +00:00
Madhu Rajanna eb304a5073 core: return valid CIDR ip
we need to return a valid CIDR IP
to get it fenced properly, the previously
returned one was like `10.63.0.5:0/32` which
is not a valid CIDR, removing `:0` to look like
proper IP CIDR.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-08-28 10:58:16 +02:00
subhamkrai 90d81e11b6 ci: upgrade the kubernetes versions for ci
since, kubernetes v1.28.0 release upgrading the
latest k8s version to v.1.28.0 excepth objectSuite
tes.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-28 10:35:44 +05:30
subhamkrai a223b6777b ci: enable tmate when in debug mode
we don't want to wait for extra 10min once the ci passed,
so we'll add a check if `debug-ci` label is added or debug runner
is triggered from UI then only start tmate. Also, updaing the
development doc and rook test doc.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-26 11:14:08 +05:30
Travis Nielsen 12023cf72e Merge pull request #12598 from batrick/cephsqlite-doc-fix
docs: correct some libcephsqlite statements
2023-08-25 14:09:51 -06:00
Travis Nielsen 824a0a45d3 Merge pull request #12730 from travisn/object-user-different-ns
object: Allow creating an object user in different namespace
2023-08-25 13:00:43 -06:00
Travis Nielsen a72a4ffc7e Merge pull request #12782 from bh-tt/master
helm: Container security context in helm charts
2023-08-25 12:27:28 -06:00
travisn 2b1cc4c7b8 object: allow creating an object user in different namespace
The object user was previously required to be created in the
same namespace as the object store and the cluster. Now,
the object user can be reconciled even in a different namespace
from the cluster and object store. The namespace would be specified
in the object user CR.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-08-25 11:54:57 -06:00
Blaine Gardner 6a0f5fbf42 Merge pull request #12774 from obnoxxx/multus-validation-job-autogen
Multus validation job automated update
2023-08-25 11:51:40 -06:00