From 4159c9d3a5818d9488962ac825b5470cfa2602e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=ED=9D=AC=ED=98=B8?= Date: Wed, 24 Dec 2025 14:49:33 +0900 Subject: [PATCH] fix: Use versioned image tag and remove capabilities drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Chart.yaml: appVersion "0.2.5" -> "v0.2.5" (match Docker Hub tag format) - values.yaml: app.image.tag "" (use appVersion) instead of "latest" - values.yaml: Remove capabilities drop (nginx requires CAP_CHOWN) Verified all pods running successfully on local k3s cluster. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- helm/Chart.yaml | 2 +- helm/values.yaml | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index bc86e13b..468b71fe 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -5,7 +5,7 @@ description: | with document parsing, vector search, and LLM integration. type: application version: 0.1.0 -appVersion: "0.2.5" +appVersion: "v0.2.5" kubeVersion: ">=1.25.0-0" home: https://github.com/Tencent/WeKnora icon: https://raw.githubusercontent.com/Tencent/WeKnora/main/docs/images/logo.png diff --git a/helm/values.yaml b/helm/values.yaml index 02df2839..237a9c73 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -60,8 +60,8 @@ app: image: # -- Image repository repository: wechatopenai/weknora-app - # -- Image tag (use "latest" until versioned tags are available) - tag: "latest" + # -- Image tag (defaults to Chart.appVersion if empty) + tag: "" # -- Image pull policy pullPolicy: IfNotPresent @@ -83,9 +83,6 @@ app: securityContext: # runAsNonRoot: true # Disabled - official images run as root allowPrivilegeEscalation: false - capabilities: - drop: - - ALL # -- Environment variables for the app container # Ref: https://github.com/Tencent/WeKnora/blob/main/docker-compose.yml @@ -173,9 +170,6 @@ frontend: # runAsNonRoot: true # Disabled - official images run as root # readOnlyRootFilesystem: true # Disabled - images require writable fs allowPrivilegeEscalation: false - capabilities: - drop: - - ALL # -- Service configuration service: @@ -222,9 +216,6 @@ docreader: securityContext: # runAsNonRoot: true # Disabled - official images run as root allowPrivilegeEscalation: false - capabilities: - drop: - - ALL # -- Environment variables env: @@ -317,9 +308,6 @@ redis: # runAsNonRoot: true # Disabled - official images run as root # readOnlyRootFilesystem: true # Disabled - images require writable fs allowPrivilegeEscalation: false - capabilities: - drop: - - ALL # -- Persistence configuration persistence: