Skip to content

Commit 8b0f874

Browse files
authored
chore: Update group names to apisix.apache.org (#106)
1 parent fee56d5 commit 8b0f874

39 files changed

+186
-186
lines changed

PROJECT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resources:
1313
namespaced: true
1414
controller: true
1515
domain: github.com
16-
group: gateway.apisix.io
16+
group: apisix.apache.org
1717
kind: Guestbook
1818
path: github.com/api7/api7-ingress-controller/api/v1alpha1
1919
version: v1alpha1
@@ -22,15 +22,15 @@ resources:
2222
namespaced: true
2323
controller: true
2424
domain: github.com
25-
group: gateway.apisix.io
25+
group: apisix.apache.org
2626
kind: GatewayProxy
2727
path: github.com/api7/api7-ingress-controller/api/v1alpha1
2828
version: v1alpha1
2929
- api:
3030
crdVersion: v1
3131
namespaced: true
3232
domain: github.com
33-
group: gateway.apisix.io
33+
group: apisix.apache.org
3434
kind: HTTPRoutePolicy
3535
path: github.com/api7/api7-ingress-controller/api/v1alpha1
3636
version: v1alpha1

api/v1alpha1/groupversion_info.go

Lines changed: 3 additions & 3 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 gateway.apisix.io v1alpha1 API group
17+
// Package v1alpha1 contains API Schema definitions for the apisix.apache.org v1alpha1 API group
1818
// +kubebuilder:object:generate=true
19-
// +groupName=gateway.apisix.io
19+
// +groupName=apisix.apache.org
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: "gateway.apisix.io", Version: "v1alpha1"}
29+
GroupVersion = schema.GroupVersion{Group: "apisix.apache.org", Version: "v1alpha1"}
3030

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

charts/crds/gateway.apisix.io_plugingconfig.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
4-
name: pluginconfigs.gateway.apisix.io
4+
name: pluginconfigs.apisix.apache.org
55
spec:
6-
group: gateway.apisix.io
6+
group: apisix.apache.org
77
names:
88
kind: PluginConfig
99
listKind: PluginConfigList

charts/templates/cluster_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ rules:
102102
- get
103103
- update
104104
- apiGroups:
105-
- gateway.apisix.io
105+
- apisix.apache.org
106106
resources:
107107
- pluginconfigs
108108
- pluginsconfigs/status

charts/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ data:
77
config.yaml: |
88
log_level: "{{ .Values.logLevel | default "debug" }}"
99
10-
controller_name: {{ .Values.controllerName | default "gateway.api7.io/api7-ingress-controller" }}
10+
controller_name: {{ .Values.controllerName | default "apisix.apache.org/api7-ingress-controller" }}
1111
1212
leader_election_id: "api7-ingress-controller-leader"

charts/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ nameOverride: ""
22
labelsOverride: {}
33
annotations: {}
44
podAnnotations: {}
5-
controllerName: gateway.apisix.io/api7-ingress-controller
5+
controllerName: apisix.apache.org/api7-ingress-controller
66
replicas: 1
77
admin:
88
key: '' # Pass the admin key generated for the ingress gateway group

config/crd/bases/gateway.apisix.io_backendtrafficpolicies.yaml renamed to config/crd/bases/apisix.apache.org_backendtrafficpolicies.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.15.0
7-
name: backendtrafficpolicies.gateway.apisix.io
7+
name: backendtrafficpolicies.apisix.apache.org
88
spec:
9-
group: gateway.apisix.io
9+
group: apisix.apache.org
1010
names:
1111
kind: BackendTrafficPolicy
1212
listKind: BackendTrafficPolicyList

config/crd/bases/gateway.apisix.io_consumers.yaml renamed to config/crd/bases/apisix.apache.org_consumers.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.15.0
7-
name: consumers.gateway.apisix.io
7+
name: consumers.apisix.apache.org
88
spec:
9-
group: gateway.apisix.io
9+
group: apisix.apache.org
1010
names:
1111
kind: Consumer
1212
listKind: ConsumerList

config/crd/bases/gateway.apisix.io_gatewayproxies.yaml renamed to config/crd/bases/apisix.apache.org_gatewayproxies.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.15.0
7-
name: gatewayproxies.gateway.apisix.io
7+
name: gatewayproxies.apisix.apache.org
88
spec:
9-
group: gateway.apisix.io
9+
group: apisix.apache.org
1010
names:
1111
kind: GatewayProxy
1212
listKind: GatewayProxyList

config/crd/bases/gateway.apisix.io_httproutepolicies.yaml renamed to config/crd/bases/apisix.apache.org_httproutepolicies.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.15.0
7-
name: httproutepolicies.gateway.apisix.io
7+
name: httproutepolicies.apisix.apache.org
88
spec:
9-
group: gateway.apisix.io
9+
group: apisix.apache.org
1010
names:
1111
kind: HTTPRoutePolicy
1212
listKind: HTTPRoutePolicyList

0 commit comments

Comments
 (0)