Skip to content

Commit 7c1b8d8

Browse files
Merge pull request #446 from kate-goldenring/fix-shim-publishing
fix: publish shim with spin-v2 naming
2 parents 7686872 + 9fd9e0b commit 7c1b8d8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/generate-shim-resource.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ cat > "${OUTPUT_FILE}" <<EOF
3737
apiVersion: runtime.spinkube.dev/${CRD_VERSION}
3838
kind: Shim
3939
metadata:
40-
name: spin
40+
name: spin-v2
4141
labels:
42-
app.kubernetes.io/name: spin
43-
app.kubernetes.io/instance: spin
42+
app.kubernetes.io/name: spin-v2
43+
app.kubernetes.io/instance: spin-v2
4444
app.kubernetes.io/part-of: runtime-class-manager
4545
spec:
4646
nodeSelector:
@@ -69,7 +69,7 @@ spec:
6969
# Note: this name is used by the Spin Operator project as its default:
7070
# https://github.com/spinframework/spin-operator/blob/main/config/samples/spin-shim-executor.yaml
7171
name: wasmtime-spin-v2
72-
handler: spin
72+
handler: spin-v2
7373
7474
rolloutStrategy:
7575
type: recreate

0 commit comments

Comments
 (0)