fix(helm): Remove image tag overide

This commit is contained in:
Chris Coutinho
2025-10-29 12:18:12 +01:00
parent 94cbd3015d
commit e03a3c2e83
3 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -139,9 +139,10 @@ mcp:
| Parameter | Description | Default |
|-----------|-------------|---------|
| `image.repository` | Container image repository | `ghcr.io/cbcoutinho/nextcloud-mcp-server` |
| `image.tag` | Container image tag | `""` (uses chart appVersion) |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
**Note:** Image tag is automatically set to the chart's `appVersion` and cannot be overridden.
#### Resources
| Parameter | Description | Default |
@@ -390,7 +391,6 @@ helm upgrade nextcloud-mcp ./helm/nextcloud-mcp-server -f custom-values.yaml
```bash
helm upgrade nextcloud-mcp ./helm/nextcloud-mcp-server \
--set image.tag=0.21.0 \
--set resources.limits.memory=1Gi
```
@@ -102,10 +102,10 @@ Return the MCP server port
{{- end }}
{{/*
Return the image tag
Return the image tag (always uses chart appVersion)
*/}}
{{- define "nextcloud-mcp-server.imageTag" -}}
{{- .Values.image.tag | default .Chart.AppVersion }}
{{- .Chart.AppVersion }}
{{- end }}
{{/*
+1 -2
View File
@@ -8,8 +8,7 @@ replicaCount: 1
image:
repository: ghcr.io/cbcoutinho/nextcloud-mcp-server
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "@sha256:59f8a9e12e879094936362417b95a74377029f49f8fe3985606a7f45fe7c31f9"
# Image tag is automatically set to chart appVersion
imagePullSecrets: []
nameOverride: ""