Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing latest changes from main for odf-operator #386

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2cecb19
controllers: replicate odf tolerations to child subscriptions
iamniting Feb 5, 2024
9a4efc9
Merge pull request #368 from iamniting/tolerations
openshift-merge-bot[bot] Feb 15, 2024
e2e1a46
bundle: added new rook subscription
Nikhil-Ladha Mar 12, 2024
5df17e7
ci: update e2e tests to include rook subscription
Nikhil-Ladha Mar 18, 2024
b3d8c5a
Merge pull request #379 from Nikhil-Ladha/add-rook-subscription
openshift-merge-bot[bot] Mar 19, 2024
53def95
console: update compatibility support matrix for 4.16
SanjalKatiyar Mar 21, 2024
2ece900
Merge pull request #381 from SanjalKatiyar/support_matrix_416
openshift-merge-bot[bot] Mar 21, 2024
03fa701
bundle: added prometheus operator dependencies
Mar 11, 2024
bc40eea
ci: update e2e test to include prometheus subscription and csv
Mar 20, 2024
d7d0044
Merge pull request #378 from ezio-auditore/prom
openshift-merge-bot[bot] Mar 21, 2024
3844ece
bundle: added new ocs-client subscription
leelavg Mar 22, 2024
461b72b
ci: update e2e tests to include ocs-client subscription
leelavg Mar 22, 2024
f3575bb
Merge pull request #380 from leelavg/install-client-dep
openshift-merge-bot[bot] Mar 22, 2024
bfa3d93
controllers: add Prometheus csv in the csv list
iamniting Mar 22, 2024
cba970f
Merge pull request #382 from iamniting/prom
openshift-merge-bot[bot] Mar 22, 2024
ceaf75b
console: adds proxy declaration for ROSA monitoring stack
bipuladh Mar 27, 2024
1b1cbce
Merge pull request #387 from bipuladh/rosa-proxy
openshift-merge-bot[bot] Mar 27, 2024
4ce968e
action: Update golang workflows
malayparida2000 Mar 29, 2024
c91ba25
godeps: update golang to 1.21
malayparida2000 Mar 29, 2024
728257e
makefile: Fix panic in make generate in old versions of controller-gen
malayparida2000 Mar 29, 2024
7726f12
Merge pull request #389 from malayparida2000/golang
openshift-merge-bot[bot] Mar 29, 2024
8367b02
makefile: update ocs version to 4.16
malayparida2000 Mar 28, 2024
1ff48c7
makefile: update csv version to 4.16.0
malayparida2000 Mar 28, 2024
9336d5d
godeps: update odf-operator go mod dependencies
malayparida2000 Mar 28, 2024
b9225ce
Merge pull request #388 from malayparida2000/api_update
openshift-merge-bot[bot] Mar 29, 2024
986e92b
makefile: Introduce Separate Variable for CSV Version
iamniting Mar 29, 2024
b978f4f
Merge pull request #391 from iamniting/tags
openshift-merge-bot[bot] Apr 1, 2024
9a21653
makefile: update ocs-operator image tag
iamniting Mar 29, 2024
2b3aef9
makefile: update ocs-client-operator version
iamniting Mar 29, 2024
8ffa364
makefile: update rook-ceph-operator version
iamniting Mar 29, 2024
991086b
makefile: update odf-prometheus-operator version
iamniting Mar 31, 2024
e1c94c0
makefile: update csi-addons version
iamniting Apr 1, 2024
a048dd2
bundle: update the expression in the dependencies.yaml
iamniting Apr 1, 2024
36a1b6e
Merge pull request #392 from iamniting/ver
openshift-merge-bot[bot] Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.20", "1.21"]
go: ["1.21", "1.22"]
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -31,13 +31,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.20", "1.21"]
go: ["1.21", "1.22"]
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -55,13 +55,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.20", "1.21"]
go: ["1.21", "1.22"]
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
docker-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v4
with:
version: v1.53.1
version: v1.57.2
args: -E gosec --timeout=6m
4 changes: 2 additions & 2 deletions .github/workflows/mirror-noobaa-upstream-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
github.repository == 'red-hat-storage/odf-operator' &&
github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: docker/login-action@v2
- uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ catalog/ibm.yaml
catalog/noobaa.yaml
catalog/ocs.yaml
catalog/odf.yaml
catalog/rook.yaml
catalog/prometheus.yaml
catalog/ocs-client.yaml
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.20 as builder
FROM golang:1.21 as builder

WORKDIR /workspace

