@leverege/build-tools 2.83.0 → 2.83.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.83.0",
3
+ "version": "2.83.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -89,7 +89,7 @@
89
89
  "simple-git": "^3.28.0",
90
90
  "sloc": "^0.3.2",
91
91
  "toml": "^3.0.0",
92
- "zx": "^8.8.0"
92
+ "zx": "^8.8.1"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@leverege/eslint-config-leverege": "^5.0.1",
@@ -0,0 +1,17 @@
1
+ # Dockerfile.kubectl-alpine
2
+ FROM alpine:3.20
3
+
4
+ ARG KUBECTL_VERSION=1.30.3 # set to your preferred patch
5
+ ARG TARGETARCH # buildx will set this automatically if you pass --platform
6
+
7
+ # ---- Install kubectl ----
8
+ RUN apk add --no-cache ca-certificates curl bash jq coreutils \
9
+ && curl -fsSL -o /usr/local/bin/kubectl \
10
+ "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl" \
11
+ && chmod +x /usr/local/bin/kubectl
12
+
13
+ # Drop back to non-root user
14
+ USER 1000
15
+
16
+ ENTRYPOINT ["/bin/sh","-c"]
17
+ CMD ["kubectl version --client --short && sleep infinity"]
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+
3
+ KUBECTL_VERSION="1.30.3"
4
+
5
+ docker buildx build \
6
+ --build-arg KUBECTL_VERSION=${KUBECTL_VERSION} \
7
+ --platform linux/amd64,linux/arm64 \
8
+ -t us-docker.pkg.dev/leverege-registry/system/images/leverege-kubectl:v${KUBECTL_VERSION} \
9
+ --push .
package/src/helmup.sh CHANGED
@@ -59,7 +59,7 @@ SYSTEM=(
59
59
  traefik
60
60
  prom-operator
61
61
  elasticsearch8
62
- redis
62
+ valkey
63
63
  cnpg-operator
64
64
  preemptible-killer
65
65
  zombie-killer
@@ -384,7 +384,7 @@ spec:
384
384
  containers:
385
385
  - name: cron-zombie-killer
386
386
  imagePullPolicy: IfNotPresent
387
- image: registry.k8s.io/kubectl:v1.30.3
387
+ image: us-docker.pkg.dev/leverege-registry/system/images/leverege-kubectl:v1.30.3
388
388
  command:
389
389
  - "/bin/sh"
390
390
  args: