Skip to content

Commit 067439a

Browse files
committed
Validation and CRD Gen for CORS Filter
1 parent 270837d commit 067439a

File tree

10 files changed

+2433
-459
lines changed

10 files changed

+2433
-459
lines changed

apis/v1/httproute_types.go

Lines changed: 355 additions & 349 deletions
Large diffs are not rendered by default.

apis/v1/shared_types.go

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

767+
// LowercaseTrue is a string value that can only be set to "true" (case
768+
// sensitive).
769+
//
770+
// +kubebuilder:validation:Enum=true
771+
type LowercaseTrue string
772+
767773
const (
768774
// A textual representation of a numeric IP address. IPv4
769775
// addresses must be in dotted-decimal form. IPv6 addresses

apis/v1/zz_generated.deepcopy.go

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfiguration/apis/v1/httpcorsfilter.go

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfiguration/apis/v1/httproutefilter.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfiguration/internal/internal.go

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfiguration/utils.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)