revert redis values and static image in the chart

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
This commit is contained in:
IvanHunters
2025-11-04 11:21:10 +03:00
parent 965818efd4
commit 10e79651ef
4 changed files with 2 additions and 11 deletions

View File

@@ -15,7 +15,6 @@ Service utilizes the Spotahome Redis Operator for efficient management and orche
| Name | Description | Type | Value |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------- |
| `image` | Redis image in name:tag format | `string` | `redis:8.2.0` |
| `replicas` | Number of Redis replicas. | `int` | `2` |
| `resources` | Explicit CPU and memory configuration for each Redis replica. When omitted, the preset defined in `resourcesPreset` is applied. | `object` | `{}` |
| `resources.cpu` | CPU available to each replica. | `quantity` | `""` |

View File

@@ -27,7 +27,7 @@ spec:
replicas: 3
resources: {{- include "cozy-lib.resources.defaultingSanitize" (list .Values.resourcesPreset .Values.resources $) | nindent 6 }}
redis:
image: {{ .Values.image }}
image: "redis:8.2.0"
resources: {{- include "cozy-lib.resources.defaultingSanitize" (list .Values.resourcesPreset .Values.resources $) | nindent 6 }}
replicas: {{ .Values.replicas }}
{{- with .Values.size }}

View File

@@ -12,11 +12,6 @@
"type": "boolean",
"default": false
},
"image": {
"description": "Redis image in name:tag format",
"type": "string",
"default": "redis:8.2.0"
},
"replicas": {
"description": "Number of Redis replicas.",
"type": "integer",
@@ -89,4 +84,4 @@
"default": ""
}
}
}
}

View File

@@ -15,9 +15,6 @@
## @value xlarge
## @value 2xlarge
## @param {string} image - Redis image in name:tag format
image: "redis:8.2.0"
## @param {int} replicas - Number of Redis replicas.
replicas: 2