⬆️ vikunja app-template v2

This commit is contained in:
auricom
2023-11-04 16:35:09 +01:00
parent 43131159a2
commit 3393ed72d3

View File

@@ -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
envFrom: &envFrom
- secretRef:
name: &secret vikunja-secret
controller:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
strategy: Recreate configmap.reloader.stakater.com/reload: "lidarr-pushover"
initContainers:
init-db:
image: image:
repository: caddy repository: ghcr.io/auricom/postgres-init
tag: 2.7.5-alpine tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
envFrom: pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef: - secretRef:
name: vikunja-secret name: vikunja-secret
containers:
main:
image:
repository: vikunja/api
tag: 0.21.0
envFrom: *envFrom
env: env:
VIKUNJA_MAILER_HOST: smtp-relay.default.svc.cluster.local. VIKUNJA_MAILER_HOST: smtp-relay.default.svc.cluster.local.
VIKUNJA_MAILER_PORT: "2525" VIKUNJA_MAILER_PORT: "2525"
VIKUNJA_MAILER_FROMEMAIL: Vikunja <vikunja@${SECRET_DOMAIN}> 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
globalMounts:
- path: /etc/caddy/Caddyfile
subPath: Caddyfile subPath: Caddyfile
type: "custom"
volumeSpec:
configMap:
name: vikunja-configmap
vikunja-config: vikunja-config:
enabled: "true" type: configMap
mountPath: /etc/vikunja/config.yml
subPath: Vikunja.yaml
type: "custom"
volumeSpec:
configMap:
name: vikunja-configmap name: vikunja-configmap
resources: globalMounts:
requests: - path: /etc/vikunja/config.yml
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