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

namespace: kube-system

resources:
- resources/storageclass.xfs.yaml
- resources/secret.hcloud.yaml

helmCharts:
  - name: hcloud-cloud-controller-manager
    repo: https://charts.hetzner.cloud
    releaseName: hccm
    namespace: kube-system
    version: "1.20.0"
    valuesFile: config/values.ccm.yaml

  - name: hcloud-csi
    repo: https://charts.hetzner.cloud
    releaseName: hcloud-csi-driver
    namespace: kube-system
    version: "2.9.0"
    valuesFile: config/values.csi.yaml