Skip to content

Commit

Permalink
PBM. Update kubectl to avoid CVE-2024-24790
Browse files Browse the repository at this point in the history
  • Loading branch information
sandraromanchenko committed Aug 22, 2024
1 parent 9e8be15 commit 410bd20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions percona-backup-mongodb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN set -ex; \
rm -rf /var/cache/dnf /var/cache/yum

# kubectl needed for Percona Operator for PSMDB
ENV KUBECTL_VERSION=v1.28.9
ENV KUBECTL_SHA512SUM=bd29135df60205900c8857fa097c99bd9a4c66ed97a94be47c020cb6221ddc4a8cac59d49885a02e23b184a7ea4bf2026ce99346ffd2478e16400ada515ab7a8
ENV KUBECTL_VERSION=v1.28.11
ENV KUBECTL_SHA512SUM=53b1e51953ace6030978e1c14a3dcc3ea1ffe1778abe911bc17c827a8f907b7f0942743c59f68e666add98d23638d7d517b482089d9f7474a8fcf391c299493f
RUN set -ex; \
curl -Lf -o /usr/bin/kubectl \
https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl; \
Expand Down
4 changes: 2 additions & 2 deletions percona-backup-mongodb/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ RUN set -ex; \
rm -rf /var/cache/dnf /var/cache/yum

# kubectl needed for Percona Operator for PSMDB
ENV KUBECTL_VERSION=v1.28.9
ENV KUBECTL_SHA512SUM=4faaa4b7b8dc0a5dfa2fd9884ec9f6434dd6b3e74d197a28a4f80a9aa57adec73fd43b06fee9fe901bc5be87bb2854241351cbdedd95ca74f39cd9511b2896b2
ENV KUBECTL_VERSION=v1.28.11
ENV KUBECTL_SHA512SUM=53b1e51953ace6030978e1c14a3dcc3ea1ffe1778abe911bc17c827a8f907b7f0942743c59f68e666add98d23638d7d517b482089d9f7474a8fcf391c299493f
RUN set -ex; \
curl -Lf -o /usr/bin/kubectl \
https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/arm64/kubectl; \
Expand Down
4 changes: 2 additions & 2 deletions percona-backup-mongodb/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN set -ex; \
rm -rf /var/cache/dnf /var/cache/yum

# kubectl needed for Percona Operator for PSMDB
ENV KUBECTL_VERSION=v1.28.9
ENV KUBECTL_SHA512SUM=bd29135df60205900c8857fa097c99bd9a4c66ed97a94be47c020cb6221ddc4a8cac59d49885a02e23b184a7ea4bf2026ce99346ffd2478e16400ada515ab7a8
ENV KUBECTL_VERSION=v1.28.11
ENV KUBECTL_SHA512SUM=53b1e51953ace6030978e1c14a3dcc3ea1ffe1778abe911bc17c827a8f907b7f0942743c59f68e666add98d23638d7d517b482089d9f7474a8fcf391c299493f
RUN set -ex; \
curl -Lf -o /usr/bin/kubectl \
https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl; \
Expand Down
4 changes: 2 additions & 2 deletions percona-backup-mongodb/Dockerfile.ubi9
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN set -ex; \
rm -rf /var/cache/dnf /var/cache/yum

# kubectl needed for Percona Operator for PSMDB
ENV KUBECTL_VERSION=v1.19.12
ENV KUBECTL_MD5SUM=7c6a25afdec07da2cf1e1c1caf9e4381
ENV KUBECTL_VERSION=v1.28.11
ENV KUBECTL_SHA512SUM=53b1e51953ace6030978e1c14a3dcc3ea1ffe1778abe911bc17c827a8f907b7f0942743c59f68e666add98d23638d7d517b482089d9f7474a8fcf391c299493f
RUN set -ex; \
curl -Lf -o /usr/bin/kubectl \
https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl; \
Expand Down

0 comments on commit 410bd20

Please sign in to comment.