apps/ninja: add variables
This commit is contained in:
parent
23a9abcf56
commit
5d590ff3b6
|
@ -27,12 +27,16 @@ data:
|
|||
persistence:
|
||||
public:
|
||||
existingClaim: invoiceninja-data
|
||||
appKey: "ksickejksickejksickejdddksickejd"
|
||||
appKey: "${app_key}"
|
||||
debug: true
|
||||
userEmail: "${admin_email}"
|
||||
userPassword: "${password}"
|
||||
mariadb:
|
||||
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
|
||||
auth:
|
||||
rootPassword: "testilein"
|
||||
password: "bratwurst"
|
||||
password: "${mariadb_password}"
|
||||
rootPassword: "${mariadb_root_password}"
|
||||
|
||||
# TODO Adjust invoiceninja Mailing config
|
||||
# mailer:
|
||||
# enabled: "${outgoing_mail_enabled}"
|
||||
|
|
|
@ -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 }}"
|
|
@ -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 }}"
|
Loading…
Reference in New Issue