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

namespace: spin-system

resources:
  - resources/namespace.yaml
  - https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.crds.yaml
  - https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.runtime-class.yaml
  - https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.shim-executor.yaml

helmCharts:
  - name: spin-operator
    repo: oci://ghcr.io/spinkube/charts
    releaseName: spin-operator
    namespace: spin-system
    version: "0.4.0"
    includeCRDs: true