Commit Graph
11417 Commits
Author SHA1 Message Date
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
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
Zuhair AlSader 6714b86d3b manifest: add registry name to docker images
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
2024-08-20 13:35:08 -04:00
Travis Nielsen 128dcddfcf Merge pull request #14599 from subhamkrai/update-csi-operator-version
csi: update csi-operator to use latest tag v0.1
2024-08-20 11:26:44 -06:00
parth-gr 17cfda5bd6 osd: reweight osd while resizing
osd got resized by cryptsetup bluestore cmd
but it should also be reweight to balance the pgs properly

closes: https://github.com/rook/rook/issues/14430

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-08-20 22:52:33 +05:30
Travis Nielsen 18489619fa Merge pull request #14357 from iPraveenParihar/upgrade-sidecar-versions
csi: update csi sidecars' image version
2024-08-20 11:21:11 -06:00
Blaine Gardner 5da7feb9d7 test: fix 'make test' on arm mac
make test was failing when running on arm macbooks. Fix it so that it
isn't running with hardcoded GOOS=linux.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-20 11:19:12 -06:00
Praveen M 1efe3b6ee9 csi: add csinodes rbac rule for cephfs provisioner
Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-08-20 22:08:21 +05:30
Praveen M a1ddf4535d csi: update csi sidecars' image version
Below csi sidecars are updated with latest available versions

csi-resizer: v1.11.1
csi-provisioner: v5.0.1
csi-attacher: v4.6.1
csi-snapshotter: v8.0.1
csi-node-driver-registrar: v2.11.1

Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-08-20 22:08:19 +05:30
subhamkrai 2556e14780 build: changes forced by latest controller-runtime
this commit contains changes that are forced by latest
controller-runtime version v0.19.0.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-20 21:21:42 +05:30
Travis Nielsen 8a437be103 Merge pull request #14586 from ShravaniVangur/updateStorageClass
csi: storageclass update to gp2-csi
2024-08-20 07:33:19 -06:00
subham rai b1f2fcf4be Merge pull request #14597 from travisn/codegen-keystone
build: Update codegen deepcopy for swift
2024-08-20 11:57:51 +05:30
subhamkrai 89e9077e72 csi: update csi-operator to use latest tag v0.1
updating csi-operator version in go.mod and csi-operator.yaml
to use latest release v0.1. And also fixing one small bug
where csi-driver log level was set in csi-operator log level.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-08-20 11:23:07 +05:30
Travis Nielsen 4b232f3f92 Merge pull request #14592 from rook/dependabot/github_actions/actions/checkout-4.1.7
build(deps): bump actions/checkout from 4.1.1 to 4.1.7
2024-08-19 15:09:59 -06:00
Travis Nielsen 9c18f6cd80 Merge pull request #14593 from rook/dependabot/github_actions/ossf/scorecard-action-2.4.0
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0
2024-08-19 15:09:45 -06:00
Travis Nielsen f2a69d5767 Merge pull request #14594 from rook/dependabot/github_actions/github/codeql-action-3.26.2
build(deps): bump github/codeql-action from 3.24.9 to 3.26.2
2024-08-19 15:09:26 -06:00
Travis Nielsen bac71826de Merge pull request #14591 from rook/dependabot/github_actions/actions/upload-artifact-4.3.6
build(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.6
2024-08-19 15:07:56 -06:00
ShravaniVangur 9656d1963a csi: storageclass update to gp2-csi
Updating storageClassName for cluster-on-pvc.yaml file from gp2 to gp2-csi.

Signed-off-by: ShravaniVangur <shravanivangur@gmail.com>
2024-08-20 00:08:50 +05:30
Travis Nielsen 52f892af76 build: update codegen deepcopy for swift
The codegen needs updating since the swift
types were added.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-19 11:59:48 -06:00
dependabot[bot] 3b5599bd60 build(deps): bump github/codeql-action from 3.24.9 to 3.26.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.9 to 3.26.2.
- [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/1b1aada464948af03b950897e5eb522f92603cc2...429e1977040da7a23b6822b13c129cd1ba93dbb2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:23 +00:00
dependabot[bot] d403958001 build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:16 +00:00
dependabot[bot] 4a64e80d07 build(deps): bump actions/checkout from 4.1.1 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [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/v4.1.1...692973e3d937129bcbf40652eb9f2f61becf3332)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:12 +00:00
dependabot[bot] e64cf73876 build(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.pre.node20 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3-node20...834a144ee995460fba8ed112a2fc961b36a5ec5a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:56:02 +00:00
Blaine Gardner 884111c221 Merge pull request #14583 from BlaineEXE/fix-canary-runs
ci: fix gh action hash pin typo
2024-08-16 11:37:12 -06:00
Blaine Gardner bc1c4160d2 ci: fix gh action hash pin typo
Fix a github action hash version pin typo that causes canary jobs to not
run.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-08-16 11:01:27 -06:00
Blaine Gardner 679ccc762d Merge pull request #14576 from travisn/version-detect-annotation
core: Add annotations and labels to detect version jobs
2024-08-16 10:03:41 -06:00
Travis Nielsen 80ac56ecd2 Merge pull request #14579 from Madhu-1/csi-addons-0.9.0
csi: update csi-addons to v0.9.0
2024-08-16 08:35:54 -06:00