Expand Down
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,30 @@ OCS_SUBSCRIPTION_CHANNEL=$(OCS_SUBSCRIPTION_CHANNEL)
OCS_SUBSCRIPTION_STARTINGCSV=$(OCS_SUBSCRIPTION_STARTINGCSV)
OCS_SUBSCRIPTION_CATALOGSOURCE=$(OCS_SUBSCRIPTION_CATALOGSOURCE)
OCS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE=$(OCS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE)
OCS_CLIENT_SUBSCRIPTION_NAME=$(OCS_CLIENT_SUBSCRIPTION_NAME)
OCS_CLIENT_SUBSCRIPTION_PACKAGE=$(OCS_CLIENT_SUBSCRIPTION_PACKAGE)
OCS_CLIENT_SUBSCRIPTION_CHANNEL=$(OCS_CLIENT_SUBSCRIPTION_CHANNEL)
OCS_CLIENT_SUBSCRIPTION_STARTINGCSV=$(OCS_CLIENT_SUBSCRIPTION_STARTINGCSV)
OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE=$(OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE)
OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE=$(OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE)
IBM_SUBSCRIPTION_NAME=$(IBM_SUBSCRIPTION_NAME)
IBM_SUBSCRIPTION_PACKAGE=$(IBM_SUBSCRIPTION_PACKAGE)
IBM_SUBSCRIPTION_CHANNEL=$(IBM_SUBSCRIPTION_CHANNEL)
IBM_SUBSCRIPTION_STARTINGCSV=$(IBM_SUBSCRIPTION_STARTINGCSV)
IBM_SUBSCRIPTION_CATALOGSOURCE=$(IBM_SUBSCRIPTION_CATALOGSOURCE)
IBM_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE=$(IBM_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE)
ROOK_SUBSCRIPTION_NAME=$(ROOK_SUBSCRIPTION_NAME)
ROOK_SUBSCRIPTION_PACKAGE=$(ROOK_SUBSCRIPTION_PACKAGE)
ROOK_SUBSCRIPTION_CHANNEL=$(ROOK_SUBSCRIPTION_CHANNEL)
ROOK_SUBSCRIPTION_STARTINGCSV=$(ROOK_SUBSCRIPTION_STARTINGCSV)
ROOK_SUBSCRIPTION_CATALOGSOURCE=$(ROOK_SUBSCRIPTION_CATALOGSOURCE)
ROOK_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE=$(ROOK_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE)
PROMETHEUS_SUBSCRIPTION_NAME=$(PROMETHEUS_SUBSCRIPTION_NAME)
PROMETHEUS_SUBSCRIPTION_PACKAGE=$(PROMETHEUS_SUBSCRIPTION_PACKAGE)
PROMETHEUS_SUBSCRIPTION_CHANNEL=$(PROMETHEUS_SUBSCRIPTION_CHANNEL)
PROMETHEUS_SUBSCRIPTION_STARTINGCSV=$(PROMETHEUS_SUBSCRIPTION_STARTINGCSV)
PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE=$(PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE)
PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE=$(PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE)
endef
export MANAGER_ENV_VARS

