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

namespace: nextcloud

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

helmCharts:
  - name: keydb
    repo: https://enapter.github.io/charts/
    releaseName: nextcloud-keydb
    namespace: nextcloud
    version: "0.48.0"
    valuesFile: config/values.keydb.yaml
    skipTests: true
  - name: nextcloud
    repo: https://nextcloud.github.io/helm/
    releaseName: nextcloud
    namespace: nextcloud
    version: "6.2.4"
    valuesFile: config/values.nextcloud.yaml
    skipTests: true

resources:
  - "resources/namespace.yaml"

generators:
  - ./secret-generator.yaml