Skip to content

Commit d66970b

Browse files
authored
Merge pull request #240 from adamreese/crd-domain
Change CRD domain to spinkube.dev
2 parents 096ef07 + 9cdbe99 commit d66970b

19 files changed

+185
-168
lines changed

content/en/docs/contrib/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator
1616
command:
1717

1818
```console
19-
Error from server (InternalError): error when creating "https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml": Internal error occurred: failed calling webhook "mspinappexecutor.kb.io": failed to call webhook: Post "https://spin-operator-webhook-service.spin-operator.svc:443/mutate-core-spinoperator-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service"
19+
Error from server (InternalError): error when creating "https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml": Internal error occurred: failed calling webhook "mspinappexecutor.kb.io": failed to call webhook: Post "https://spin-operator-webhook-service.spin-operator.svc:443/mutate-core-spinkube-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service"
2020
```
2121

2222
To address the error above, first look to see if Spin Operator is running:

content/en/docs/glossary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SpinApp CRD consists of several key fields that define the desired state of a Sp
7474
Here's an example of a SpinApp custom resource that uses the SpinApp CRD schema:
7575

7676
```yaml
77-
apiVersion: core.spinoperator.dev/v1alpha1
77+
apiVersion: core.spinkube.dev/v1alpha1
7878
kind: SpinApp
7979
metadata:
8080
name: simple-spinapp
@@ -91,7 +91,7 @@ You can modify the example above to customize the SpinApp via a YAML file. Here'
9191
file with additional customization options:
9292
9393
```yaml
94-
apiVersion: core.spinoperator.dev/v1alpha1
94+
apiVersion: core.spinkube.dev/v1alpha1
9595
kind: SpinApp
9696
metadata:
9797
name: simple-spinapp

content/en/docs/install/linode-kubernetes-engine.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ $ spin kube scaffold --from ghcr.io/spinkube/containerd-shim-spin/examples/spin-
114114
This will write the following to `hello-world.yaml`:
115115

116116
```yaml
117-
apiVersion: core.spinoperator.dev/v1alpha1
117+
apiVersion: core.spinkube.dev/v1alpha1
118118
kind: SpinApp
119119
metadata:
120120
name: spin-rust-hello
@@ -128,7 +128,7 @@ Using `kubectl apply`, we can deploy that app:
128128

129129
```console
130130
$ kubectl apply -f hello-world.yaml
131-
spinapp.core.spinoperator.dev/spin-rust-hello created
131+
spinapp.core.spinkube.dev/spin-rust-hello created
132132
```
133133

134134
With SpinKube, SpinApps will be deployed as `Pod` resources, so we can see the app using `kubectl
@@ -157,7 +157,7 @@ metadata:
157157
annotations:
158158
service.beta.kubernetes.io/linode-loadbalancer-throttle: "4"
159159
labels:
160-
core.spinoperator.dev/app-name: spin-rust-hello
160+
core.spinkube.dev/app-name: spin-rust-hello
161161
spec:
162162
type: LoadBalancer
163163
ports:
@@ -166,7 +166,7 @@ spec:
166166
protocol: TCP
167167
targetPort: 80
168168
selector:
169-
core.spinoperator.dev/app.spin-rust-hello.status: ready
169+
core.spinkube.dev/app.spin-rust-hello.status: ready
170170
sessionAffinity: None
171171
```
172172

@@ -209,7 +209,7 @@ To delete this sample app, we will first delete the NodeBalancer, and then delet
209209
$ kubectl delete service spin-rust-hello-nodebalancer
210210
service "spin-rust-hello-nodebalancer" deleted
211211
$ kubectl delete spinapp spin-rust-hello
212-
spinapp.core.spinoperator.dev "spin-rust-hello" deleted
212+
spinapp.core.spinkube.dev "spin-rust-hello" deleted
213213
```
214214

215215
> If you delete the NodeBalancer out of the Linode console, it will not automatically delete the

content/en/docs/install/microk8s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $ microk8s kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-oper
116116
The above installs a simple `SpinApp` YAML that looks like this:
117117

118118
```yaml
119-
apiVersion: core.spinoperator.dev/v1alpha1
119+
apiVersion: core.spinkube.dev/v1alpha1
120120
kind: SpinApp
121121
metadata:
122122
name: simple-spinapp

content/en/docs/install/rancher-desktop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Replace `ttl.sh/hello-k3s:0.1.0` with your registry URL and tag.
9191
```bash
9292
$ spin kube scaffold --from ttl.sh/hello-k3s:0.1.0
9393

94-
apiVersion: core.spinoperator.dev/v1alpha1
94+
apiVersion: core.spinkube.dev/v1alpha1
9595
kind: SpinApp
9696
metadata:
9797
name: hello-k3s

content/en/docs/reference/spin-app-executor.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SpinAppExecutor is the Schema for the spinappexecutors API
2525
<tbody><tr>
2626
<td><b>apiVersion</b></td>
2727
<td>string</td>
28-
<td>core.spinoperator.dev/v1alpha1</td>
28+
<td>core.spinkube.dev/v1alpha1</td>
2929
<td>true</td>
3030
</tr>
3131
<tr>
@@ -109,14 +109,6 @@ createDeployment is true.
109109
</tr>
110110
</thead>
111111
<tbody><tr>
112-
<td><b>runtimeClassName</b></td>
113-
<td>string</td>
114-
<td>
115-
RuntimeClassName is the runtime class name that should be used by pods created
116-
as part of a deployment.<br/>
117-
</td>
118-
<td>true</td>
119-
</tr><tr>
120112
<td><b>caCertSecret</b></td>
121113
<td>string</td>
122114
<td>
@@ -141,6 +133,25 @@ defined in `CACertSecret` the secret name will be `spin-ca`.<br/>
141133
Otel provides Kubernetes Bindings to Otel Variables.<br/>
142134
</td>
143135
<td>false</td>
136+
</tr><tr>
137+
<td><b>runtimeClassName</b></td>
138+
<td>string</td>
139+
<td>
140+
RuntimeClassName is the runtime class name that should be used by pods created
141+
as part of a deployment. This should only be defined when SpintainerImage is not defined.<br/>
142+
</td>
143+
<td>false</td>
144+
</tr><tr>
145+
<td><b>spinImage</b></td>
146+
<td>string</td>
147+
<td>
148+
SpinImage points to an image that will run Spin in a container to execute
149+
your SpinApp. This is an alternative to using the shim to execute your
150+
SpinApp. This should only be defined when RuntimeClassName is not
151+
defined. When specified, application images must be available without
152+
authentication.<br/>
153+
</td>
154+
<td>false</td>
144155
</tr></tbody>
145156
</table>
146157

0 commit comments

Comments
 (0)