Skip to content

Commit

Permalink
Merge pull request #17 from spinkube/fix-missing-executor
Browse files Browse the repository at this point in the history
add missing executor
  • Loading branch information
bacongobbler authored Feb 20, 2024
2 parents 3d68660 + d92753d commit ad2c7d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ metadata:
spec:
image: "{{ .Image }}"
replicas: {{ .Replicas }}
executor: containerd-shim-spin
{{- if .RuntimeConfig }}
runtimeConfig:
loadFromSecret: {{ .Name }}-runtime-config
Expand Down
1 change: 1 addition & 0 deletions pkg/cmd/testdata/scaffold_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ metadata:
spec:
image: "ghcr.io/foo/example-app:v0.1.0"
replicas: 2
executor: containerd-shim-spin
1 change: 1 addition & 0 deletions pkg/cmd/testdata/scaffold_runtime_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
image: "ghcr.io/foo/example-app:v0.1.0"
replicas: 2
executor: containerd-shim-spin
runtimeConfig:
loadFromSecret: example-app-runtime-config
---
Expand Down

0 comments on commit ad2c7d1

Please sign in to comment.