apps/ninja: add variables

This commit is contained in:
xeruf 2022-10-13 13:29:44 +01:00
parent 23a9abcf56
commit 5d590ff3b6
3 changed files with 24 additions and 3 deletions

View File

@ -27,12 +27,16 @@ data:
persistence: persistence:
public: public:
existingClaim: invoiceninja-data existingClaim: invoiceninja-data
appKey: "ksickejksickejksickejdddksickejd" appKey: "${app_key}"
debug: true
userEmail: "${admin_email}"
userPassword: "${password}"
mariadb: mariadb:
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml # https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
auth: auth:
rootPassword: "testilein" password: "${mariadb_password}"
password: "bratwurst" rootPassword: "${mariadb_root_password}"
# TODO Adjust invoiceninja Mailing config # TODO Adjust invoiceninja Mailing config
# mailer: # mailer:
# enabled: "${outgoing_mail_enabled}" # enabled: "${outgoing_mail_enabled}"

View File

@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: stackspin-invoiceninja-variables
data:
password: "{{ 32 | generate_password | b64encode }}"
app_key: "{{ 64 | generate_password | b64encode }}"
mariadb_password: "{{ 32 | generate_password | b64encode }}"
mariadb_root_password: "{{ 32 | generate_password | b64encode }}"

View File

@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Secret
metadata:
name: stackspin-{{ app }}-oauth-variables
data:
client_id: "{{ app | b64encode }}"
client_secret: "{{ 32 | generate_password | b64encode }}"