Hediberto Cavalcante da Silva fbee8e217a Update ceph-csi helm charts to v3.10.1
Update RBD/CephFS provisioners to v3.10.1 based on
https://github.com/ceph/ceph-csi/releases/tag/v3.10.1

We use the latest versions of ceph-csi, csi-provisioner,
csi-attacher, csi-snapshotter, csi-node-driver-registrar,
csi-resizer:

- https://github.com/kubernetes-csi/external-provisioner/releases/tag/v3.6.2
- https://github.com/kubernetes-csi/external-attacher/releases/tag/v4.4.2
- https://github.com/kubernetes-csi/external-snapshotter/releases/tag/v6.3.2
- https://github.com/kubernetes-csi/node-driver-registrar/releases/tag/v2.9.1
- https://github.com/kubernetes-csi/external-resizer/releases/tag/v1.9.2

Test Plan:
 PASS: App upload/apply/remove/delete/update
 PASS: Create PVC using storageclass general (rbd)
 PASS: Create pod using RBD PVC
 PASS: Resize RBD PVC
 PASS: Create RBD volume snapshot
 PASS: Create PVC using storageclass cephfs
 PASS: Create pod using cephfs PVC
 PASS: Resize cephfs PVC
 PASS: Create cephfs volume snapshot

* Tests were performed on SX/DX/Standard/Storage with K8s
  1.24, 1.25, 1.26 and 1.27

Story: 2010688
Task: 49420

Change-Id: I5d4b6d3583be0f60f5a15c5ace49951959bdd027
Signed-off-by: Hediberto Cavalcante da Silva <hediberto.cavalcantedasilva@windriver.com>
Signed-off-by: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
2024-01-22 21:57:30 -03:00

33 lines
931 B
Makefile

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export DEB_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
export PATCH_VERSION = $(shell echo $(DEB_VERSION) | cut -f 4 -d '.')
export CHART_BASE_VERSION = $(shell echo $(DEB_VERSION) | sed 's/-/./' | cut -d '.' -f 1-3)
export CHART_VERSION = $(CHART_BASE_VERSION)+STX.$(PATCH_VERSION)
export ROOT = debian/tmp
export APP_FOLDER = $(ROOT)/usr/lib/helm
%:
dh $@
override_dh_auto_build:
mkdir -p ceph-csi
# Copy ceph-csi charts
cp -r charts/* ceph-csi
cp Makefile ceph-csi
cd ceph-csi && make CHART_VERSION=$(CHART_VERSION) ceph-csi-rbd
cd ceph-csi && make CHART_VERSION=$(CHART_VERSION) ceph-csi-cephfs
override_dh_auto_install:
# Install the app tar file.
install -d -m 755 $(APP_FOLDER)
install -p -D -m 755 ceph-csi/ceph-csi-rbd*.tgz $(APP_FOLDER)
install -p -D -m 755 ceph-csi/ceph-csi-cephfs*.tgz $(APP_FOLDER)
override_dh_auto_test: