Skip to content

Commit

Permalink
Fix persitent volume claim for chart (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran authored Jan 26, 2024
1 parent bdcd37e commit 617596f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ jobs:
- name: Set helm package image
id: version_step
run: |-
VERSION=`cat VERSION`
HELM_PACKAGE_VERSION=$VERSION+${{ steps.env-vars.outputs.short_sha }}
HELM_PACKAGE_VERSION=`cat VERSION`
NUCLIADB_IMAGE_VERSION=${{ steps.env-vars.outputs.short_sha }}
sed -i.bak "s#99999.99999.99999#$NUCLIADB_IMAGE_VERSION#" ./charts/nucliadb/Chart.yaml
echo "helm_package_version=$HELM_PACKAGE_VERSION" >> $GITHUB_OUTPUT
Expand Down
4 changes: 3 additions & 1 deletion charts/nucliadb/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ spec:
- name: ndb-pv
mountPath: /data
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ndb-pv
spec:
accessModes: [ "ReadWriteOnce" ]
Expand Down

0 comments on commit 617596f

Please sign in to comment.