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

66 lines
2.1 KiB
YAML
Raw Normal View History

2022-10-13 12:01:44 +00:00
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
2022-10-14 07:39:37 +00:00
image:
2022-11-15 12:14:00 +00:00
tag: 5.5
2022-10-13 12:01:44 +00:00
ingress:
enabled: true
hostname: "ninja.${domain}"
tls: true
certManager: true
2022-11-15 10:49:27 +00:00
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
2022-11-15 10:56:26 +00:00
more_set_headers "Content-Security-Policy: frame-ancestors 'self' ${nextcloud_domain}";
2022-10-13 12:01:44 +00:00
persistence:
public:
existingClaim: invoiceninja-data
mariadb:
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
auth:
2022-10-13 12:29:44 +00:00
password: "${mariadb_password}"
rootPassword: "${mariadb_root_password}"
2022-10-14 07:46:16 +00:00
primary:
persistence:
existingClaim: invoiceninja-mariadb
2022-10-13 21:55:36 +00:00
redis:
# Redis is only cache, so no pvc needed: https://invoiceninja.github.io/docs/env-variables/
auth:
password: "${redis_password}"
2022-10-13 21:18:30 +00:00
2022-11-15 11:44:24 +00:00
appKey: "${app_key}"
2022-11-14 12:09:50 +00:00
appURL: "https://ninja.${domain}"
2022-10-13 21:18:30 +00:00
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:
2022-11-15 11:44:24 +00:00
- name: APP_CIPHER
value: AES-256-CBC
2022-10-14 07:39:37 +00:00
- name: MAIL_MAILER
value: smtp
2022-10-13 22:06:21 +00:00
- name: MAIL_HOST
value: "${outgoing_mail_smtp_host}"
- name: MAIL_PORT
value: "${outgoing_mail_smtp_port}"
- name: MAIL_USERNAME
value: "${outgoing_mail_smtp_user}"
- name: MAIL_PASSWORD
value: "${outgoing_mail_smtp_password}"
- name: MAIL_EHLO_DOMAIN
value: "${outgoing_mail_domain}"
- name: MAIL_FROM_ADDRESS
value: "${outgoing_mail_from_address}"
- name: MAIL_FROM_NAME
value: "FTT Forensic Discovery GmbH"
2022-10-13 12:29:44 +00:00
2022-10-13 21:18:30 +00:00
# Missing: invoiceninja OpenID Connect Single Sign-On Configuration
2022-10-13 12:01:44 +00:00
# - name: Stackspin
# key: "${client_id}"
# secret: "${client_secret}"
# autoDiscoverUrl: 'https://sso.${domain}/.well-known/openid-configuration'