Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.8.0-rc.1
v1.8.0
5 changes: 3 additions & 2 deletions api/v1alpha1/healthcheck_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ const (

// HTTPActiveHealthChecker defines the settings of http health check.
type HTTPActiveHealthChecker struct {
// Hostname defines the HTTP host that will be requested during health checking.
// Default: HTTPRoute or GRPCRoute hostname.
// Hostname defines the HTTP Host header used for active HTTP health checks.
// Host selection uses this order: this field, the associated Backend endpoint
// hostname if available, then the effective Route hostname.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Expand Down
4 changes: 4 additions & 0 deletions api/v1alpha1/policy_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ type TargetSelector struct {
// When specified, the effective set of namespaces is always constrained to the
// namespaces watched by Envoy Gateway.
//
// Selecting targets across namespaces requires a ReferenceGrant in the target
// namespace that allows this policy kind to reference the selected target kind.
// Cross-namespace targets without a matching ReferenceGrant are ignored.
//
// +optional
Namespaces *TargetSelectorNamespaces `json:"namespaces,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/ratelimit_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ type RateLimitSelectCondition struct {
// meaning, a request MUST match all the specified headers.
//
// +optional
// +kubebuilder:validation:MaxItems=16
// +kubebuilder:validation:MaxItems=64
Headers []HeaderMatch `json:"headers,omitempty"`

// Methods is a list of request methods to match. Multiple method values are ORed together,
Expand Down
4 changes: 0 additions & 4 deletions api/v1alpha1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ const (
// PolicyReasonDeprecatedField is used with the "Warning" condition when the policy
// uses deprecated fields that should be migrated to newer alternatives.
PolicyReasonDeprecatedField gwapiv1.PolicyConditionReason = "DeprecatedField"

// PolicyReasonRefNotPermitted is used when the policy targets a cross-namespace
// object without a matching ReferenceGrant.
PolicyReasonRefNotPermitted gwapiv1.PolicyConditionReason = "RefNotPermitted"
)

// GroupVersionKind unambiguously identifies a Kind.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -1506,7 +1507,7 @@ spec:
required:
- name
type: object
maxItems: 16
maxItems: 64
type: array
methods:
description: |-
Expand Down Expand Up @@ -1890,7 +1891,7 @@ spec:
required:
- name
type: object
maxItems: 16
maxItems: 64
type: array
methods:
description: |-
Expand Down Expand Up @@ -2924,6 +2925,10 @@ spec:

When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.

Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,10 @@ spec:
When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.
Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -1824,6 +1825,10 @@ spec:

When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.

Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11837,8 +11837,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -13368,8 +13369,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -15086,8 +15088,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -16694,8 +16697,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -2597,8 +2598,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -4279,8 +4281,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -5993,8 +5996,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -7142,6 +7146,10 @@ spec:

When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.

Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -1505,7 +1506,7 @@ spec:
required:
- name
type: object
maxItems: 16
maxItems: 64
type: array
methods:
description: |-
Expand Down Expand Up @@ -1889,7 +1890,7 @@ spec:
required:
- name
type: object
maxItems: 16
maxItems: 64
type: array
methods:
description: |-
Expand Down Expand Up @@ -2923,6 +2924,10 @@ spec:

When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.

Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,10 @@ spec:
When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.
Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,9 @@ spec:
type: array
hostname:
description: |-
Hostname defines the HTTP host that will be requested during health checking.
Default: HTTPRoute or GRPCRoute hostname.
Hostname defines the HTTP Host header used for active HTTP health checks.
Host selection uses this order: this field, the associated Backend endpoint
hostname if available, then the effective Route hostname.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Expand Down Expand Up @@ -1823,6 +1824,10 @@ spec:

When specified, the effective set of namespaces is always constrained to the
namespaces watched by Envoy Gateway.

Selecting targets across namespaces requires a ReferenceGrant in the target
namespace that allows this policy kind to reference the selected target kind.
Cross-namespace targets without a matching ReferenceGrant are ignored.
properties:
from:
default: Same
Expand Down
Loading
Loading