stackspout/basic/apps/ninja/invoiceninja-values-configm...

44 lines
1.6 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: stackspin-invoiceninja-values
namespace: stackspout
data:
values.yaml: |
# https://github.com/invoiceninja/dockerfiles/blob/master/charts/invoiceninja/values.yaml
ingress:
enabled: true
hostname: "ninja.${domain}"
tls: true
certManager: true
persistence:
public:
existingClaim: invoiceninja-data
mariadb:
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
auth:
password: "${mariadb_password}"
rootPassword: "${mariadb_root_password}"
persistence:
existingClaim: invoiceninja-mariadb
# Redis is only cache, so no pvc needed: https://invoiceninja.github.io/docs/env-variables/
userEmail: "${admin_email}"
userPassword: "${password}"
mailer: "smtp" # FIXME use "${outgoing_mail_enabled}"
# https://github.com/invoiceninja/invoiceninja/blob/v5-stable/config/mail.php#L36
extraEnvVars:
- MAIL_HOST: "${outgoing_mail_smtp_host}"
- MAIL_PORT: "${outgoing_mail_smtp_port}"
- MAIL_USERNAME: "${outgoing_mail_smtp_user}"
- MAIL_PASSWORD: "${outgoing_mail_smtp_password}"
- MAIL_EHLO_DOMAIN: "${outgoing_mail_domain}"
- MAIL_FROM_ADDRESS: "${outgoing_mail_from_address}"
- MAIL_FROM_NAME: "FTT Forensic Discovery GmbH"
# Missing: invoiceninja OpenID Connect Single Sign-On Configuration
# - name: Stackspin
# key: "${client_id}"
# secret: "${client_secret}"
# autoDiscoverUrl: 'https://sso.${domain}/.well-known/openid-configuration'