Skip to content

Commit aa19e8c

Browse files
authored
[feat aga] Disable AGAController as its in ready yet (#4435)
* [feat aga] Disable AGAController as its in ready yet * update controller-gen version
1 parent b7ed907 commit aa19e8c

File tree

11 files changed

+41
-281
lines changed

11 files changed

+41
-281
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ifeq (, $(shell which controller-gen))
138138
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
139139
cd $$CONTROLLER_GEN_TMP_DIR ;\
140140
go mod init tmp ;\
141-
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 ;\
141+
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.19.0 ;\
142142
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
143143
}
144144
CONTROLLER_GEN=$(GOBIN)/controller-gen

config/crd/aga/aga-crds.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: globalaccelerators.aga.k8s.aws
88
spec:
99
group: aga.k8s.aws
@@ -196,7 +196,6 @@ spec:
196196
For example, you can create a port override in which the listener receives user traffic on ports 80 and 443,
197197
but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
198198
199-
200199
For more information, see Port overrides in the AWS Global Accelerator Developer Guide:
201200
https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
202201
properties:
@@ -303,16 +302,8 @@ spec:
303302
conditions:
304303
description: Conditions represent the current conditions of the GlobalAccelerator.
305304
items:
306-
description: "Condition contains details for one aspect of the current
307-
state of this API Resource.\n---\nThis struct is intended for
308-
direct use as an array at the field path .status.conditions. For
309-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
310-
observations of a foo's current state.\n\t // Known .status.conditions.type
311-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
312-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
313-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
314-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
315-
\ // other fields\n\t}"
305+
description: Condition contains details for one aspect of the current
306+
state of this API Resource.
316307
properties:
317308
lastTransitionTime:
318309
description: |-
@@ -353,12 +344,7 @@ spec:
353344
- Unknown
354345
type: string
355346
type:
356-
description: |-
357-
type of condition in CamelCase or in foo.example.com/CamelCase.
358-
---
359-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
360-
useful (see .node.status.conditions), the ability to deconflict is important.
361-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
347+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
362348
maxLength: 316
363349
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
364350
type: string

config/crd/aga/aga.k8s.aws_globalaccelerators.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: globalaccelerators.aga.k8s.aws
88
spec:
99
group: aga.k8s.aws
@@ -196,7 +196,6 @@ spec:
196196
For example, you can create a port override in which the listener receives user traffic on ports 80 and 443,
197197
but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
198198
199-
200199
For more information, see Port overrides in the AWS Global Accelerator Developer Guide:
201200
https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
202201
properties:
@@ -303,16 +302,8 @@ spec:
303302
conditions:
304303
description: Conditions represent the current conditions of the GlobalAccelerator.
305304
items:
306-
description: "Condition contains details for one aspect of the current
307-
state of this API Resource.\n---\nThis struct is intended for
308-
direct use as an array at the field path .status.conditions. For
309-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
310-
observations of a foo's current state.\n\t // Known .status.conditions.type
311-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
312-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
313-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
314-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
315-
\ // other fields\n\t}"
305+
description: Condition contains details for one aspect of the current
306+
state of this API Resource.
316307
properties:
317308
lastTransitionTime:
318309
description: |-
@@ -353,12 +344,7 @@ spec:
353344
- Unknown
354345
type: string
355346
type:
356-
description: |-
357-
type of condition in CamelCase or in foo.example.com/CamelCase.
358-
---
359-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
360-
useful (see .node.status.conditions), the ability to deconflict is important.
361-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
347+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
362348
maxLength: 316
363349
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
364350
type: string

config/crd/bases/elbv2.k8s.aws_ingressclassparams.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: ingressclassparams.elbv2.k8s.aws
88
spec:
99
group: elbv2.k8s.aws

config/crd/bases/elbv2.k8s.aws_targetgroupbindings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: targetgroupbindings.elbv2.k8s.aws
88
spec:
99
group: elbv2.k8s.aws

0 commit comments

Comments
 (0)