Skip to content

Commit 93ebec4

Browse files
adamreesecalebschoepp
authored andcommitted
Change CRD domain to spinkube.dev
REF: spinframework/skips#5 spinframework/spin-operator#271 Signed-off-by: Adam Reese <[email protected]> Signed-off-by: Matthew Fisher <[email protected]>
1 parent 096ef07 commit 93ebec4

18 files changed

+33
-33
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: 1 addition & 1 deletion
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>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SpinApp is the Schema for the spinapps 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>

content/en/docs/topics/assigning-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ The deployment manifest (`config/samples/variable-explorer.yaml`) specifies a st
110110

111111
```yaml
112112
kind: SpinApp
113-
apiVersion: core.spinoperator.dev/v1alpha1
113+
apiVersion: core.spinkube.dev/v1alpha1
114114
metadata:
115115
name: variable-explorer
116116
spec:
@@ -145,7 +145,7 @@ kubectl apply -f config/samples/variable-explorer.yaml
145145
146146
configmap/spinapp-cfg created
147147
secret/spinapp-secret created
148-
spinapp.core.spinoperator.dev/variable-explorer created
148+
spinapp.core.spinkube.dev/variable-explorer created
149149
```
150150

151151
## Inspecting runtime logs of your SpinApp
@@ -171,7 +171,7 @@ Hello from Kubernetes
171171
Finally, you can use `kubectl logs` to see all logs produced by the variable-explorer at runtime:
172172

173173
```bash
174-
kubectl logs -l core.spinoperator.dev/app-name=variable-explorer
174+
kubectl logs -l core.spinkube.dev/app-name=variable-explorer
175175
176176
# Log Level: INFO
177177
# Platform Name: Kubernetes

content/en/docs/topics/autoscaling/scaling-with-hpa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ application and we will scale the instance count when we’ve reached a 50% util
144144
10 and a minimum replica count of 1:
145145

146146
```yaml
147-
apiVersion: core.spinoperator.dev/v1alpha1
147+
apiVersion: core.spinkube.dev/v1alpha1
148148
kind: SpinApp
149149
metadata:
150150
name: hpa-spinapp
@@ -190,7 +190,7 @@ For more information about HPA, please visit the following links:
190190
Below is an example of the configuration to scale resources:
191191
192192
```yaml
193-
apiVersion: core.spinoperator.dev/v1alpha1
193+
apiVersion: core.spinkube.dev/v1alpha1
194194
kind: SpinApp
195195
metadata:
196196
name: hpa-spinapp

content/en/docs/topics/autoscaling/scaling-with-keda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ below. As you can see, we have explicitly specified resource limits to `500m` of
160160

161161
```yaml
162162
# https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/keda-app.yaml
163-
apiVersion: core.spinoperator.dev/v1alpha1
163+
apiVersion: core.spinkube.dev/v1alpha1
164164
kind: SpinApp
165165
metadata:
166166
name: keda-spinapp
@@ -212,7 +212,7 @@ command:
212212
```console
213213
# Deploy the SpinApp
214214
kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/keda-app.yaml
215-
spinapp.core.spinoperator.dev/keda-spinapp created
215+
spinapp.core.spinkube.dev/keda-spinapp created
216216

217217
# Deploy the ScaledObject
218218
kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/keda-scaledobject.yaml

0 commit comments

Comments
 (0)