some fixes

This commit is contained in:
Remy Moll 2024-12-02 14:32:37 +01:00
parent 11ad39805d
commit fbefead704
6 changed files with 21 additions and 70 deletions

View File

@ -32,11 +32,11 @@ spec:
- name: VIKUNJA_DATABASE_PATH - name: VIKUNJA_DATABASE_PATH
value: /app/vikunja/files/vikunja.db value: /app/vikunja/files/vikunja.db
- name: VIKUNJA_SERVICE_ENABLEREGISTRATION - name: VIKUNJA_SERVICE_ENABLEREGISTRATION
value: false value: "false"
- name: VIKUNJA_AUTH_LOCAL_ENABLED - name: VIKUNJA_AUTH_LOCAL_ENABLED
value: false value: "false"
- name: VIKUNJA_AUTH_OPENID_ENABLED - name: VIKUNJA_AUTH_OPENID_ENABLED
value: true value: "true"
envFrom: envFrom:
- secretRef: - secretRef:
name: todos-oidc name: todos-oidc
@ -47,7 +47,12 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /app/vikunja/files mountPath: /app/vikunja/files
- name: placeholder-config
mountPath: /app/vikunja
volumes: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: data claimName: data
- name: placeholder-config
configMap:
name: placeholder-config

View File

@ -7,6 +7,7 @@ resources:
- namespace.yaml - namespace.yaml
- pvc.yaml - pvc.yaml
- todos-oidc.sealedsecret.yaml - todos-oidc.sealedsecret.yaml
- placeholder-config.configmap.yaml
- deployment.yaml - deployment.yaml
- service.yaml - service.yaml
- ingress.yaml - ingress.yaml

View File

@ -0,0 +1,12 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: placeholder-config
data:
config.yml: |
auth:
openid:
enabled: true
providers:
authelia:
name: authelia

View File

@ -1,54 +0,0 @@
######################
# VIKUNJA COMPONENTS #
######################
image:
tag: 0.22.1
# You can find the default values that this `values.yaml` overrides, in the comment at the top of this file.
api:
enabled: true
image:
tag: 0.22.1
persistence:
# This is your Vikunja data will live, you can either let
# the chart create a new PVC for you or provide an existing one.
data:
enabled: true
existingClaim: data
accessMode: ReadWriteOnce
size: 10Gi
mountPath: /app/vikunja/files
ingress:
main:
enabled: false
configMaps:
# The configuration for Vikunja's api.
# https://vikunja.io/docs/config-options/
config:
enabled: true
data:
config.yml: |
service:
frontendUrl: https://todos.kluster.moll.re
database:
type: sqlite
path: /app/vikunja/files/vikunja.db
registration: false
frontend:
enabled: true
image:
tag: 0.22.1
ingress:
main:
enabled: false
postgresql:
enabled: false
redis:
enabled: false
typesense:
enabled: false

View File

@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- application.yaml - application.yaml
# - repo.yaml

View File

@ -1,12 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: repository
name: kolaente-helm-oci
stringData:
url: kolaente.dev/vikunja
name: vikunja
type: helm
enableOCI: "true"