Skip to content

Commit 3bccc56

Browse files
authored
Merge pull request #322 from calebschoepp/domain
Update the domain from 'spinoperator.dev' to 'spinkube.dev'
2 parents 189f5b5 + e60800f commit 3bccc56

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

config/crd/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# since it depends on service name and namespace that are out of this kustomize package.
33
# It should be run by config/default
44
resources:
5-
- bases/core.spinoperator.dev_spinapps.yaml
6-
- bases/core.spinoperator.dev_spinappexecutors.yaml
5+
- bases/core.spinkube.dev_spinapps.yaml
6+
- bases/core.spinkube.dev_spinappexecutors.yaml
77
#+kubebuilder:scaffold:crdkustomizeresource
88

99
patches:

config/crd/patches/cainjection_in_spinappexecutors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
7-
name: spinappexecutors.core.spinoperator.dev
7+
name: spinappexecutors.core.spinkube.dev

config/crd/patches/cainjection_in_spinapps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
7-
name: spinapps.core.spinoperator.dev
7+
name: spinapps.core.spinkube.dev

config/crd/patches/webhook_in_spinappexecutors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: spinappexecutors.core.spinoperator.dev
5+
name: spinappexecutors.core.spinkube.dev
66
spec:
77
conversion:
88
strategy: Webhook

config/crd/patches/webhook_in_spinapps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: spinapps.core.spinoperator.dev
5+
name: spinapps.core.spinkube.dev
66
spec:
77
conversion:
88
strategy: Webhook

config/rbac/role.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rules:
5454
- create
5555
- patch
5656
- apiGroups:
57-
- core.spinoperator.dev
57+
- core.spinkube.dev
5858
resources:
5959
- spinappexecutors
6060
verbs:
@@ -66,21 +66,21 @@ rules:
6666
- update
6767
- watch
6868
- apiGroups:
69-
- core.spinoperator.dev
69+
- core.spinkube.dev
7070
resources:
7171
- spinappexecutors/finalizers
7272
verbs:
7373
- update
7474
- apiGroups:
75-
- core.spinoperator.dev
75+
- core.spinkube.dev
7676
resources:
7777
- spinappexecutors/status
7878
verbs:
7979
- get
8080
- patch
8181
- update
8282
- apiGroups:
83-
- core.spinoperator.dev
83+
- core.spinkube.dev
8484
resources:
8585
- spinapps
8686
verbs:
@@ -92,7 +92,7 @@ rules:
9292
- update
9393
- watch
9494
- apiGroups:
95-
- core.spinoperator.dev
95+
- core.spinkube.dev
9696
resources:
9797
- spinapps/status
9898
verbs:

config/rbac/spinapp_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: spinapp-editor-role
1313
rules:
1414
- apiGroups:
15-
- core.spinoperator.dev
15+
- core.spinkube.dev
1616
resources:
1717
- spinapps
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- core.spinoperator.dev
27+
- core.spinkube.dev
2828
resources:
2929
- spinapps/status
3030
verbs:

config/rbac/spinapp_viewer_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
name: spinapp-viewer-role
1313
rules:
1414
- apiGroups:
15-
- core.spinoperator.dev
15+
- core.spinkube.dev
1616
resources:
1717
- spinapps
1818
verbs:
1919
- get
2020
- list
2121
- watch
2222
- apiGroups:
23-
- core.spinoperator.dev
23+
- core.spinkube.dev
2424
resources:
2525
- spinapps/status
2626
verbs:

config/rbac/spinappexecutor_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: spinappexecutor-editor-role
1313
rules:
1414
- apiGroups:
15-
- core.spinoperator.dev
15+
- core.spinkube.dev
1616
resources:
1717
- spinappexecutors
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- core.spinoperator.dev
27+
- core.spinkube.dev
2828
resources:
2929
- spinappexecutors/status
3030
verbs:

config/rbac/spinappexecutor_viewer_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
name: spinappexecutor-viewer-role
1313
rules:
1414
- apiGroups:
15-
- core.spinoperator.dev
15+
- core.spinkube.dev
1616
resources:
1717
- spinappexecutors
1818
verbs:
1919
- get
2020
- list
2121
- watch
2222
- apiGroups:
23-
- core.spinoperator.dev
23+
- core.spinkube.dev
2424
resources:
2525
- spinappexecutors/status
2626
verbs:

config/samples/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: core.spinoperator.dev/v1alpha1
1+
apiVersion: core.spinkube.dev/v1alpha1
22
kind: SpinApp
33
metadata:
44
name: annotations-spinapp

config/samples/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: core.spinoperator.dev/v1alpha1
1+
apiVersion: core.spinkube.dev/v1alpha1
22
kind: SpinApp
33
metadata:
44
name: hpa-spinapp

config/samples/keda-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: core.spinoperator.dev/v1alpha1
1+
apiVersion: core.spinkube.dev/v1alpha1
22
kind: SpinApp
33
metadata:
44
name: keda-spinapp

0 commit comments

Comments
 (0)