now perhaps?

This commit is contained in:
Remy Moll 2024-03-26 11:16:33 +01:00
parent 588bf774f9
commit f4b99ca037
6 changed files with 87 additions and 29 deletions

View File

@ -15,3 +15,4 @@ resources:
# repo: https://charts.oecis.io
# valuesFile: values.yaml
# releaseName: todos
# managed by argocd directly

View File

@ -1,35 +1,75 @@
######################
# VIKUNJA COMPONENTS #
######################
# You can find the default values that this `values.yaml` overrides, in the comment at the top of this file.
api:
enabled: true
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: todos-nfs
# config:
# type: secret
# name: config.yml#
redis:
ingress:
main:
enabled: false
# annotations:
# # proxy-body-size is set to 0 to remove the body limit on file uploads
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
# hosts:
# - host: vikunja.local
# paths:
# - path: "/api/v1"
# tls: []
configMaps:
# The configuration for Vikunja's api.
# https://vikunja.io/docs/config-options/
config:
enabled: true
data:
config.yml: |
# Vikunja needs to know the frontend URL for password reset emails.
# So you might need to provide its value, if you're not using an ingress.
# service:
frontendUrl: https://todos.kluster.moll.re
database:
type: sqlite
registration: false
env:
frontend:
enabled: true
# You can add any of the top-level keys in the common chart's `values.yaml` to override them here.
# https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L393-L436
ingress:
main:
enabled: false
# annotations:
# # proxy-body-size is set to 0 to remove the body limit on file uploads
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
# hosts:
# # This is just an example. You should change this to your own domain.
# - host: vikunja.local
# paths:
# - path: "/"
# tls: []
# You only need to provide the URL to the API as environment variable here if you deviate from the "built-in" ingress in the api section.
env:
VIKUNJA_API_URL: https://todos.kluster.moll.re
postgresql:
enabled: false
config:
log:
level: ERROR
cache:
redis:
enabled: false
typesense:
enabled: true
env:
TYPESENSE_DATA_DIR: /data
TYPESENSE_API_KEY: typesense
persistence:
data:
# Enabling typesense persistence is recommended to avoid slow reindexing
enabled: false
db:
type: sqlite
# host: ""
# user: ""
# password: ""
# database: ""
# existingSecret: ""
# secretKeys:
# dbPasswordKey: user-password
publicUrl: https://todos.kluster.moll.re
registration: true
linkSharing: true
taskAttachments: true

View File

@ -37,4 +37,4 @@ resources:
- rss/
- syncthing/
- whoami/
- todos/application.yaml
- todos/

View File

@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: todos-application
namespace: argocd
spec:
project: apps
@ -16,16 +15,17 @@ spec:
sources:
- repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
targetRevision: main
path: apps/todos
# path: apps/todos
ref: values
- repoURL: oci://kolaente.dev/vikunja
- repoURL: kolaente.dev/vikunja
path: vikunja
chart: vikunja
# corresponds to oci://kolaente.dev/vikunja/vikunja
targetRevision: 0.4.3
helm:
valuesFiles:
- $values/values.yaml
releaseName: todos
valueFiles:
- $values/apps/todos/values.yaml
# creates the namespace etc.
- repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
targetRevision: main

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- repo.yaml

View File

@ -0,0 +1,12 @@
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"