Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 88b12a6

Browse files
Fix group name infrastructure.clusterstack.x-k8s.io (#14)
Signed-off-by: Roman Hros <[email protected]> Co-authored-by: Matej Feder <[email protected]>
1 parent 762fc20 commit 88b12a6

15 files changed

+41
-41
lines changed

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 infrastructure.clusterstack.x-k8s.io v1alpha1 API group
1818
// +kubebuilder:object:generate=true
19-
// +groupName=infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
19+
// +groupName=infrastructure.clusterstack.x-k8s.io
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: "infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io", Version: "v1alpha1"}
29+
GroupVersion = schema.GroupVersion{Group: "infrastructure.clusterstack.x-k8s.io", Version: "v1alpha1"}
3030

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

config/crd/bases/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstackclusterstackreleases.yaml renamed to config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleases.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.13.0
7-
name: openstackclusterstackreleases.infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
7+
name: openstackclusterstackreleases.infrastructure.clusterstack.x-k8s.io
88
spec:
9-
group: infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
9+
group: infrastructure.clusterstack.x-k8s.io
1010
names:
1111
kind: OpenstackClusterStackRelease
1212
listKind: OpenstackClusterStackReleaseList

config/crd/bases/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstackclusterstackreleasetemplates.yaml renamed to config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleasetemplates.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.13.0
7-
name: openstackclusterstackreleasetemplates.infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
7+
name: openstackclusterstackreleasetemplates.infrastructure.clusterstack.x-k8s.io
88
spec:
9-
group: infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
9+
group: infrastructure.clusterstack.x-k8s.io
1010
names:
1111
kind: OpenstackClusterStackReleaseTemplate
1212
listKind: OpenstackClusterStackReleaseTemplateList

config/crd/bases/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstacknodeimagereleases.yaml renamed to config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstacknodeimagereleases.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.13.0
7-
name: openstacknodeimagereleases.infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
7+
name: openstacknodeimagereleases.infrastructure.clusterstack.x-k8s.io
88
spec:
9-
group: infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
9+
group: infrastructure.clusterstack.x-k8s.io
1010
names:
1111
kind: OpenstackNodeImageRelease
1212
listKind: OpenstackNodeImageReleaseList

config/crd/kustomization.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstackclusterstackreleases.yaml
6-
- bases/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstackclusterstackreleasetemplates.yaml
7-
- bases/infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io_openstacknodeimagereleases.yaml
5+
- bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleases.yaml
6+
- bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleasetemplates.yaml
7+
- bases/infrastructure.clusterstack.x-k8s.io_openstacknodeimagereleases.yaml
88
#+kubebuilder:scaffold:crdkustomizeresource
99

1010
patches:

config/rbac/openstackclusterstackrelease_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: openstackclusterstackrelease-editor-role
1313
rules:
1414
- apiGroups:
15-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
15+
- infrastructure.clusterstack.x-k8s.io
1616
resources:
1717
- openstackclusterstackreleases
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
27+
- infrastructure.clusterstack.x-k8s.io
2828
resources:
2929
- openstackclusterstackreleases/status
3030
verbs:

config/rbac/openstackclusterstackrelease_viewer_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
name: openstackclusterstackrelease-viewer-role
1313
rules:
1414
- apiGroups:
15-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
15+
- infrastructure.clusterstack.x-k8s.io
1616
resources:
1717
- openstackclusterstackreleases
1818
verbs:
1919
- get
2020
- list
2121
- watch
2222
- apiGroups:
23-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
23+
- infrastructure.clusterstack.x-k8s.io
2424
resources:
2525
- openstackclusterstackreleases/status
2626
verbs:

config/rbac/openstackclusterstackreleasetemplate_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: openstackclusterstackreleasetemplate-editor-role
1313
rules:
1414
- apiGroups:
15-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
15+
- infrastructure.clusterstack.x-k8s.io
1616
resources:
1717
- openstackclusterstackreleasetemplates
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
27+
- infrastructure.clusterstack.x-k8s.io
2828
resources:
2929
- openstackclusterstackreleasetemplates/status
3030
verbs:

config/rbac/openstackclusterstackreleasetemplate_viewer_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
name: openstackclusterstackreleasetemplate-viewer-role
1313
rules:
1414
- apiGroups:
15-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
15+
- infrastructure.clusterstack.x-k8s.io
1616
resources:
1717
- openstackclusterstackreleasetemplates
1818
verbs:
1919
- get
2020
- list
2121
- watch
2222
- apiGroups:
23-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
23+
- infrastructure.clusterstack.x-k8s.io
2424
resources:
2525
- openstackclusterstackreleasetemplates/status
2626
verbs:

config/rbac/openstacknodeimagerelease_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: openstacknodeimagerelease-editor-role
1313
rules:
1414
- apiGroups:
15-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
15+
- infrastructure.clusterstack.x-k8s.io
1616
resources:
1717
- openstacknodeimagereleases
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- infrastructure.clusterstack.x-k8s.io.clusterstack.x-k8s.io
27+
- infrastructure.clusterstack.x-k8s.io
2828
resources:
2929
- openstacknodeimagereleases/status
3030
verbs:

0 commit comments

Comments
 (0)