Skip to content

Commit 1d87ea4

Browse files
committed
update
1 parent 2f01d58 commit 1d87ea4

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

apps/argocd-gateway/base/gateway.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,9 @@ spec:
77
gatewayClassName: apisix
88
listeners:
99
- name: http
10+
hostname: "argocd.local"
1011
protocol: HTTP
1112
port: 80
1213
allowedRoutes:
1314
namespaces:
1415
from: Same
15-
- name: https
16-
protocol: HTTPS
17-
port: 443
18-
allowedRoutes:
19-
namespaces:
20-
from: Same
21-
tls:
22-
mode: Passthrough
Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: HTTPRoute
33
metadata:
4-
name: argocd-httproute
4+
name: argocd-route
55
namespace: argocd
66
spec:
77
parentRefs:
88
- name: argocd-gateway
9-
namespace: argocd
9+
sectionName: http
10+
hostnames: ["argocd.local"]
1011
rules:
1112
- matches:
1213
- path:
@@ -16,16 +17,4 @@ spec:
1617
- name: argocd-server
1718
port: 80
1819
kind: Service
19-
namespace: argocd
20-
- matches:
21-
- path:
22-
type: PathPrefix
23-
value: /api
24-
- path:
25-
type: PathPrefix
26-
value: /oauth2
27-
backendRefs:
28-
- name: argocd-server
29-
port: 443
30-
kind: Service
31-
namespace: argocd
20+
weight: 1

0 commit comments

Comments
 (0)