Skip to content

Commit 2d70bd4

Browse files
committed
migrate to gateway api
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
1 parent bdc911d commit 2d70bd4

File tree

14 files changed

+20755
-43
lines changed

14 files changed

+20755
-43
lines changed
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
apiVersion: networking.istio.io/v1alpha3
1+
apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: Gateway
33
metadata:
44
name: cluster-local-gateway
55
labels:
66
release: istio
77
spec:
8-
selector:
9-
app: cluster-local-gateway
10-
istio: cluster-local-gateway
11-
servers:
12-
- port:
13-
number: 80
14-
name: http
15-
protocol: HTTP
16-
hosts:
17-
- '*'
8+
gatewayClassName: istio
9+
listeners:
10+
- name: http
11+
port: 80
12+
protocol: HTTP
13+
allowedRoutes:
14+
namespaces:
15+
from: All

common/istio-1-24/istio-crds/base/gateway-api-crds.yaml

Lines changed: 10345 additions & 0 deletions
Large diffs are not rendered by default.

common/istio-1-24/istio-crds/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- crd.yaml
5+
- gateway-api-crds.yaml
56
namespace: istio-system

common/istio-1-24/istio-install/base/install.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,6 +3005,10 @@ spec:
30053005
env:
30063006
- name: ENABLE_NATIVE_SIDECARS
30073007
value: 'true'
3008+
- name: PILOT_ENABLE_GATEWAY_API
3009+
value: 'true'
3010+
- name: PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER
3011+
value: 'true'
30083012
- name: REVISION
30093013
value: default
30103014
- name: PILOT_CERT_PROVIDER
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
apiVersion: networking.istio.io/v1alpha3
1+
apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: Gateway
33
metadata:
44
name: kubeflow-gateway
55
spec:
6-
selector:
7-
istio: ingressgateway
8-
servers:
9-
- port:
10-
number: 80
11-
name: http
12-
protocol: HTTP
13-
hosts:
14-
- "*"
6+
gatewayClassName: istio
7+
listeners:
8+
- name: http
9+
port: 80
10+
protocol: HTTP
11+
allowedRoutes:
12+
namespaces:
13+
from: All

common/istio-1-24/profile.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ spec:
1616
env:
1717
- name: ENABLE_NATIVE_SIDECARS
1818
value: "true"
19+
- name: PILOT_ENABLE_GATEWAY_API
20+
value: "true"
21+
- name: PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER
22+
value: "true"
1923
hub: gcr.io/istio-release
2024
profile: default
2125
tag: 1.24.3
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
apiVersion: networking.istio.io/v1alpha3
1+
apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: Gateway
33
metadata:
44
name: cluster-local-gateway
55
labels:
66
release: istio
77
spec:
8-
selector:
9-
app: cluster-local-gateway
10-
istio: cluster-local-gateway
11-
servers:
12-
- port:
13-
number: 80
14-
name: http
15-
protocol: HTTP
16-
hosts:
17-
- '*'
8+
gatewayClassName: istio
9+
listeners:
10+
- name: http
11+
port: 80
12+
protocol: HTTP
13+
allowedRoutes:
14+
namespaces:
15+
from: All

0 commit comments

Comments
 (0)