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