Skip to content

Commit

Permalink
Fix last round of PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Young <ynick@vmware.com>
  • Loading branch information
Nick Young committed Aug 9, 2021
1 parent 0ad53af commit 31e2f68
Show file tree
Hide file tree
Showing 8 changed files with 129 additions and 23 deletions.
9 changes: 3 additions & 6 deletions apis/v1alpha2/referencepolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
//
// All cross-namespace references in Gateway API (with the exception of cross-namespace
// Gateway-route attachment) require a ReferencePolicy.
//
// Support: Core
//
type ReferencePolicy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down Expand Up @@ -87,7 +90,6 @@ type ReferencePolicyFrom struct {
//
// Support: Core
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Group string `json:"group"`

Expand Down Expand Up @@ -121,7 +123,6 @@ type ReferencePolicyTo struct {
//
// Support: Core
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Group string `json:"group"`

Expand All @@ -130,10 +131,6 @@ type ReferencePolicyTo struct {
// support level for this field:
//
// * Service
// * HTTPRoute
// * TCPRoute
// * TLSRoute
// * UDPRoute
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Expand Down
15 changes: 15 additions & 0 deletions apis/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 57 additions & 5 deletions config/crd/bases/gateway.networking.k8s.io_httproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions config/crd/bases/gateway.networking.k8s.io_tcproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions config/crd/bases/gateway.networking.k8s.io_tlsroutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions config/crd/bases/gateway.networking.k8s.io_udproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site-src/v1alpha2/references/cross-namespace-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ effective safeguards are in place.
### Conformance Level
ReferencePolicy support is a "CORE" conformance level requirement for
cross-namespace references inside the following objects:
cross-namespace references that originate from the following objects:
- HTTPRoute
- TLSRoute
- TCPRoute
Expand Down

0 comments on commit 31e2f68

Please sign in to comment.