From 3c47eed15960737c97f805b6d8f8b3e4ca4a0330 Mon Sep 17 00:00:00 2001 From: kavaribes Date: Fri, 10 Jan 2025 13:38:46 +0200 Subject: [PATCH] updated kubectl --- Dockerfile | 4 ++-- changes.md | 4 ++++ package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d679087..2949dacc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM node:23.5-alpine -ENV VERSION=v1.31.0 +ENV KUBECTL_VERSION=1.32.0 ENV NODE_ENV=production ENV SERVICE_ENABLE_SSHD=true ENV SERVICE_ENABLE_API=true @@ -30,7 +30,7 @@ RUN apk del build-base linux-headers openssl-dev zlib-dev file wget \ && rm -rf /openssh-9.9p1.tar.gz /openssh-9.9p1 RUN apk add --no-cache nfs-utils rpcbind curl ca-certificates nano tzdata ncurses make tcpdump \ - && curl -L https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \ + && curl -L https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \ && chmod +x /usr/local/bin/kubectl \ && kubectl version --client \ && rm -rf /etc/ssh/* \ diff --git a/changes.md b/changes.md index 72339f64..85366339 100644 --- a/changes.md +++ b/changes.md @@ -1,3 +1,7 @@ +### 0.6.0 +* updated kubectl to 1.32.0 +* changed kubectl package source + ### 0.5.5 * OS updates * Updated node modules. Updated Alpine to node:23.5-alpine diff --git a/package.json b/package.json index 0be577ed..833f1deb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docker-sftp", - "version": "0.5.5", + "version": "0.6.0", "description": "SSH tunnels to Kubernetes containers", "main": "bin/server.js", "scripts": {