Configure kimai and some more
This commit is contained in:
parent
88f5947067
commit
9f8abda452
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- vikunja-oauth-client.yaml
|
||||||
|
- vikunja-release.yaml
|
||||||
|
- vikunja-values-configmap.yaml
|
||||||
|
- vikunja-postgres-pvc.yaml
|
|
@ -9,10 +9,10 @@ data:
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
additionalContainers:
|
additionalContainers:
|
||||||
api:
|
api:
|
||||||
image: vikunja/api:0.18.1
|
image: vikunja/api:unstable
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
frontend:
|
frontend:
|
||||||
image: vikunja/frontend:0.18.2
|
image: vikunja/frontend:unstable
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
vikunja:
|
vikunja:
|
||||||
config: |-
|
config: |-
|
||||||
|
|
|
@ -13,7 +13,7 @@ data:
|
||||||
certManager: true
|
certManager: true
|
||||||
suitecrmUsername: "admin"
|
suitecrmUsername: "admin"
|
||||||
suitecrmEmail: "${admin_email}"
|
suitecrmEmail: "${admin_email}"
|
||||||
suitecrmPassword: "${suitecrm_password}"
|
suitecrmPassword: "${password}"
|
||||||
mariadb:
|
mariadb:
|
||||||
auth:
|
auth:
|
||||||
password: "${mariadb_password}"
|
password: "${mariadb_password}"
|
||||||
|
|
|
@ -7,13 +7,23 @@ data:
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
# https://github.com/robjuz/helm-charts/tree/master/charts/kimai2#parameters
|
# https://github.com/robjuz/helm-charts/tree/master/charts/kimai2#parameters
|
||||||
image:
|
image:
|
||||||
# Maybe apache-latest?
|
tag: apache-1.21.0-prod
|
||||||
tag: apache-1.20.4-prod
|
kimaiAppSecret: "${secret}"
|
||||||
|
kimaiAdminEmail: "${admin_email}"
|
||||||
|
kimaiAdminPassword: "${password}"
|
||||||
|
kimaiMailerUrl: "smtp://${outgoing_mail_smtp_user}:${outgoing_mail_smtp_password}@${outgoing_mail_smtp_host}?encryption=tls&auth_mode=plain"
|
||||||
|
kimaiMailerFrom: "${outgoing_mail_from_address}"
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
certManager: true
|
certManager: true
|
||||||
tls: true
|
tls: true
|
||||||
hostname: "time.${domain}"
|
hostname: "time.${domain}"
|
||||||
|
persistence:
|
||||||
|
existingClaim: kimai-data
|
||||||
|
mariadb:
|
||||||
|
auth:
|
||||||
|
password: "${mariadb_password}"
|
||||||
|
rootPassword: "${mariadb_root_password}"
|
||||||
# - name: Stackspin
|
# - name: Stackspin
|
||||||
# key: "${client_id}"
|
# key: "${client_id}"
|
||||||
# secret: "${client_secret}"
|
# secret: "${client_secret}"
|
||||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kimai-release.yaml
|
- kimai-release.yaml
|
||||||
|
- pvc.yaml
|
||||||
- kimai-values-configmap.yaml
|
- kimai-values-configmap.yaml
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: kimai-data
|
||||||
|
namespace: stackspout
|
||||||
|
labels:
|
||||||
|
stackspin.net/backupSet: "kimai"
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
volumeMode: Filesystem
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: local-path
|
|
@ -19,3 +19,4 @@ python $(dirname "$0")/../generate_secrets.py vikunja
|
||||||
python $(dirname "$0")/../generate_secrets.py vikunja-test
|
python $(dirname "$0")/../generate_secrets.py vikunja-test
|
||||||
python $(dirname "$0")/../generate_secrets.py gitea
|
python $(dirname "$0")/../generate_secrets.py gitea
|
||||||
python $(dirname "$0")/../generate_secrets.py suitecrm
|
python $(dirname "$0")/../generate_secrets.py suitecrm
|
||||||
|
python $(dirname "$0")/../generate_secrets.py kimai
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: stackspin-suitecrm-variables
|
||||||
|
data:
|
||||||
|
password: "{{ 32 | generate_password | b64encode }}"
|
||||||
|
secret: "{{ 32 | generate_password | b64encode }}"
|
||||||
|
mariadb_password: "{{ 32 | generate_password | b64encode }}"
|
||||||
|
mariadb_root_password: "{{ 32 | generate_password | b64encode }}"
|
|
@ -3,6 +3,6 @@ kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: stackspin-suitecrm-variables
|
name: stackspin-suitecrm-variables
|
||||||
data:
|
data:
|
||||||
suitecrm_password: "{{ 32 | generate_password | b64encode }}"
|
password: "{{ 32 | generate_password | b64encode }}"
|
||||||
mariadb_password: "{{ 32 | generate_password | b64encode }}"
|
mariadb_password: "{{ 32 | generate_password | b64encode }}"
|
||||||
mariadb_root_password: "{{ 32 | generate_password | b64encode }}"
|
mariadb_root_password: "{{ 32 | generate_password | b64encode }}"
|
||||||
|
|
Loading…
Reference in New Issue