ragflow/helm/templates
Scott Davidson dc95bd6a7c
Ensure Redis volumeClaimTemplate labels are deterministic (#9016)
### What problem does this PR solve?

Previous version created labels which were dependent on the specific
Helm chart version such as:
```
volumeClaimTemplates:
- metadata:
    name: redis-data
    labels:
      helm.sh/chart: ragflow-0.2.3-dev.0.opensearch-test.4
      app.kubernetes.io/name: ragflow
      app.kubernetes.io/instance: test-1
      app.kubernetes.io/version: "9a04408"
      app.kubernetes.io/managed-by: Helm
      app.kubernetes.io/component: redis
```
which causes `helm upgrade` commands to fail with
```
Upgrade "test-1" failed: cannot patch "test-1-ragflow-redis" with
kind StatefulSet: StatefulSet.apps "test-1-ragflow-redis" is
invalid: spec: Forbidden: updates to statefulset spec for fields
other than 'replicas', 'ordinals', 'template', 'updateStrategy',
'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are
forbidden
```
because the labels changed on upgrade.

This fix uses a reduced set of labels to prevent upgrade failures.

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
2025-07-24 10:15:11 +08:00
..
tests Add Helm chart deployment method (#3815) 2024-12-03 14:48:36 +08:00
_helpers.tpl Add Helm chart deployment method (#3815) 2024-12-03 14:48:36 +08:00
elasticsearch-config.yaml Add OpenSearch support to Helm chart (#8921) 2025-07-18 19:26:11 +08:00
elasticsearch.yaml Switch to StatefulSet resources for stateful components (#8985) 2025-07-23 10:52:27 +08:00
env.yaml Add OpenSearch support to Helm chart (#8921) 2025-07-18 19:26:11 +08:00
infinity.yaml Switch to StatefulSet resources for stateful components (#8985) 2025-07-23 10:52:27 +08:00
ingress.yaml Fix Helm Ingress template (#7018) 2025-04-15 09:19:37 +08:00
minio.yaml Switch to StatefulSet resources for stateful components (#8985) 2025-07-23 10:52:27 +08:00
mysql-config.yaml Add Helm chart deployment method (#3815) 2024-12-03 14:48:36 +08:00
mysql.yaml Switch to StatefulSet resources for stateful components (#8985) 2025-07-23 10:52:27 +08:00
opensearch-config.yaml Add OpenSearch support to Helm chart (#8921) 2025-07-18 19:26:11 +08:00
opensearch.yaml Fix OpenSearch liveness probe (#9012) 2025-07-24 09:30:31 +08:00
ragflow.yaml Add service_conf and llm_factories options to Helm chart (#8607) 2025-07-02 09:58:17 +08:00
ragflow_config.yaml Add service_conf and llm_factories options to Helm chart (#8607) 2025-07-02 09:58:17 +08:00
redis.yaml Ensure Redis volumeClaimTemplate labels are deterministic (#9016) 2025-07-24 10:15:11 +08:00