From 508a9c2ab41cf5c2a6abad6f0c1cd3485f84f798 Mon Sep 17 00:00:00 2001 From: JethroC Admin Date: Wed, 11 Mar 2026 21:41:14 +1300 Subject: [PATCH] added kimai via helmrepo and helm release --- apps/kimai/helmrelease.yaml | 20 ++++++++++++++++++++ apps/kimai/helmrepository.yaml | 8 ++++++++ apps/kimai/kustomization.yaml | 9 +++++++++ apps/kimai/namespace.yaml | 4 ++++ apps/kimai/values.yaml | 24 ++++++++++++++++++++++++ 5 files changed, 65 insertions(+) create mode 100644 apps/kimai/helmrelease.yaml create mode 100644 apps/kimai/helmrepository.yaml create mode 100644 apps/kimai/kustomization.yaml create mode 100644 apps/kimai/namespace.yaml create mode 100644 apps/kimai/values.yaml diff --git a/apps/kimai/helmrelease.yaml b/apps/kimai/helmrelease.yaml new file mode 100644 index 0000000..e3b23bf --- /dev/null +++ b/apps/kimai/helmrelease.yaml @@ -0,0 +1,20 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +***REMOVED*** + name: kimai2 + namespace: kimai +spec: + interval: 30m + + chart: + spec: + chart: kimai2 + version: "*" + sourceRef: + kind: HelmRepository + name: kimai2 + namespace: flux-system + + valuesFrom: + - kind: ConfigMap + name: kimai-values \ No newline at end of file diff --git a/apps/kimai/helmrepository.yaml b/apps/kimai/helmrepository.yaml new file mode 100644 index 0000000..2ee86b1 --- /dev/null +++ b/apps/kimai/helmrepository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +***REMOVED*** + name: kimai2 + namespace: flux-system +spec: + interval: 12h + url: https://robjuz.github.io/helm-charts/ diff --git a/apps/kimai/kustomization.yaml b/apps/kimai/kustomization.yaml new file mode 100644 index 0000000..897c267 --- /dev/null +++ b/apps/kimai/kustomization.yaml @@ -0,0 +1,9 @@ +resources: +- namespace.yaml +- helmrepository.yaml +- helmrelease.yaml + +configMapGenerator: +- name: kimai-values + files: + - values.yaml \ No newline at end of file diff --git a/apps/kimai/namespace.yaml b/apps/kimai/namespace.yaml new file mode 100644 index 0000000..1bab0fa --- /dev/null +++ b/apps/kimai/namespace.yaml @@ -0,0 +1,4 @@ +***REMOVED*** +kind: Namespace +***REMOVED*** + name: kimai \ No newline at end of file diff --git a/apps/kimai/values.yaml b/apps/kimai/values.yaml new file mode 100644 index 0000000..117f18f --- /dev/null +++ b/apps/kimai/values.yaml @@ -0,0 +1,24 @@ +ingress: + enabled: true + className: nginx + + hosts: + - host: kimai.local + paths: + - path: / + pathType: Prefix + +persistence: + enabled: true + size: 10Gi + +database: + type: mariadb + +mariadb: + enabled: true + auth: + rootPassword: j6drtf47 + database: kimai + username: kimai + password: kimai \ No newline at end of file