Skip to content

Commit

Permalink
add statefulset options to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Jul 5, 2023
1 parent 938aedc commit f5f122c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
if: steps.list-changed.outputs.changed

- name: Create kind cluster
uses: helm/kind-action@v1.4.0
uses: helm/kind-action@v1.7.0
with:
node_image: kindest/node:v1.21.10
node_image: kindest/node:v1.17.3
config: chart-testing/kind-config.yaml
if: steps.list-changed.outputs.changed

- name: Replace secrets in Helm charts
Expand Down
5 changes: 5 additions & 0 deletions chart-testing/kind-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://kind.sigs.k8s.io/docs/user/configuration/
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
featureGates:
StatefulSetAutoDeletePVC: true
4 changes: 4 additions & 0 deletions charts/node/ci/kind-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ node:
storageClass: standard
chainKeystore:
storageClass: standard
podManagementPolicy: Parallel
persistentVolumeClaimRetentionPolicy:
whenDeleted: Delete
whenScaled: Delete
image:
tag: v0.9.43

0 comments on commit f5f122c

Please sign in to comment.