Skip to content

Commit 6d2fe1c

Browse files
committed
a
1 parent 7705768 commit 6d2fe1c

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

apps/argocd-gateway/base/gateway.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: Gateway
33
metadata:
44
name: argocd-gateway
5-
namespace: argocd
65
spec:
76
gatewayClassName: apisix
87
listeners:
98
- name: http
10-
hostname: "argocd.local"
119
protocol: HTTP
1210
port: 80
1311
allowedRoutes:

apps/argocd-gateway/base/httproute.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@ apiVersion: gateway.networking.k8s.io/v1beta1
22
kind: HTTPRoute
33
metadata:
44
name: argocd-route
5-
namespace: argocd
65
spec:
76
parentRefs:
87
- name: argocd-gateway
98
sectionName: http
10-
hostnames: ["argocd.local"]
119
rules:
1210
- matches:
1311
- path:
1412
type: PathPrefix
15-
value: /
13+
value: /argo
1614
backendRefs:
1715
- name: argocd-server
1816
port: 80

apps/argocd-gateway/base/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4+
namespace: argocd
5+
46
resources:
57
- gateway.yaml
68
- httproute.yaml
79

10+
commonLabels:
11+
app.kubernetes.io/name: argocd-gateway
12+
app.kubernetes.io/part-of: argocd
13+
814
patches:
915
- patch: |
1016
apiVersion: v1

0 commit comments

Comments
 (0)