Skip to content

Commit b8de0b8

Browse files
shaneuttk8s-ci-robot
authored andcommitted
chore: remove the TrueField API type
Signed-off-by: Shane Utt <[email protected]>
1 parent 682a03f commit b8de0b8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apis/v1/httproute_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ type HTTPCORSFilter struct {
13711371
// Support: Extended
13721372
//
13731373
// +optional
1374-
AllowCredentials TrueField `json:"allowCredentials,omitempty"`
1374+
AllowCredentials *bool `json:"allowCredentials,omitempty"`
13751375

13761376
// AllowMethods indicates which HTTP methods are supported for accessing the
13771377
// requested resource.

apis/v1/shared_types.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -764,11 +764,6 @@ type HeaderName string
764764
// +kubebuilder:validation:Pattern=`^([0-9]{1,5}(h|m|s|ms)){1,4}$`
765765
type Duration string
766766

767-
// TrueField is a boolean value that can only be set to true
768-
//
769-
// +kubebuilder:validation:Enum=true
770-
type TrueField bool
771-
772767
const (
773768
// A textual representation of a numeric IP address. IPv4
774769
// addresses must be in dotted-decimal form. IPv6 addresses

0 commit comments

Comments
 (0)