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

Release 2.4 #597

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v2.4.0] - 2024-01-30

### Added

- Validating Webhook for Piraeus StorageClasses.
Expand All @@ -21,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Change default monitoring address for DRBD Reactor to support systems with IPv6 completely disabled.
- Updated images:
* LINSTOR 1.26.1
* LINSTOR CSI 1.4.0
* DRBD 9.2.7
* High Availability Controller 1.2.0
* Latest CSI sidecars
Expand Down Expand Up @@ -800,4 +804,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[v2.1.1]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.1.0...v2.1.1
[v2.2.0]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.1.1...v2.2.0
[v2.3.0]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.2.0...v2.3.0
[Unreleased]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.3.0...HEAD
[v2.4.0]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.3.0...v2.4.0
[Unreleased]: https://github.com/piraeusdatastore/piraeus-operator/compare/v2.4.0...HEAD
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROJECT_NAME ?= piraeus-operator
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 2.3.0
VERSION ?= 2.4.0

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ to fix issues or new software versions until a stable upgrade path to v2 is avai
To deploy Piraeus Operator v2 from this repository, simply run:

```
$ kubectl apply --server-side -k "https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.3.0"
$ kubectl apply --server-side -k "https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.4.0"
# Verify the operator is running:
$ kubectl wait pod --for=condition=Ready -n piraeus-datastore -l app.kubernetes.io/component=piraeus-operator
pod/piraeus-operator-controller-manager-dd898f48c-bhbtv condition met
Expand Down
37 changes: 37 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,43 @@
During the upgrade process, provisioning of volumes and attach/detach operations might not work. Existing
volumes and volumes already in use by a pod will continue to work without interruption.

To upgrade, apply the resource of the latest release. Use the same method that was used to create the initial deployment
(`kubectl` vs `helm`). There is no need to change existing `LinstorCluster`, `LinstorSatelliteConfiguration` or
`LinstorNodeConnection` resources.

To upgrade to the latest release using `kubectl`, run the following commands:

```
$ kubectl apply --server-side -k "https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.4.0"
$ kubectl wait pod --for=condition=Ready -n piraeus-datastore --all
```

# Upgrades from v2.3 to v2.4

Generally, no special steps required.

LINSTOR Satellites are now managed via DaemonSet resources. Any patch targeting a `satellite` Pod resources is
automatically converted to the equivalent DaemonSet resource patch. In the Pod list, you will see these Pods using
a new `linstor-satellite` prefix.

# Upgrades from v2.2 to v2.3

Removed the `NetworkPolicy` resource from default deployment. It can be reapplied as a
[separate step](./docs/how-to/network-policy.md).

# Upgrades from v2.1 to v2.2

Removed the dependency on cert-manager for the initial deployment. To clean up an existing `Certificate` resource,
run the following commands:

```
$ kubectl delete certificate -n piraeus-datastore piraeus-operator-serving-cert
```

# Upgrades from v2.0 to v2.1

No special steps required.

# Upgrades from v1 to v2

Please follow the specialized [upgrade guides](./docs/how-to/upgrade/index.md).
Expand Down
4 changes: 2 additions & 2 deletions charts/piraeus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: piraeus
description: |
The Piraeus Operator manages software defined storage clusters using LINSTOR in Kubernetes.
type: application
version: 2.3.0
appVersion: "v2.3.0"
version: 2.4.0
appVersion: "v2.4.0"
maintainers:
- name: Piraeus Datastore
url: https://piraeus.io
Expand Down
20 changes: 10 additions & 10 deletions charts/piraeus/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ data:
# quay.io/piraeusdatastore/piraeus-server:v1.24.2
components:
linstor-controller:
tag: v1.25.1
tag: v1.26.1
image: piraeus-server
linstor-satellite:
tag: v1.25.1
tag: v1.26.1
image: piraeus-server
linstor-csi:
tag: v1.3.0
tag: v1.4.0
image: piraeus-csi
drbd-reactor:
tag: v1.4.0
Expand Down Expand Up @@ -69,25 +69,25 @@ data:
base: registry.k8s.io/sig-storage
components:
csi-attacher:
tag: v4.4.3
tag: v4.5.0
image: csi-attacher
csi-livenessprobe:
tag: v2.11.0
tag: v2.12.0
image: livenessprobe
csi-provisioner:
tag: v3.6.3
tag: v4.0.0
image: csi-provisioner
csi-snapshotter:
tag: v6.3.3
tag: v7.0.1
image: csi-snapshotter
csi-resizer:
tag: v1.9.3
tag: v1.10.0
image: csi-resizer
csi-external-health-monitor-controller:
tag: v0.10.0
tag: v0.11.0
image: csi-external-health-monitor-controller
csi-node-driver-registrar:
tag: v2.9.3
tag: v2.10.0
image: csi-node-driver-registrar
{{- range $idx, $value := .Values.imageConfigOverride }}
{{ add $idx 1 }}_helm_override.yaml: |
Expand Down
6 changes: 3 additions & 3 deletions config/manager/0_piraeus_datastore_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ base: quay.io/piraeusdatastore
# quay.io/piraeusdatastore/piraeus-server:v1.24.2
components:
linstor-controller:
tag: v1.25.1
tag: v1.26.1
image: piraeus-server
linstor-satellite:
tag: v1.25.1
tag: v1.26.1
image: piraeus-server
linstor-csi:
tag: v1.3.0
tag: v1.4.0
image: piraeus-csi
drbd-reactor:
tag: v1.4.0
Expand Down
14 changes: 7 additions & 7 deletions config/manager/0_sig_storage_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
base: registry.k8s.io/sig-storage
components:
csi-attacher:
tag: v4.4.3
tag: v4.5.0
image: csi-attacher
csi-livenessprobe:
tag: v2.11.0
tag: v2.12.0
image: livenessprobe
csi-provisioner:
tag: v3.6.3
tag: v4.0.0
image: csi-provisioner
csi-snapshotter:
tag: v6.3.3
tag: v7.0.1
image: csi-snapshotter
csi-resizer:
tag: v1.9.3
tag: v1.10.0
image: csi-resizer
csi-external-health-monitor-controller:
tag: v0.10.0
tag: v0.11.0
image: csi-external-health-monitor-controller
csi-node-driver-registrar:
tag: v2.9.3
tag: v2.10.0
image: csi-node-driver-registrar
2 changes: 1 addition & 1 deletion docs/tutorial/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ All resources needed to run Piraeus Operator are included in a single Kustomizat
Install Piraeus Operator by running:

```bash
$ kubectl apply --server-side -k "https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.3.0"
$ kubectl apply --server-side -k "https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.4.0"
namespace/piraeus-datastore configured
...
```
Expand Down
2 changes: 1 addition & 1 deletion hack/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $KUSTOMIZE edit set image controller="$IMG:v$VERSION"
popd

# replace deployment instructions in docs
for FILE in ./README.md ./docs/tutorial/get-started.md ; do
for FILE in ./README.md ./docs/tutorial/get-started.md ./UPGRADE.md ; do
sed -e "s/ref=v[0-9\.]\+/ref=v$VERSION/" -i "$FILE"
done

Expand Down
Loading