Skip to content

Commit

Permalink
Add usage of zammadConfig.storageVolume.existingClaim to the 'full' t…
Browse files Browse the repository at this point in the history
…est scenario for chart-testing.
  • Loading branch information
mgruner committed Apr 18, 2024
1 parent d1e7c28 commit 3f551dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
run: kubectl create namespace zammad

- name: Install secrets
run: kubectl create --namespace zammad --filename zammad/ci/full-secrets.yaml
run: kubectl create --namespace zammad --filename zammad/ci/full-objects.yaml

- name: Run chart-testing (install)
run: ct install --config .github/ct.yaml --helm-extra-args '--timeout 900s'
13 changes: 12 additions & 1 deletion zammad/ci/full-secrets.yaml → zammad/ci/full-objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,15 @@ data:
kind: Secret
metadata:
name: autowizard
type: Opaque
type: Opaque
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: storage-volume-claim
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 32Mi
3 changes: 3 additions & 0 deletions zammad/ci/full-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ redis:
existingSecretPasswordKey: redis-password

zammadConfig:
storageVolume:
enabled: true
existingClaim: 'storage-volume-claim'
minio:
enabled: true

0 comments on commit 3f551dd

Please sign in to comment.