mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ vikunja app-template v2
This commit is contained in:
@@ -10,7 +10,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: bjw-s
|
||||||
@@ -27,27 +27,53 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
initContainers:
|
controllers:
|
||||||
01-init-db:
|
main:
|
||||||
image: ghcr.io/auricom/postgres-init:15.4
|
type: statefulset
|
||||||
imagePullPolicy: IfNotPresent
|
annotations:
|
||||||
envFrom: &envFrom
|
reloader.stakater.com/auto: "true"
|
||||||
- secretRef:
|
configmap.reloader.stakater.com/reload: "lidarr-pushover"
|
||||||
name: &secret vikunja-secret
|
initContainers:
|
||||||
controller:
|
init-db:
|
||||||
annotations:
|
image:
|
||||||
reloader.stakater.com/auto: "true"
|
repository: ghcr.io/auricom/postgres-init
|
||||||
strategy: Recreate
|
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
|
||||||
image:
|
pullPolicy: IfNotPresent
|
||||||
repository: caddy
|
envFrom: &envFrom
|
||||||
tag: 2.7.5-alpine
|
- secretRef:
|
||||||
envFrom:
|
name: vikunja-secret
|
||||||
- secretRef:
|
containers:
|
||||||
name: vikunja-secret
|
main:
|
||||||
env:
|
image:
|
||||||
VIKUNJA_MAILER_HOST: smtp-relay.default.svc.cluster.local.
|
repository: vikunja/api
|
||||||
VIKUNJA_MAILER_PORT: "2525"
|
tag: 0.21.0
|
||||||
VIKUNJA_MAILER_FROMEMAIL: Vikunja <vikunja@${SECRET_DOMAIN}>
|
envFrom: *envFrom
|
||||||
|
env:
|
||||||
|
VIKUNJA_MAILER_HOST: smtp-relay.default.svc.cluster.local.
|
||||||
|
VIKUNJA_MAILER_PORT: "2525"
|
||||||
|
VIKUNJA_MAILER_FROMEMAIL: Vikunja <vikunja@${SECRET_DOMAIN}>
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 5m
|
||||||
|
memory: 10Mi
|
||||||
|
limits:
|
||||||
|
memory: 100Mi
|
||||||
|
frontend:
|
||||||
|
image:
|
||||||
|
repository: vikunja/frontend
|
||||||
|
tag: 0.21.0
|
||||||
|
proxy:
|
||||||
|
image:
|
||||||
|
repository: caddy
|
||||||
|
tag: 2.7.5-alpine
|
||||||
|
statefulset:
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- name: config
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 1Gi
|
||||||
|
storageClass: rook-ceph-block
|
||||||
|
globalMounts:
|
||||||
|
- path: /app/vikunja/files
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
@@ -56,7 +82,7 @@ spec:
|
|||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: "nginx"
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.home.arpa/enabled: "true"
|
external-dns.home.arpa/enabled: "true"
|
||||||
hajimari.io/icon: mdi:format-list-checks
|
hajimari.io/icon: mdi:format-list-checks
|
||||||
@@ -64,48 +90,22 @@ spec:
|
|||||||
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
service:
|
||||||
|
name: main
|
||||||
|
port: http
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- *host
|
- *host
|
||||||
persistence:
|
persistence:
|
||||||
files:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: vikunja-files
|
|
||||||
mountpath: /app/vikunja/files
|
|
||||||
caddy-config:
|
caddy-config:
|
||||||
enabled: "true"
|
type: configMap
|
||||||
mountPath: /etc/caddy/Caddyfile
|
name: vikunja-configmap
|
||||||
subPath: Caddyfile
|
globalMounts:
|
||||||
type: "custom"
|
- path: /etc/caddy/Caddyfile
|
||||||
volumeSpec:
|
subPath: Caddyfile
|
||||||
configMap:
|
|
||||||
name: vikunja-configmap
|
|
||||||
vikunja-config:
|
vikunja-config:
|
||||||
enabled: "true"
|
type: configMap
|
||||||
mountPath: /etc/vikunja/config.yml
|
name: vikunja-configmap
|
||||||
subPath: Vikunja.yaml
|
globalMounts:
|
||||||
type: "custom"
|
- path: /etc/vikunja/config.yml
|
||||||
volumeSpec:
|
|
||||||
configMap:
|
|
||||||
name: vikunja-configmap
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 5m
|
|
||||||
memory: 10Mi
|
|
||||||
limits:
|
|
||||||
memory: 100Mi
|
|
||||||
additionalContainers:
|
|
||||||
api:
|
|
||||||
name: api
|
|
||||||
image: vikunja/api:0.21.0
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
envFrom: *envFrom
|
|
||||||
volumeMounts:
|
|
||||||
- name: vikunja-config
|
|
||||||
mountPath: /etc/vikunja/config.yml
|
|
||||||
subPath: Vikunja.yaml
|
subPath: Vikunja.yaml
|
||||||
frontend:
|
|
||||||
name: frontend
|
|
||||||
image: vikunja/frontend:0.21.0
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
|
Reference in New Issue
Block a user