apps/do: add vikunja with new structure
This commit is contained in:
parent
cbeeb03e5d
commit
7431bda550
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: add-do
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
prune: true
|
||||||
|
path: ./apps/do
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: stackspout
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- vikunja-kustomization.yaml
|
||||||
|
- vikunja-secrets-kustomization.yaml
|
|
@ -1,26 +1,34 @@
|
||||||
|
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: vikunja
|
name: vikunja
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 10m
|
interval: 5m
|
||||||
retryInterval: 2m
|
retryInterval: 2m
|
||||||
|
timeout: 10m
|
||||||
wait: true
|
wait: true
|
||||||
timeout: 3m
|
prune: true
|
||||||
dependsOn:
|
path: ./apps/do/vikunja
|
||||||
- name: single-sign-on
|
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: stackspout
|
name: stackspout
|
||||||
path: ./apps/do
|
dependsOn:
|
||||||
prune: true
|
- name: flux
|
||||||
|
- name: local-path-provisioner
|
||||||
|
- name: vikunja-secrets
|
||||||
|
- name: nginx
|
||||||
|
- name: single-sign-on
|
||||||
postBuild:
|
postBuild:
|
||||||
substituteFrom:
|
substituteFrom:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspin-vikunja-variables
|
name: stackspin-cluster-variables
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: stackspin-vikunja-kustomization-variables
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspout-vikunja-variables
|
||||||
|
# OIDC
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspin-vikunja-oauth-variables
|
name: stackspin-vikunja-oauth-variables
|
||||||
- kind: Secret
|
- kind: ConfigMap
|
||||||
name: stackspin-cluster-variables
|
name: stackspin-single-sign-on-kustomization-variables
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: vikunja-secrets
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 4m
|
||||||
|
wait: true
|
||||||
|
prune: true
|
||||||
|
path: ./apps/do/vikunja-secrets
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: stackspout
|
||||||
|
dependsOn:
|
||||||
|
- name: flux
|
||||||
|
- name: secrets-controller
|
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: stackspin-vikunja-kustomization-variables
|
||||||
|
namespace: flux-system
|
||||||
|
data:
|
||||||
|
vikunja_domain: do.${domain}
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
|
kind: StringSecret
|
||||||
|
metadata:
|
||||||
|
name: stackspin-vikunja-oauth-variables
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
data:
|
||||||
|
client_id: vikunja
|
||||||
|
fields:
|
||||||
|
- fieldName: client_secret
|
||||||
|
length: "32"
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: vikunja
|
chart: vikunja
|
||||||
version: 0.4.1
|
version: 0.4.2
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: vikunja
|
name: vikunja
|
||||||
|
|
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: stackspin-vikunja-values
|
name: stackspin-vikunja-values
|
||||||
namespace: stackspout
|
namespace: stackspout
|
||||||
data:
|
data:
|
||||||
# https://github.com/truecharts/charts/blob/master/charts/stable/vikunja/values.yaml
|
# https://kolaente.dev/vikunja/helm-chart/src/branch/main/values.yaml
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
frontend:
|
frontend:
|
||||||
image:
|
image:
|
||||||
|
@ -24,6 +24,9 @@ data:
|
||||||
hosts:
|
hosts:
|
||||||
- "do.${domain}"
|
- "do.${domain}"
|
||||||
api:
|
api:
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
existingClaim: vikunja-files
|
||||||
image:
|
image:
|
||||||
tag: unstable
|
tag: unstable
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
@ -86,10 +89,13 @@ data:
|
||||||
week_start: 1
|
week_start: 1
|
||||||
timezone: CET
|
timezone: CET
|
||||||
# TODO default_project_id
|
# TODO default_project_id
|
||||||
#persistence:
|
global:
|
||||||
# files:
|
labels:
|
||||||
# labels:
|
stackspin.net/backupSet: "vikunja"
|
||||||
# stackspin.net/backupSet: "vikunja"
|
podLabels:
|
||||||
|
stackspin.net/backupSet: "vikunja"
|
||||||
|
podAnnotations:
|
||||||
|
backup.velero.io/backup-volumes: "data"
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
global:
|
global:
|
||||||
|
|
Loading…
Reference in New Issue