Skip to content

Commit 2f442de

Browse files
committed
fix enum check, the casing was incorrect
1 parent 9bd4c27 commit 2f442de

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

apis/gateway/v1beta1/targetgroupconfig_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ See the License for the specific language governing permissions and
2020
limitations under the License.
2121
*/
2222

23-
// Reference defines how to look up the Target Group configuration for a service.
23+
// Reference defines how to look up the Target Group configuration for a kubernetes object.
2424
type Reference struct {
2525
// Group is the group of the referent. For example, "gateway.networking.k8s.io".
2626
// When unspecified or empty string, core API group is inferred.
@@ -108,7 +108,7 @@ const (
108108
TargetTypeIP TargetType = "ip"
109109
)
110110

111-
// +kubebuilder:validation:Enum=http;https;tcp
111+
// +kubebuilder:validation:Enum=HTTP;HTTPS;TCP
112112
type TargetGroupHealthCheckProtocol string
113113

114114
const (

config/crd/gateway/gateway-crds.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,9 @@ spec:
821821
with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols
822822
are not supported for health checks.
823823
enum:
824-
- http
825-
- https
826-
- tcp
824+
- HTTP
825+
- HTTPS
826+
- TCP
827827
type: string
828828
healthCheckTimeout:
829829
description: healthCheckTimeout The amount of time, in seconds,
@@ -1014,9 +1014,9 @@ spec:
10141014
and TCP_UDP protocols are not supported for health
10151015
checks.
10161016
enum:
1017-
- http
1018-
- https
1019-
- tcp
1017+
- HTTP
1018+
- HTTPS
1019+
- TCP
10201020
type: string
10211021
healthCheckTimeout:
10221022
description: healthCheckTimeout The amount of time,

config/crd/gateway/gateway.k8s.aws_targetgroupconfigurations.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ spec:
8282
with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols
8383
are not supported for health checks.
8484
enum:
85-
- http
86-
- https
87-
- tcp
85+
- HTTP
86+
- HTTPS
87+
- TCP
8888
type: string
8989
healthCheckTimeout:
9090
description: healthCheckTimeout The amount of time, in seconds,
@@ -275,9 +275,9 @@ spec:
275275
and TCP_UDP protocols are not supported for health
276276
checks.
277277
enum:
278-
- http
279-
- https
280-
- tcp
278+
- HTTP
279+
- HTTPS
280+
- TCP
281281
type: string
282282
healthCheckTimeout:
283283
description: healthCheckTimeout The amount of time,

helm/aws-load-balancer-controller/crds/gateway-crds.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,9 @@ spec:
821821
with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols
822822
are not supported for health checks.
823823
enum:
824-
- http
825-
- https
826-
- tcp
824+
- HTTP
825+
- HTTPS
826+
- TCP
827827
type: string
828828
healthCheckTimeout:
829829
description: healthCheckTimeout The amount of time, in seconds,
@@ -1014,9 +1014,9 @@ spec:
10141014
and TCP_UDP protocols are not supported for health
10151015
checks.
10161016
enum:
1017-
- http
1018-
- https
1019-
- tcp
1017+
- HTTP
1018+
- HTTPS
1019+
- TCP
10201020
type: string
10211021
healthCheckTimeout:
10221022
description: healthCheckTimeout The amount of time,

0 commit comments

Comments
 (0)