From 3ec96dabd6d6009ad80cd3610201b4c0db1930ae Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 26 Apr 2025 11:56:12 +0200 Subject: [PATCH] Fix memos values in badhouseplants Signed-off-by: Nikolai Rodionov --- helmfiles/badhouseplants-applications.yaml | 2 +- .../applications/memos/values.yaml | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 values/badhouseplants/applications/memos/values.yaml diff --git a/helmfiles/badhouseplants-applications.yaml b/helmfiles/badhouseplants-applications.yaml index 265667c..443f6ac 100644 --- a/helmfiles/badhouseplants-applications.yaml +++ b/helmfiles/badhouseplants-applications.yaml @@ -82,7 +82,7 @@ releases: version: 0.4.0 namespace: applications inherit: - - template: default-env-values + - template: env-values - template: ext-database - name: badhouseplants-net diff --git a/values/badhouseplants/applications/memos/values.yaml b/values/badhouseplants/applications/memos/values.yaml new file mode 100644 index 0000000..05251d8 --- /dev/null +++ b/values/badhouseplants/applications/memos/values.yaml @@ -0,0 +1,35 @@ +shortcuts: + hostname: notes.badhouseplants.net +ext-database: + enabled: true + name: memos-postgres16 + instance: postgres16 + credentials: + MEMOS_DRIVER: postgres + MEMOS_DSN: "{{ .Protocol }}://{{ .Username }}:{{ .Password }}@{{ .Hostname }}:{{ .Port }}/{{ .Database }}?sslmode=disable" +base: + workload: + containers: + memos: + envFrom: + main: {} + raw: + - secretRef: + name: memos-postgres16-creds + +storage: + data: + metadata: + annotations: + volume.kubernetes.io/selected-node: bordeaux + storageClassName: openebs-hostpath +ingress: + main: + metadata: + annotations: + kubernetes.io/ingress.class: traefik + kubernetes.io/tls-acme: "true" + kubernetes.io/ingress.allow-http: "false" + kubernetes.io/ingress.global-static-ip-name: "" + cert-manager.io/cluster-issuer: badhouseplants-issuer-http01 + traefik.ingress.kubernetes.io/router.entrypoints: web,websecure