Skip to content

Commit d9229f6

Browse files
committed
manual changes
1 parent 56e2398 commit d9229f6

File tree

27 files changed

+77
-68
lines changed

27 files changed

+77
-68
lines changed

PROJECT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
domain: scheduling.sigs.k8s.io
1+
domain: scheduling.x-k8s.io
22
layout:
33
- go.kubebuilder.io/v3
44
multigroup: true
@@ -8,15 +8,15 @@ resources:
88
- api:
99
crdVersion: v1
1010
controller: true
11-
domain: scheduling.sigs.k8s.io
11+
domain: scheduling.x-k8s.io
1212
group: scheduling
1313
kind: PodGroup
1414
path: sigs.k8s.io/scheduler-plugins/apis/scheduling/v1alpha1
1515
version: v1alpha1
1616
- api:
1717
crdVersion: v1
1818
controller: true
19-
domain: scheduling.sigs.k8s.io
19+
domain: scheduling.x-k8s.io
2020
group: scheduling
2121
kind: ElasticQuota
2222
path: sigs.k8s.io/scheduler-plugins/apis/scheduling/v1alpha1

apis/scheduling/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ limitations under the License.
1515
*/
1616

1717
// +kubebuilder:object:generate=true
18-
// +groupName=scheduling.sigs.k8s.io
18+
// +groupName=scheduling.x-k8s.io
1919

2020
package scheduling

apis/scheduling/groupversion_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ package scheduling
1818

1919
// GroupName is the group name used in this package
2020
const (
21-
GroupName = "scheduling.sigs.k8s.io"
21+
GroupName = "scheduling.x-k8s.io"
2222
)

apis/scheduling/v1alpha1/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ limitations under the License.
1515
*/
1616

1717
// +kubebuilder:object:generate=true
18-
// +groupName=scheduling.sigs.k8s.io
18+
// +groupName=scheduling.x-k8s.io
1919

2020
package v1alpha1

apis/scheduling/v1alpha1/groupversion_info.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v1alpha1 contains API Schema definitions for the scheduling.sigs.k8s.io v1alpha1 API group
17+
// Package v1alpha1 contains API Schema definitions for the scheduling.x-k8s.io v1alpha1 API group
1818
// +kubebuilder:object:generate=true
19-
// +groupName=scheduling.sigs.k8s.io
19+
// +groupName=scheduling.x-k8s.io
2020
package v1alpha1
2121

2222
import (

apis/scheduling/v1alpha1/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
)
2424

2525
// ElasticQuota sets elastic quota restrictions per namespace
26+
// +genclient
2627
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
2728
// +kubebuilder:object:root=true
2829
// +kubebuilder:resource:shortName={eq,eqs}
@@ -115,6 +116,7 @@ const (
115116
)
116117

117118
// PodGroup is a collection of Pod; used for batch workload.
119+
// +genclient
118120
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
119121
// +kubebuilder:object:root=true
120122
// +kubebuilder:resource:shortName={pg,pgs}

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/scheduling.sigs.k8s.io_podgroups.yaml
6-
- bases/scheduling.sigs.k8s.io_elasticquota.yaml
5+
- bases/scheduling.x-k8s.io_podgroups.yaml
6+
- bases/scheduling.x-k8s.io_elasticquota.yaml
77
#+kubebuilder:scaffold:crdkustomizeresource
88

99
patchesStrategicMerge:

config/crd/patches/cainjection_in_elasticquota.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: elasticquota.scheduling.sigs.k8s.io
7+
name: elasticquota.scheduling.x-k8s.io

config/crd/patches/cainjection_in_podgroups.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: podgroups.scheduling.sigs.k8s.io
7+
name: podgroups.scheduling.x-k8s.io

config/crd/patches/webhook_in_podgroups.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: podgroups.scheduling.sigs.k8s.io
5+
name: podgroups.scheduling.x-k8s.io
66
spec:
77
conversion:
88
strategy: Webhook

0 commit comments

Comments
 (0)