Skip to content
Snippets Groups Projects
Commit cf4e7208 authored by xeruf's avatar xeruf
Browse files

time: add kimai

parent 64a5ba42
No related branches found
No related tags found
No related merge requests found
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: kimai
namespace: stackspout
spec:
releaseName: kimai
chart:
spec:
chart: kimai
version: 1.3.0
sourceRef:
kind: HelmRepository
name: robjuz
namespace: flux-system
interval: 5m
valuesFrom:
- kind: ConfigMap
name: stackspin-kimai-values
optional: false
# Allow overriding values by ConfigMap or Secret
- kind: ConfigMap
name: stackspin-kimai-override
optional: true
- kind: Secret
name: stackspin-kimai-override
optional: true
---
apiVersion: v1
kind: ConfigMap
metadata:
name: stackspin-kimai-values
namespace: stackspout
data:
values.yaml: |
# https://github.com/robjuz/helm-charts/tree/master/charts/kimai2
image:
# Maybe apache-latest?
tag: apache-1.20.4-prod
ingress:
enabled: true
certManager: true
tls: true
hostname: "time.${domain}"
# - name: Stackspin
# key: "${client_id}"
# secret: "${client_secret}"
# autoDiscoverUrl: 'https://sso.${domain}/.well-known/openid-configuration'
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: kimai
namespace: flux-system
spec:
interval: 30m
wait: true
timeout: 1h
dependsOn:
- name: single-sign-on
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/apps/time
prune: true
postBuild:
substituteFrom:
#- kind: Secret
# name: stackspin-kimai-variables
- kind: Secret
name: stackspin-kimai-oauth-variables
- kind: Secret
name: stackspin-cluster-variables
# For kimai2
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: robjuz
namespace: flux-system
spec:
interval: 60m
url: https://robjuz.github.io/helm-charts/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment