Skip to content

Conversation

sd109
Copy link
Member

@sd109 sd109 commented Jul 22, 2025

Also fixes duplicate persistence key likely introduced as part of previous upstream merge conflict and cherry-picks some other upstream Helm chart fixes.

sd109 added 3 commits July 22, 2025 15:21
Previous probe received an HTTP 401 from the OpenSearch API which
was treated as a failure.
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.
@sd109 sd109 force-pushed the opensearch-default branch from bf0663e to b08b444 Compare July 23, 2025 14:49
@sd109 sd109 merged commit 6c5cd74 into main Jul 23, 2025
2 checks passed
@sd109 sd109 deleted the opensearch-default branch July 23, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant