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

Upgrade sidecars to latest #947

Merged
merged 1 commit into from
Sep 12, 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
8 changes: 4 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Before starting the installation, it is required to have DirectPV plugin install
### Prerequisites
* Kubernetes >= v1.20 on GNU/Linux on amd64.
* If you use private registry, below images must be pushed into your registry. You could use [this helper script](tools/push-images.sh) to do that.
- quay.io/minio/csi-node-driver-registrar:v2.11.1
- quay.io/minio/csi-provisioner:v5.0.1 _(for Kubernetes >= v1.20)_
- quay.io/minio/csi-node-driver-registrar:v2.12.0-0
- quay.io/minio/csi-provisioner:v5.0.2-0 _(for Kubernetes >= v1.20)_
- quay.io/minio/csi-provisioner:v2.2.0-go1.18 _(for kubernetes < v1.20)_
- quay.io/minio/livenessprobe:v2.13.1
- quay.io/minio/csi-resizer:v1.11.2
- quay.io/minio/livenessprobe:v2.14.0-0
- quay.io/minio/csi-resizer:v1.12.0-0
- quay.io/minio/directpv:latest
* If `seccomp` is enabled, load [DirectPV seccomp profile](../seccomp.json) on nodes where you want to install DirectPV and use `--seccomp-profile` flag to `kubectl directpv install` command. For more information, refer Kubernetes documentation [here](https://kubernetes.io/docs/tutorials/clusters/seccomp/)
* If `apparmor` is enabled, load [DirectPV apparmor profile](../apparmor.profile) on nodes where you want to install DirectPV and use `--apparmor-profile` flag to `kubectl directpv install` command. For more information, refer to the [Kubernetes documentation](https://kubernetes.io/docs/tutorials/clusters/apparmor/).
Expand Down
8 changes: 4 additions & 4 deletions docs/tools/push-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ function push_image() {
}

function main() {
push_image "quay.io/minio/csi-node-driver-registrar:v2.11.1"
push_image "quay.io/minio/csi-provisioner:v5.0.1"
push_image "quay.io/minio/csi-node-driver-registrar:v2.12.0-0"
push_image "quay.io/minio/csi-provisioner:v5.0.2-0"
push_image "quay.io/minio/csi-provisioner:v2.2.0-go1.18"
push_image "quay.io/minio/livenessprobe:v2.13.1"
push_image "quay.io/minio/csi-resizer:v1.11.2"
push_image "quay.io/minio/livenessprobe:v2.14.0-0"
push_image "quay.io/minio/csi-resizer:v1.12.0-0"
release=$(curl -sfL "https://api.github.com/repos/minio/directpv/releases" | awk '/tag_name/ { print substr($2, 3, length($2)-4) }' | awk 'BEGIN{m = 0; ver=""} /^4\.0\./ { p = substr($1, 5, length($1)); if (0+p > 0+m) {m = p; ver = $1} } END{print ver}')
push_image "quay.io/minio/directpv:v${release}"
}
Expand Down
18 changes: 9 additions & 9 deletions pkg/admin/installer/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ import (
)

const (
// csiProvisionerImage = csi-provisioner:v5.0.1
csiProvisionerImage = "csi-provisioner@sha256:acf6e876a3fc5f367ea3ad5aeb2ce16c47b051cb853d8b2c5fb498c51166726e"
// csiProvisionerImageV2_2_0 = "csi-provisioner:v2.2.0-go1.18"
// csiProvisionerImage = csi-provisioner:v5.0.2-0
csiProvisionerImage = "csi-provisioner@sha256:fc1f992dd5591357fa123c396aaadaea5033f312b9c136a11d62cf698474bebb"
// csiProvisionerImageV2_2_0 = csi-provisioner:v2.2.0-go1.18
csiProvisionerImageV2_2_0 = "csi-provisioner@sha256:c185db49ba02c384633165894147f8d7041b34b173e82a49d7145e50e809b8d6"
// nodeDriverRegistrarImage = csi-node-driver-registrar:v2.11.1
nodeDriverRegistrarImage = "csi-node-driver-registrar@sha256:7cd4053e52c0028bd9c711ca6de667a7c459a024679ae967c7f800e81baec0bf"
// livenessProbeImage = livenessprobe:v2.13.1
livenessProbeImage = "livenessprobe@sha256:4106724032620c7679bf065e6e11c7d841cf1d9db69c5e33514a6139681d0689"
// csiResizerImage = csi-resizer:v1.11.2
csiResizerImage = "csi-resizer@sha256:33f6fd174f2dc121c0e87176856cc36b25374737c5441bccb5b3679905df7ab9"
// nodeDriverRegistrarImage = csi-node-driver-registrar:v2.12.0-0
nodeDriverRegistrarImage = "csi-node-driver-registrar@sha256:dafc7f667aa2e20d7f059c20db02dd6987c2624d64d8f166cd5930721be98ea9"
// livenessProbeImage = livenessprobe:v2.14.0-0
livenessProbeImage = "livenessprobe@sha256:783010e10e4d74b6b2b157a4b52772c5a264fd76bb2ad671054b8c3f706c8324"
// csiResizerImage = csi-resizer:v1.12.0-0
csiResizerImage = "csi-resizer@sha256:58fa627393f20892b105a137d27e236dfaec233a3a64980f84dcb15f38c21533"

// openshiftCSIProvisionerImage = openshift4/ose-csi-external-provisioner-rhel8:v4.12.0-202407151105.p0.g3aa7c52.assembly.stream.el8
openshiftCSIProvisionerImage = "registry.redhat.io/openshift4/ose-csi-external-provisioner-rhel8@sha256:8bf8aa8975790e19ba107fd58699f98389e3fb692d192f4df3078fff7f0a4bba"
Expand Down
Loading