forked from github-mirrorer/taskchampion-sync-server
1.7 KiB
1.7 KiB
TaskChampion Sync Server Helm Chart
Deploy the TaskChampion Sync Server on Kubernetes.
Prerequisites
- Kubernetes 1.23+
- Helm 3+
Storage Backends
Exactly one storage backend must be enabled. The chart will fail validation if both or neither are enabled.
SQLite
helm install my-release ./helm/taskchampion-sync-server -f helm/taskchampion-sync-server/examples/sqlite-values.yaml
PostgreSQL
helm install my-release ./helm/taskchampion-sync-server -f helm/taskchampion-sync-server/examples/postgres-values.yaml
Secrets
The chart expects pre-created secrets referenced by name:
Client ID Secret
apiVersion: v1
kind: Secret
metadata:
name: my-client-ids
type: Opaque
data:
client-ids: <base64-encoded comma-separated UUIDs>
Reference it via clientIdSecret: "my-client-ids".
PostgreSQL Secret
For PostgreSQL, the chart can automatically create a secret with the connection string, or use an existing secret.
Automatic Secret Creation:
- When
postgres.existingSecretis empty (default), the chart automatically creates a secret - Secret is named using Helm naming convention:
release-name-taskchampion-sync-server - Secret contains only a
connectionkey with the built connection string
Existing Secret Usage:
- When
postgres.existingSecretis provided, the chart uses that secret - The secret must contain a
connectionkey with the PostgreSQL connection string - If the secret doesn't have a
connectionkey, the deployment will fail with a clear error
Configuration
See values.yaml for all configurable options.