From e460b5324a8adb399f194b13ff1a21eec105af34 Mon Sep 17 00:00:00 2001 From: Remy Moll <me@moll.re> Date: Tue, 26 Mar 2024 10:55:25 +0100 Subject: [PATCH] try differently configured todos --- apps/todos/README.md | 6 ++++++ apps/todos/kustomization.yaml | 12 ++++++------ kluster-deployments/todos/application.yaml | 20 ++++++++++++++++---- 3 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 apps/todos/README.md diff --git a/apps/todos/README.md b/apps/todos/README.md new file mode 100644 index 0000000..9daade5 --- /dev/null +++ b/apps/todos/README.md @@ -0,0 +1,6 @@ +### Adding a user +```bash +kubectl exec -it -n todos deployments/todos-vikunja -- /app/vikunja/vikunja user create -u <username> -e "<user-email>" +``` + +Password will be prompted. diff --git a/apps/todos/kustomization.yaml b/apps/todos/kustomization.yaml index b659311..d64cccb 100644 --- a/apps/todos/kustomization.yaml +++ b/apps/todos/kustomization.yaml @@ -9,9 +9,9 @@ resources: - ingress.yaml -helmCharts: - - name: vikunja - version: 0.1.5 - repo: https://charts.oecis.io - valuesFile: values.yaml - releaseName: todos +# helmCharts: +# - name: vikunja +# version: 0.1.5 +# repo: https://charts.oecis.io +# valuesFile: values.yaml +# releaseName: todos diff --git a/kluster-deployments/todos/application.yaml b/kluster-deployments/todos/application.yaml index bfcd09e..782124d 100644 --- a/kluster-deployments/todos/application.yaml +++ b/kluster-deployments/todos/application.yaml @@ -6,10 +6,6 @@ metadata: spec: project: apps - source: - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git - targetRevision: main - path: apps/todos destination: server: https://kubernetes.default.svc namespace: todos @@ -17,3 +13,19 @@ spec: automated: prune: true selfHeal: true + sources: + - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git + targetRevision: main + path: apps/todos + ref: values + - repoUrl: oci://kolaente.dev/vikunja + chart: vikunja + # corresponds to oci://kolaente.dev/vikunja/vikunja + targetRevision: 0.4.3 + helm: + valuesFiles: + - $values/values.yaml + # creates the namespace etc. + - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git + targetRevision: main + path: apps/todos