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

namespace: kube-system

resources:
  - crds/cert-manager.crds.yaml
  - resources/letsencrypt-staging.yaml
  - resources/letsencrypt-production.yaml
  - resources/secret.yaml

helmCharts:
  - name: cert-manager
    repo: https://charts.jetstack.io
    version: "v1.16.1"
    releaseName: cert-manager
    namespace: kube-system
    valuesFile: config/values.cert-manager.yaml
    apiVersions:
      - "cert-manager.io/v1"