Expand Down Expand Up @@ -165,9 +183,12 @@ bundle-push: ## Push the bundle image.
catalog: opm ## Generate catalog manifests and then validate generated files.
$(OPM) render --output=yaml $(BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/odf.yaml
$(OPM) render --output=yaml $(OCS_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/ocs.yaml
$(OPM) render --output=yaml $(OCS_CLIENT_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/ocs-client.yaml
$(OPM) render --output=yaml $(IBM_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/ibm.yaml
$(OPM) render --output=yaml $(NOOBAA_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/noobaa.yaml
$(OPM) render --output=yaml $(CSIADDONS_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/csiaddons.yaml
$(OPM) render --output=yaml $(ROOK_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/rook.yaml
$(OPM) render --output=yaml $(PROMETHEUS_BUNDLE_IMG) $(OPM_RENDER_OPTS) > catalog/prometheus.yaml
$(OPM) validate catalog

.PHONY: catalog-build
Expand Down
1 change: 0 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 20 additions & 2 deletions bundle/manifests/odf-operator-manager-config_v1_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
CSIADDONS_SUBSCRIPTION_CHANNEL: alpha
CSIADDONS_SUBSCRIPTION_NAME: csi-addons
CSIADDONS_SUBSCRIPTION_PACKAGE: csi-addons
CSIADDONS_SUBSCRIPTION_STARTINGCSV: csi-addons.v0.7.0
CSIADDONS_SUBSCRIPTION_STARTINGCSV: csi-addons.v0.8.0
IBM_SUBSCRIPTION_CATALOGSOURCE: odf-catalogsource
IBM_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
IBM_SUBSCRIPTION_CHANNEL: stable-v1.4
Expand All @@ -18,12 +18,30 @@ data:
NOOBAA_SUBSCRIPTION_NAME: noobaa-operator
NOOBAA_SUBSCRIPTION_PACKAGE: noobaa-operator
NOOBAA_SUBSCRIPTION_STARTINGCSV: noobaa-operator.v5.14.0
OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE: odf-catalogsource
OCS_CLIENT_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
OCS_CLIENT_SUBSCRIPTION_CHANNEL: alpha
OCS_CLIENT_SUBSCRIPTION_NAME: ocs-client-operator
OCS_CLIENT_SUBSCRIPTION_PACKAGE: ocs-client-operator
OCS_CLIENT_SUBSCRIPTION_STARTINGCSV: ocs-client-operator.v4.16.0
OCS_SUBSCRIPTION_CATALOGSOURCE: odf-catalogsource
OCS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
OCS_SUBSCRIPTION_CHANNEL: alpha
OCS_SUBSCRIPTION_NAME: ocs-operator
OCS_SUBSCRIPTION_PACKAGE: ocs-operator
OCS_SUBSCRIPTION_STARTINGCSV: ocs-operator.v4.15.0
OCS_SUBSCRIPTION_STARTINGCSV: ocs-operator.v4.16.0
PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE: odf-catalogsource
PROMETHEUS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
PROMETHEUS_SUBSCRIPTION_CHANNEL: beta
PROMETHEUS_SUBSCRIPTION_NAME: odf-prometheus-operator
PROMETHEUS_SUBSCRIPTION_PACKAGE: odf-prometheus-operator
PROMETHEUS_SUBSCRIPTION_STARTINGCSV: odf-prometheus-operator.v4.16.0
ROOK_SUBSCRIPTION_CATALOGSOURCE: odf-catalogsource
ROOK_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
ROOK_SUBSCRIPTION_CHANNEL: alpha
ROOK_SUBSCRIPTION_NAME: rook-ceph-operator
ROOK_SUBSCRIPTION_PACKAGE: rook-ceph-operator
ROOK_SUBSCRIPTION_STARTINGCSV: rook-ceph-operator.v4.16.0
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/odf-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ metadata:
categories: Storage
console.openshift.io/plugins: '["odf-console"]'
containerImage: quay.io/ocs-dev/odf-operator:latest
createdAt: "2024-02-09T04:53:49Z"
createdAt: "2024-03-22T02:45:54Z"
description: OpenShift Data Foundation provides a common control plane for storage
solutions on OpenShift Container Platform.
features.operators.openshift.io/token-auth-aws: "true"
olm.properties: '[{"type": "olm.maxOpenShiftVersion", "value": "4.16"}]'
olm.properties: '[{"type": "olm.maxOpenShiftVersion", "value": "4.17"}]'
olm.skipRange: ""
operatorframework.io/initialization-resource: |-
{
Expand Down Expand Up @@ -69,7 +69,7 @@ metadata:
operatorframework.io/arch.amd64: supported
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
name: odf-operator.v4.15.0
name: odf-operator.v4.16.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -593,4 +593,4 @@ spec:
maturity: alpha
provider:
name: Red Hat
version: 4.15.0
version: 4.16.0
24 changes: 15 additions & 9 deletions bundle/manifests/odf.openshift.io_storagesystems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: storagesystems.odf.openshift.io
spec:
Expand All @@ -29,14 +29,19 @@ spec:
description: StorageSystem is the Schema for the storagesystems API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -67,8 +72,9 @@ spec:
conditions:
description: Conditions describes the state of the StorageSystem resource.
items:
description: Condition represents the state of the operator's reconciliation
functionality.
description: |-
Condition represents the state of the operator's
reconciliation functionality.
properties:
lastHeartbeatTime:
format: date-time
Expand Down
16 changes: 14 additions & 2 deletions bundle/metadata/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,24 @@ dependencies:
- type: olm.package
value:
packageName: ocs-operator
version: ">=4.14.0 <4.15.0 || 4.15.0"
version: ">=4.15.0 <=4.16.0"
- type: olm.package
value:
packageName: rook-ceph-operator
version: ">=4.15.0 <=4.16.0"
- type: olm.package
value:
packageName: ocs-client-operator
version: ">=4.15.0 <=4.16.0"
- type: olm.package
value:
packageName: noobaa-operator
version: "5.14.0"
- type: olm.package
value:
packageName: csi-addons
version: "0.7.0"
version: ">=0.7.0 <=0.8.0"
- type: olm.package
value:
packageName: odf-prometheus-operator
version: ">=4.15.0 <=4.16.0"
39 changes: 36 additions & 3 deletions catalog/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ schema: olm.channel
package: odf-operator
name: alpha
entries:
- name: odf-operator.v4.15.0
- name: odf-operator.v4.16.0

---
defaultChannel: alpha
Expand All @@ -18,7 +18,18 @@ schema: olm.channel
package: ocs-operator
name: alpha
entries:
- name: ocs-operator.v4.15.0
- name: ocs-operator.v4.16.0

---
defaultChannel: alpha
name: ocs-client-operator
schema: olm.package
---
schema: olm.channel
package: ocs-client-operator
name: alpha
entries:
- name: ocs-client-operator.v4.16.0

---
defaultChannel: alpha
Expand All @@ -40,7 +51,7 @@ schema: olm.channel
package: csi-addons
name: alpha
entries:
- name: csi-addons.v0.7.0
- name: csi-addons.v0.8.0

---
defaultChannel: stable-v1.4
Expand All @@ -52,3 +63,25 @@ package: ibm-storage-odf-operator
name: stable-v1.4
entries:
- name: ibm-storage-odf-operator.v1.4.1

---
defaultChannel: alpha
name: rook-ceph-operator
schema: olm.package
---
schema: olm.channel
package: rook-ceph-operator
name: alpha
entries:
- name: rook-ceph-operator.v4.16.0

---
defaultChannel: beta
name: odf-prometheus-operator
schema: olm.package
---
schema: olm.channel
package: odf-prometheus-operator
name: beta
entries:
- name: odf-prometheus-operator.v4.16.0
Loading
Loading