Skip to content

Commit 1628e67

Browse files
rename
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
1 parent c4e4126 commit 1628e67

75 files changed

Lines changed: 1064 additions & 1085 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apis/installer/v1alpha1/ace_ace_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type AceSpec struct {
5858
KubedbUi AceKubedbUi `json:"kubedb-ui"`
5959
PlatformApi AcePlatformApi `json:"platform-api"`
6060
IngressNginx AceIngressNginx `json:"ingress-nginx"`
61-
HTTPRoute AceHTTPRoute `json:"httpRoute"`
61+
Gateway AceGateway `json:"gateway"`
6262
IngressDns AceIngressDns `json:"ingress-dns"`
6363
Nats AceNats `json:"nats"`
6464
NatsDns AceNatsDns `json:"nats-dns"`
@@ -138,9 +138,9 @@ type AceIngressNginx struct {
138138
*IngressNginxSpec `json:",inline,omitempty"`
139139
}
140140

141-
type AceHTTPRoute struct {
142-
Enabled bool `json:"enabled"`
143-
*HTTPRouteSpec `json:",inline,omitempty"`
141+
type AceGateway struct {
142+
Enabled bool `json:"enabled"`
143+
*GatewaySpec `json:",inline,omitempty"`
144144
}
145145

146146
type AceIngressDns struct {

apis/installer/v1alpha1/ace_inbox_ui_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ type InboxUiSpec struct {
7373
Tolerations []core.Toleration `json:"tolerations"`
7474
// If specified, the pod's scheduling constraints
7575
// +optional
76-
Affinity *core.Affinity `json:"affinity"`
77-
Ingress PlatformIngress `json:"ingress"`
78-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
76+
Affinity *core.Affinity `json:"affinity"`
77+
Ingress PlatformIngress `json:"ingress"`
78+
Gateway AppGateway `json:"gateway"`
7979
// +optional
8080
Distro shared.DistroSpec `json:"distro"`
8181
}

apis/installer/v1alpha1/ace_options_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type AceOptionsSpec struct {
6666
KubedbUi AceOptionsComponentSpec `json:"kubedb-ui"`
6767
PlatformApi AceOptionsComponentSpec `json:"platform-api"`
6868
Ingress AceOptionsIngressNginx `json:"ingress"`
69-
HTTPRoute AceOptionsHTTPRoute `json:"httpRoute"`
69+
Gateway AceOptionsGateway `json:"gateway"`
7070
Nats AceOptionsNatsSettings `json:"nats"`
7171
Trickster AceOptionsComponentSpec `json:"trickster"`
7272
Openfga AceOptionsComponentSpec `json:"openfga"`
@@ -199,7 +199,7 @@ type AceOptionsIngressNginx struct {
199199
ExternalIPs []string `json:"externalIPs"`
200200
}
201201

202-
type AceOptionsHTTPRoute struct {
202+
type AceOptionsGateway struct {
203203
Enabled bool `json:"enabled"`
204204
}
205205

apis/installer/v1alpha1/ace_service_backend_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type ServiceBackendSpec struct {
7777
Volumes []core.Volume `json:"volumes"`
7878
VolumeMounts []core.VolumeMount `json:"volumeMounts"`
7979
Ingress PlatformIngress `json:"ingress"`
80-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
80+
Gateway AppGateway `json:"gateway"`
8181
Monitoring Monitoring `json:"monitoring"`
8282
Server ServerConfig `json:"server"`
8383
// +optional

apis/installer/v1alpha1/dns_proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ type DnsProxySpec struct {
7676
Affinity *core.Affinity `json:"affinity"`
7777
Monitoring CustomMonitoring `json:"monitoring"`
7878
Ingress AppIngress `json:"ingress"`
79-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
79+
Gateway AppGateway `json:"gateway"`
8080
Cloudflare CloudflareTokenReference `json:"cloudflare"`
8181
Auth DNSProxyAuth `json:"auth"`
8282
TLSSecretRef LocalObjectReference `json:"tlsSecretRef"`

apis/installer/v1alpha1/gh_ci_webhook_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type GhCiWebhookSpec struct {
7373
// +optional
7474
Affinity *core.Affinity `json:"affinity"`
7575
Ingress AppIngress `json:"ingress"`
76-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
76+
Gateway AppGateway `json:"gateway"`
7777
Volumes []core.Volume `json:"volumes"`
7878
VolumeMounts []core.VolumeMount `json:"volumeMounts"`
7979
Args []string `json:"args"`

apis/installer/v1alpha1/minio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type MinioSpec struct {
7575
Persistence PersistenceSpec `json:"persistence"`
7676
StorageClass LocalObjectReference `json:"storageClass"`
7777
Ingress MinioIngress `json:"ingress"`
78-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
78+
Gateway AppGateway `json:"gateway"`
7979
Minio MinioConfig `json:"minio"`
8080
// +optional
8181
Distro shared.DistroSpec `json:"distro"`

apis/installer/v1alpha1/offline_license_server_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type OfflineLicenseServerSpec struct {
7474
// +optional
7575
Affinity *core.Affinity `json:"affinity"`
7676
Ingress AppIngress `json:"ingress"`
77-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
77+
Gateway AppGateway `json:"gateway"`
7878
Volumes []core.Volume `json:"volumes"`
7979
VolumeMounts []core.VolumeMount `json:"volumeMounts"`
8080
Args []string `json:"args"`

apis/installer/v1alpha1/s3proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type S3proxySpec struct {
7575
Persistence PersistenceSpec `json:"persistence"`
7676
StorageClass LocalObjectReference `json:"storageClass"`
7777
Ingress S3proxyIngress `json:"ingress"`
78-
HTTPRoute AppHTTPRoute `json:"httpRoute"`
78+
Gateway AppGateway `json:"gateway"`
7979
S3proxy S3proxyConfig `json:"s3proxy"`
8080
// +optional
8181
Distro shared.DistroSpec `json:"distro"`

apis/installer/v1alpha1/shared_types.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ package v1alpha1
1818

1919
import gwapi "sigs.k8s.io/gateway-api/apis/v1"
2020

21-
type AppHTTPRoute struct {
22-
Enabled bool `json:"enabled"`
23-
*HTTPRouteSpec `json:",inline,omitempty"`
24-
Hosts []HTTPRouteHost `json:"hosts"`
21+
type AppGateway struct {
22+
Enabled bool `json:"enabled"`
23+
*GatewaySpec `json:",inline,omitempty"`
24+
Hosts []GatewayHost `json:"hosts"`
2525
}
2626

27-
type HTTPRouteSpec struct {
27+
type GatewaySpec struct {
2828
Annotations map[string]string `json:"annotations,omitempty"`
2929
GatewayClassName string `json:"gatewayClassName"`
30-
TLS *HTTPRouteTLS `json:"tls"`
30+
TLS *GatewayTLS `json:"tls"`
3131
}
3232

33-
type HTTPRouteTLS struct {
33+
type GatewayTLS struct {
3434
Enabled bool `json:"enabled"`
3535
Secret *LocalObjectReference `json:"secret"`
3636
}
3737

38-
type HTTPRouteHost struct {
39-
Host string `json:"host"`
40-
Paths HTTPRoutePath `json:"paths"`
38+
type GatewayHost struct {
39+
Host string `json:"host"`
40+
Paths GatewayPath `json:"paths"`
4141
}
4242

43-
type HTTPRoutePath struct {
43+
type GatewayPath struct {
4444
Path string `json:"path"`
4545
PathType gwapi.PathMatchType `json:"pathType,omitempty"`
4646
}

0 commit comments

Comments
 (0)