time: add kimai
This commit is contained in:
parent
64a5ba421b
commit
cf4e720831
|
@ -0,0 +1,27 @@
|
|||
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
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
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'
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
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
|
|
@ -0,0 +1,9 @@
|
|||
# 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/
|
Loading…
Reference in New Issue