2019-12-09 20:00:45 +00:00
# Kubernetes
2020-06-18 16:37:52 +00:00
For a mid to high-load installation, Kubernetes is recommended. passbook is installed using a helm-chart.
2020-05-27 15:26:35 +00:00
2020-06-08 20:13:38 +00:00
This installation automatically applies database migrations on startup. After the installation is done, you can use `pbadmin` as username and password.
2020-10-03 18:36:36 +00:00
```yaml
2020-08-25 16:02:51 +00:00
###################################
# Values directly affecting passbook
###################################
image:
name: beryju/passbook
name_static: beryju/passbook-static
2020-10-22 12:22:32 +00:00
tag: 0.12.5-stable
2020-05-27 15:26:35 +00:00
nameOverride: ""
2020-09-09 16:55:01 +00:00
serverReplicas: 1
workerReplicas: 1
2020-10-19 09:31:36 +00:00
# Enable the Kubernetes integration which lets passbook deploy outposts into kubernetes
kubernetesIntegration: true
2020-05-27 15:26:35 +00:00
config:
# Optionally specify fixed secret_key, otherwise generated automatically
2020-10-19 09:31:36 +00:00
# secretKey: _k*@6h2u2@q-dku57hhgzb7tnx*ba9wodcb^s9g0j59@=y(@_o
2020-05-27 15:26:35 +00:00
# Enable error reporting
2020-10-19 09:31:36 +00:00
errorReporting:
2020-08-20 18:39:21 +00:00
enabled: false
2020-08-25 16:02:51 +00:00
environment: customer
2020-10-19 09:31:36 +00:00
sendPii: false
2020-05-27 15:26:35 +00:00
# Log level used by web and worker
# Can be either debug, info, warning, error
2020-10-19 09:31:36 +00:00
logLevel: warning
2020-05-27 15:26:35 +00:00
# Enable Database Backups to S3
# backup:
2020-10-19 12:30:44 +00:00
# accessKey: access-key
# secretKey: secret-key
2020-05-27 15:26:35 +00:00
# bucket: s3-bucket
2020-10-03 18:36:36 +00:00
# region: eu-central-1
2020-05-27 15:26:35 +00:00
# host: s3-host
2020-10-03 18:36:36 +00:00
ingress:
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- passbook.k8s.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - passbook.k8s.local
2020-08-25 16:02:51 +00:00
###################################
# Values controlling dependencies
###################################
install:
postgresql: true
redis: true
2020-05-27 15:26:35 +00:00
2020-08-25 16:02:51 +00:00
# These values influence the bundled postgresql and redis charts, but are also used by passbook to connect
2020-05-27 15:26:35 +00:00
postgresql:
postgresqlDatabase: passbook
redis:
cluster:
enabled: false
master:
persistence:
enabled: false
# https://stackoverflow.com/a/59189742
disableCommands: []
```