use test values file instead of cli args for ct

This commit is contained in:
jessebot
2025-01-23 09:53:04 +01:00
parent 04b772a898
commit 3bcccd4aea
2 changed files with 30 additions and 3 deletions
+1 -3
View File
@@ -81,6 +81,4 @@ jobs:
id: install
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install \
--target-branch ${{ github.event.repository.default_branch }} \
--helm-extra-set-args "--set=pixelfed.mail.username=test --set=pixelfed.mail.password=testing1234567 --set=valkey.auth.password=testing1234567 --set=postgresql.auth.password=testing1234567 --set=postgresql.auth.postgresPassword=testing1234567 --set=postgresql.auth.database=pixelfed --set=postgresql.auth.username=pixelfed"
ct install --target-branch ${{ github.event.repository.default_branch }} --helm-extra-set-args "--values ./charts/pixelfed/test-values/postgresql-plain.yaml" --skip-clean-up
@@ -0,0 +1,29 @@
# This file is strictly for testing a base functionality of this chart
# it uses postgresql and valkey and provides credentials for them as well as mail
pixelfed:
mail:
username: test
password: testing1234567
valkey:
auth:
enabled: true
password: testing1234567
primary:
replicaCount: 2
disableCommands:
- FLUSHALL
persistence:
enabled: false
replica:
replicaCount: 0
persistence:
enabled: false
postgresql:
auth:
password: testing1234567
postgresPassword: testing1234567
username: pixelfed
database: pixelfed