Closed jandubois closed 3 weeks ago
For example (using spinkube operator 0.4.0):
$ spin kube --version kube version 0.3.0 $ spin kube deploy --from ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.13.0 Error: no matches for kind "SpinApp" in version "core.spinoperator.dev/v1alpha1" Usage: kube deploy [flags] …
Using the --dry-run option and piping into kubectl apply -f - works.
--dry-run
kubectl apply -f -
I believe the root cause is that the plugin still links to spin-operator 0.1.0 in the go.mod file: https://github.com/spinkube/spin-plugin-kube/blob/6f4c9c63ec3210680284c717a69906554912bcbe/go.mod#L13
spin-operator
go.mod
Yes, that would indeed be the issue. Thanks for catching this.
For example (using spinkube operator 0.4.0):
Using the
--dry-run
option and piping intokubectl apply -f -
works.I believe the root cause is that the plugin still links to
spin-operator
0.1.0 in thego.mod
file: https://github.com/spinkube/spin-plugin-kube/blob/6f4c9c63ec3210680284c717a69906554912bcbe/go.mod#L13