Skip to content

Commit 1077ff0

Browse files
committed
more
1 parent 902aa20 commit 1077ff0

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

apps/apisix/overlays/testing-privileged/kustomization.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,16 @@ helmCharts:
3434
config:
3535
gateway:
3636
enabled: true
37-
instanceName: *namespace
38-
gatewayClassName: apisix
39-
controllerName: "gateway.apisix.apache.org/gateway-controller"
37+
instance_name: *namespace
38+
gateway_class_name: apisix
39+
controller_name: "gateway.apisix.apache.org/gateway-controller"
4040
kubernetes:
41-
enableGatewayAPI: true
42-
watchNamespaces: ["argocd", *namespace]
43-
ingressPublishService: "testing-privileged/apisix-gateway"
41+
enable_gateway_api: true
42+
ingress_publish_service: "testing-privileged/apisix-gateway"
4443
apisix:
4544
adminAPIVersion: v3
4645
serviceNamespace: *namespace
4746
serviceName: apisix-admin
48-
# adminKey: edd1c9f0985e76a2
4947
patches:
5048
- patch: |
5149
apiVersion: v1

apps/argocd-gateway/base/gateway.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ spec:
88
- name: http
99
protocol: HTTP
1010
port: 80
11+
hostname: "*"
1112
allowedRoutes:
1213
namespaces:
1314
from: All

apps/argocd-gateway/base/httproute.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: HTTPRoute
33
metadata:
44
name: argocd-route
5+
namespace: argocd
56
spec:
67
parentRefs:
78
- name: argocd-gateway
8-
sectionName: http
99
namespace: argocd
1010
rules:
1111
- matches:
1212
- path:
1313
type: PathPrefix
1414
value: /argo
15+
- path:
16+
type: PathPrefix
17+
value: /argo/
1518
backendRefs:
1619
- name: argocd-server
17-
port: 80
1820
kind: Service
19-
weight: 1
21+
port: 80

0 commit comments

Comments
 (0)