Skip to content

Commit e60800f

Browse files
Andrew Steurercalebschoepp
authored andcommitted
Update the domain from 'spinoperator.dev' to 'spinkube.dev'
Signed-off-by: Andrew Steurer <[email protected]> Signed-off-by: Caleb Schoepp <[email protected]>
1 parent 1196fce commit e60800f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+97
-97
lines changed

PROJECT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is used to track the info used to scaffold your project
33
# and allow the plugins properly work.
44
# More info: https://book.kubebuilder.io/reference/project-config.html
5-
domain: spinoperator.dev
5+
domain: spinkube.dev
66
layout:
77
- go.kubebuilder.io/v4
88
projectName: spin-operator
@@ -12,7 +12,7 @@ resources:
1212
crdVersion: v1
1313
namespaced: true
1414
controller: true
15-
domain: spinoperator.dev
15+
domain: spinkube.dev
1616
group: core
1717
kind: SpinApp
1818
path: github.com/spinkube/spin-operator/api/v1alpha1
@@ -25,7 +25,7 @@ resources:
2525
crdVersion: v1
2626
namespaced: true
2727
controller: true
28-
domain: spinoperator.dev
28+
domain: spinkube.dev
2929
group: core
3030
kind: SpinAppExecutor
3131
path: github.com/spinkube/spin-operator/api/v1alpha1

api/v1alpha1/groupversion_info.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
// Package v1alpha1 contains API Schema definitions for the spin v1alpha1 API group
1818
// +kubebuilder:object:generate=true
19-
// +groupName=core.spinoperator.dev
19+
// +groupName=core.spinkube.dev
2020
package v1alpha1
2121

