apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: vikunja

images:
  - name: vikunja-api
    newName: docker.io/vikunja/api
    newTag: "0.22.1"
  - name: vikunja-ui
    newName: docker.io/vikunja/frontend
    newTag: "0.22.1"

labels:
- includeSelectors: true
  pairs:
    app.kubernetes.io/instance: icb4dc0de
    app.kubernetes.io/managed-by: kustomize

resources:
  - resources/namespace.yaml
  - resources/db/db.yaml
  - resources/db/user.yaml
  - resources/api/dragonfly.yaml
  - resources/api/pvc.yaml
  - resources/api/deployment.yaml
  - resources/api/service.yaml
  - resources/ui/deployment.yaml
  - resources/ui/service.yaml
  - resources/http_routes.yaml

secretGenerator:
  - name: vikunja-api-config
    files:
      - "config/config.yml"