diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 06cd4b9295..8c6ffa0223 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -47,6 +47,81 @@ "versioningTemplate": "loose", "depNameTemplate": "github.com/goreleaser/goreleaser", }, { + // We want a PR to bump the external-snapshotter version + "fileMatch": [ + "^.github/workflows/continuous-delivery.yml", + "^hack/setup-cluster\.sh$", + ], + "matchStrings": [ + "EXTERNAL_SNAPSHOTTER_VERSION: \"(?.*?)\"", + "EXTERNAL_SNAPSHOTTER_VERSION=(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "kubernetes-csi/external-snapshotter", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump the external-provisioner version + "fileMatch": [ + "^hack/setup-cluster\.sh$", + ], + "matchStrings": [ + "EXTERNAL_PROVISIONER_VERSION=(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "kubernetes-csi/external-provisioner", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump the external-resizer version + "fileMatch": [ + "^hack/setup-cluster\.sh$", + ], + "matchStrings": [ + "EXTERNAL_RESIZER_VERSION=(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "kubernetes-csi/external-resizer", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump the external-attacher version + "fileMatch": [ + "^hack/setup-cluster\.sh$", + ], + "matchStrings": [ + "EXTERNAL_ATTACHER_VERSION=(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "kubernetes-csi/external-attacher", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump the csi-driver-host-path version + "fileMatch": [ + "^hack/setup-cluster\.sh$", + ], + "matchStrings": [ + "CSI_DRIVER_HOST_PATH_DEFAULT_VERSION=(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "kubernetes-csi/csi-driver-host-path", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump the rook version + "fileMatch": [ + "^.github/workflows/continuous-delivery.yml", + ], + "matchStrings": [ + "ROOK_VERSION: \"(?.*?)\"", + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "loose", + "depNameTemplate": "rook/rook", + "extractVersionTemplate": "^(?v\\d+\\.\\d+\\.\\d+)" + }, { + // We want a PR to bump kind version "fileMatch": [ "^.github/workflows/continuous-delivery.yml" ], diff --git a/hack/setup-cluster.sh b/hack/setup-cluster.sh index b8cd5a592f..3de0705d16 100755 --- a/hack/setup-cluster.sh +++ b/hack/setup-cluster.sh @@ -377,11 +377,11 @@ deploy_csi_host_path() { kubectl apply -f "${CSI_BASE_URL}"/external-resizer/"${EXTERNAL_RESIZER_VERSION}"/deploy/kubernetes/rbac.yaml ## Install driver and plugin - kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-1.24/hostpath/csi-hostpath-driverinfo.yaml - kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-1.24/hostpath/csi-hostpath-plugin.yaml + kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-latest/hostpath/csi-hostpath-driverinfo.yaml + kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-latest/hostpath/csi-hostpath-plugin.yaml ## create volumesnapshotclass - kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-1.24/hostpath/csi-hostpath-snapshotclass.yaml + kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/deploy/kubernetes-latest/hostpath/csi-hostpath-snapshotclass.yaml ## create storage class kubectl apply -f "${CSI_BASE_URL}"/csi-driver-host-path/"${CSI_DRIVER_HOST_PATH_VERSION}"/examples/csi-storageclass.yaml