2222
import (
@@ -26,7 +26,7 @@ import (
2626

2727
var (
2828
// GroupVersion is group version used to register these objects
29-
GroupVersion = schema.GroupVersion{Group: "core.spinoperator.dev", Version: "v1alpha1"}
29+
GroupVersion = schema.GroupVersion{Group: "core.spinkube.dev", Version: "v1alpha1"}
3030

3131
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
3232
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

apps/redis-sample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is an OCI-compliant package that can be used to demonstrate how a Spin app
99
Create a Kubernetes manifest file named `redis_client.yaml` with the following code:
1010

1111
```yaml
12-
apiVersion: core.spinoperator.dev/v1alpha1
12+
apiVersion: core.spinkube.dev/v1alpha1
1313
kind: SpinApp
1414
metadata:
1515
name: redis-spinapp

charts/spin-operator/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Prior to installing the chart, you'll need to ensure the following:
1717
- spin-operator CustomResourceDefinition (CRD) resources are installed. This includes the SpinApp CRD representing Spin applications to be scheduled on the cluster.
1818

1919
```console
20-
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinapps.yaml
21-
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinappexecutors.yaml
20+
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinapps.yaml
21+
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinappexecutors.yaml
2222
```
2323

2424
## Installing the chart
@@ -54,8 +54,8 @@ spin-operator depends on the following resources. If not already present on the
5454
Note that you may also need to upgrade the spin-operator CRDs in tandem with upgrading the Helm release:
5555

5656
```console
57-
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinapps.yaml
58-
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinappexecutors.yaml
57+
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinapps.yaml
58+
$ kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinappexecutors.yaml
5959
```
6060

6161
To upgrade the `spin-operator` release, run the following:
@@ -82,6 +82,6 @@ To completely uninstall all resources related to spin-operator, you may want to
8282
```console
8383
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/spin-runtime-class.yaml
8484
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/spin-shim-executor.yaml
85-
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinapps.yaml
86-
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinoperator.dev_spinappexecutors.yaml
85+
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinapps.yaml
86+
$ kubectl delete -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/crd/bases/core.spinkube.dev_spinappexecutors.yaml
8787
```

charts/spin-operator/templates/manager-rbac.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ rules:
5555
- create
5656
- patch
5757
- apiGroups:
58-
- core.spinoperator.dev
58+
- core.spinkube.dev
5959
resources:
6060
- spinappexecutors
6161
verbs:
@@ -67,21 +67,21 @@ rules:
6767
- update
6868
- watch
6969
- apiGroups:
70-
- core.spinoperator.dev
70+
- core.spinkube.dev
7171
resources:
7272
- spinappexecutors/finalizers
7373
verbs:
7474
- update
7575
- apiGroups:
76-
- core.spinoperator.dev
76+
- core.spinkube.dev
7777
resources:
7878
- spinappexecutors/status
7979
verbs:
8080
- get
8181
- patch
8282
- update
8383
- apiGroups:
84-
- core.spinoperator.dev
84+
- core.spinkube.dev
8585
resources:
8686
- spinapps
8787
verbs:
@@ -93,7 +93,7 @@ rules:
9393
- update
9494
- watch
9595
- apiGroups:
96-
- core.spinoperator.dev
96+
- core.spinkube.dev
9797
resources:
9898
- spinapps/status
9999
verbs:

charts/spin-operator/templates/mutating-webhook-configuration.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ webhooks:
1313
service:
1414
name: '{{ include "spin-operator.fullname" . }}-webhook-service'
1515
namespace: '{{ .Release.Namespace }}'
16-
path: /mutate-core-spinoperator-dev-v1alpha1-spinapp
16+
path: /mutate-core-spinkube-dev-v1alpha1-spinapp
1717
failurePolicy: Fail
1818
name: mspinapp.kb.io
1919
rules:
2020
- apiGroups:
21-
- core.spinoperator.dev
21+
- core.spinkube.dev
2222
apiVersions:
2323
- v1alpha1
2424
operations:
@@ -33,12 +33,12 @@ webhooks:
3333
service:
3434
name: '{{ include "spin-operator.fullname" . }}-webhook-service'
3535
namespace: '{{ .Release.Namespace }}'
36-
path: /mutate-core-spinoperator-dev-v1alpha1-spinappexecutor
36+
path: /mutate-core-spinkube-dev-v1alpha1-spinappexecutor
3737
failurePolicy: Fail
3838
name: mspinappexecutor.kb.io
3939
rules:
4040
- apiGroups:
41-
- core.spinoperator.dev
41+
- core.spinkube.dev
4242
apiVersions:
4343
- v1alpha1
4444
operations:

charts/spin-operator/templates/validating-webhook-configuration.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ webhooks:
1313
service:
1414
name: '{{ include "spin-operator.fullname" . }}-webhook-service'
1515
namespace: '{{ .Release.Namespace }}'
16-
path: /validate-core-spinoperator-dev-v1alpha1-spinapp
16+
path: /validate-core-spinkube-dev-v1alpha1-spinapp
1717
failurePolicy: Fail
1818
name: vspinapp.kb.io
1919
rules:
2020
- apiGroups:
21-
- core.spinoperator.dev
21+
- core.spinkube.dev
2222
apiVersions:
2323
- v1alpha1
2424
operations:
@@ -33,12 +33,12 @@ webhooks:
3333
service:
3434
name: '{{ include "spin-operator.fullname" . }}-webhook-service'
3535
namespace: '{{ .Release.Namespace }}'
36-
path: /validate-core-spinoperator-dev-v1alpha1-spinappexecutor
36+
path: /validate-core-spinkube-dev-v1alpha1-spinappexecutor
3737
failurePolicy: Fail
3838
name: vspinappexecutor.kb.io
3939
rules:
4040
- apiGroups:
41-
- core.spinoperator.dev
41+
- core.spinkube.dev
4242
apiVersions:
4343
- v1alpha1
4444
operations:

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func main() {
8383
Metrics: metricsserver.Options{BindAddress: metricsAddr},
8484
HealthProbeBindAddress: probeAddr,
8585
LeaderElection: enableLeaderElection,
86-
LeaderElectionID: "90ba2d18.spinoperator.dev",
86+
LeaderElectionID: "90ba2d18.spinkube.dev",
8787
// LeaderElectionReleaseOnCancel defines if the leader should step down voluntarily
8888
// when the Manager ends. This requires the binary to immediately end when the
8989
// Manager is stopped, otherwise, this setting is unsafe. Setting this significantly

config/crd/bases/core.spinoperator.dev_spinappexecutors.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: spinappexecutors.core.spinoperator.dev
7+
name: spinappexecutors.core.spinkube.dev
88
spec:
9-
group: core.spinoperator.dev
9+
group: core.spinkube.dev
1010
names:
1111
kind: SpinAppExecutor
1212
listKind: SpinAppExecutorList

config/crd/bases/core.spinoperator.dev_spinapps.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: spinapps.core.spinoperator.dev
7+
name: spinapps.core.spinkube.dev
88
spec:
9-
group: core.spinoperator.dev
9+
group: core.spinkube.dev
1010
names:
1111
kind: SpinApp
1212
listKind: SpinAppList

0 commit comments

Comments
 (0)