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

namespace: umami

images:
  - name: umami
    newName: ghcr.io/umami-software/umami
    newTag: postgresql-v2.12.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/deployment.yaml"
  - "resources/service.yaml"
  - "resources/http_route.yaml"

configMapGenerator:
  - name: umami-config
    envs:
      - config/umami.env