Skip to content

Commit

Permalink
bump gateway api to v1.0.0-rc1 (envoyproxy#1987)
Browse files Browse the repository at this point in the history
* bump gateway api to v1.0.0-rc1

* update all YAML resources from `v1beta1` to `v1`
* update all go imports from `v1beta1` to `v1`

Release details in https://github.com/kubernetes-sigs/gateway-api/releases/tag/v1.0.0-rc1

Signed-off-by: Arko Dasgupta <[email protected]>

* more fixes

Signed-off-by: Arko Dasgupta <[email protected]>

* fix doc tool

Signed-off-by: Arko Dasgupta <[email protected]>

* run make generate to gen api docs

Signed-off-by: Arko Dasgupta <[email protected]>

* run make testdata

Signed-off-by: Arko Dasgupta <[email protected]>

* rm gateway-system

Signed-off-by: Arko Dasgupta <[email protected]>

* skip test

Signed-off-by: Arko Dasgupta <[email protected]>

* skip GatewayStaticAddresses

Signed-off-by: Arko Dasgupta <[email protected]>

* update experimental test suite

Signed-off-by: Arko Dasgupta <[email protected]>

* fix refgrant group version in mc yaml

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
  • Loading branch information
arkodg authored Oct 19, 2023
1 parent 99e73b3 commit d3110e3
Show file tree
Hide file tree
Showing 438 changed files with 3,767 additions and 2,893 deletions.
6 changes: 3 additions & 3 deletions api/v1alpha1/clienttrafficpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package v1alpha1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
gwapiv1 "sigs.k8s.io/gateway-api/apis/v1"
gwapiv1a2 "sigs.k8s.io/gateway-api/apis/v1alpha2"
gwapiv1b1 "sigs.k8s.io/gateway-api/apis/v1beta1"
)

const (
Expand Down Expand Up @@ -64,12 +64,12 @@ type TCPKeepalive struct {
// Defaults to `7200s`.
//
// +optional
IdleTime *gwapiv1b1.Duration `json:"idleTime,omitempty"`
IdleTime *gwapiv1.Duration `json:"idleTime,omitempty"`
// The duration between keep-alive probes.
// Defaults to `75s`.
//
// +optional
Interval *gwapiv1b1.Duration `json:"interval,omitempty"`
Interval *gwapiv1.Duration `json:"interval,omitempty"`
}

// ClientTrafficPolicyStatus defines the state of ClientTrafficPolicy
Expand Down
8 changes: 4 additions & 4 deletions api/v1alpha1/envoygateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package v1alpha1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
gwapiv1b1 "sigs.k8s.io/gateway-api/apis/v1beta1"
gwapiv1 "sigs.k8s.io/gateway-api/apis/v1"
)

const (
Expand Down Expand Up @@ -123,7 +123,7 @@ type Gateway struct {
// ControllerName defines the name of the Gateway API controller. If unspecified,
// defaults to "gateway.envoyproxy.io/gatewayclass-controller". See the following
// for additional details:
// https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.GatewayClass
// https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1.GatewayClass
//
// +optional
ControllerName string `json:"controllerName,omitempty"`
Expand Down Expand Up @@ -341,7 +341,7 @@ type RedisTLSSettings struct {
// CertificateRef defines the client certificate reference for TLS connections.
// Currently only a Kubernetes Secret of type TLS is supported.
// +optional
CertificateRef *gwapiv1b1.SecretObjectReference `json:"certificateRef,omitempty"`
CertificateRef *gwapiv1.SecretObjectReference `json:"certificateRef,omitempty"`
}

// RateLimitRedisSettings defines the configuration for connecting to redis database.
Expand Down Expand Up @@ -415,7 +415,7 @@ type ExtensionTLS struct {
// CertificateRef can only reference a Kubernetes Secret at this time.
//
// +kubebuilder:validation:Required
CertificateRef gwapiv1b1.SecretObjectReference `json:"certificateRef"`
CertificateRef gwapiv1.SecretObjectReference `json:"certificateRef"`
}

// EnvoyGatewayAdmin defines the Envoy Gateway Admin configuration.
Expand Down
17 changes: 8 additions & 9 deletions api/v1alpha1/zz_generated.deepcopy.go

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

Loading

0 comments on commit d3110e3

Please sign in to comment.