Skip to content

Commit

Permalink
update images
Browse files Browse the repository at this point in the history
* LINSTOR 1.25.1
* LINSTOR CSI 1.3.0
* DRBD Reactor 1.4.0
* Latest CSI sidecars

Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Nov 21, 2023
1 parent 542a188 commit 3207c22
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 20 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed service resources relying on default protocol version.
- Moved NetworkPolicy for DRBD out of default deployed resources.
- Updated images:
* LINSTOR 1.25.0
* DRBD Reactor 1.3.0
* LINSTOR 1.25.1
* LINSTOR CSI 1.3.0
* DRBD Reactor 1.4.0
* Latest CSI sidecars
- Add a default toleration for the HA Controller taints to the operator.

Expand Down
18 changes: 9 additions & 9 deletions charts/piraeus/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ data:
# quay.io/piraeusdatastore/piraeus-server:v1.24.2
components:
linstor-controller:
tag: v1.25.0
tag: v1.25.1
image: piraeus-server
linstor-satellite:
tag: v1.25.0
tag: v1.25.1
image: piraeus-server
linstor-csi:
tag: v1.2.3
tag: v1.3.0
image: piraeus-csi
drbd-reactor:
tag: v1.3.0
tag: v1.4.0
image: drbd-reactor
ha-controller:
tag: v1.1.4
Expand Down Expand Up @@ -69,23 +69,23 @@ data:
base: registry.k8s.io/sig-storage
components:
csi-attacher:
tag: v4.4.1
tag: v4.4.2
image: csi-attacher
csi-livenessprobe:
tag: v2.11.0
image: livenessprobe
csi-provisioner:
tag: v3.6.1
tag: v3.6.2
image: csi-provisioner
csi-snapshotter:
tag: v6.3.1
tag: v6.3.2
image: csi-snapshotter
csi-resizer:
tag: v1.9.1
tag: v1.9.2
image: csi-resizer
csi-external-health-monitor-controller:
tag: v0.10.0
image: csi-external-health-monitor-controller
csi-node-driver-registrar:
tag: v2.9.0
tag: v2.9.1
image: csi-node-driver-registrar
8 changes: 4 additions & 4 deletions config/manager/0_piraeus_datastore_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ base: quay.io/piraeusdatastore
# quay.io/piraeusdatastore/piraeus-server:v1.24.2
components:
linstor-controller:
tag: v1.25.0
tag: v1.25.1
image: piraeus-server
linstor-satellite:
tag: v1.25.0
tag: v1.25.1
image: piraeus-server
linstor-csi:
tag: v1.2.3
tag: v1.3.0
image: piraeus-csi
drbd-reactor:
tag: v1.3.0
tag: v1.4.0
image: drbd-reactor
ha-controller:
tag: v1.1.4
Expand Down
10 changes: 5 additions & 5 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.1
tag: v4.4.2
image: csi-attacher
csi-livenessprobe:
tag: v2.11.0
image: livenessprobe
csi-provisioner:
tag: v3.6.1
tag: v3.6.2
image: csi-provisioner
csi-snapshotter:
tag: v6.3.1
tag: v6.3.2
image: csi-snapshotter
csi-resizer:
tag: v1.9.1
tag: v1.9.2
image: csi-resizer
csi-external-health-monitor-controller:
tag: v0.10.0
image: csi-external-health-monitor-controller
csi-node-driver-registrar:
tag: v2.9.0
tag: v2.9.1
image: csi-node-driver-registrar
7 changes: 7 additions & 0 deletions hack/image-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ YQ="${YQ:-yq}"
KUSTOMIZE="${KUSTOMIZE:-kustomize}"
CRANE="${CRANE:-crane}"

NEED_CHART_UPDATE=n

for CONFIG_FILE in ./config/manager/*_images.yaml; do
BASE="$(yq -e .base "${CONFIG_FILE}")"
for KEY in $(yq -e ".components | keys | .[]" "${CONFIG_FILE}"); do
Expand All @@ -12,8 +14,13 @@ for CONFIG_FILE in ./config/manager/*_images.yaml; do
if [ "$(yq -e ".components.${KEY}.tag" "${CONFIG_FILE}" )" != "${TAG}" ] ; then
echo "${IMG}"
yq -ie ".components.${KEY}.tag = \"${TAG}\"" "${CONFIG_FILE}"
NEED_CHART_UPDATE=y
else
echo "= ${IMG}"
fi
done
done

if [ "$NEED_CHART_UPDATE" = y ]; then
make sync-chart
fi

0 comments on commit 3207c22

Please sign in to comment.