From 813ecd3bf5c0849b03144752bbc2d7f6e7b005d1 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 5 Nov 2024 19:07:14 +0100 Subject: [PATCH] feat: deploy spinkube operator --- spinkube/kustomization.yaml | 23 +++++++++++++++++++++++ spinkube/resources/namespace.yaml | 7 +++++++ 2 files changed, 30 insertions(+) create mode 100644 spinkube/kustomization.yaml create mode 100644 spinkube/resources/namespace.yaml diff --git a/spinkube/kustomization.yaml b/spinkube/kustomization.yaml new file mode 100644 index 0000000..1edf596 --- /dev/null +++ b/spinkube/kustomization.yaml @@ -0,0 +1,23 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: spin-system + +resources: + - resources/namespace.yaml + - https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml + - https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml + - https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml + +helmCharts: + - name: kwasm-operator + repo: https://kwasm.sh/kwasm-operator/ + namespace: spin-system + version: "0.2.3" + includeCRDs: true + + - name: spin-operator + repo: oci://ghcr.io/spinkube/charts + namespace: spin-system + version: "0.3.0" + includeCRDs: true diff --git a/spinkube/resources/namespace.yaml b/spinkube/resources/namespace.yaml new file mode 100644 index 0000000..97b6157 --- /dev/null +++ b/spinkube/resources/namespace.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: spin-system + labels: + prometheus: default