Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Bista <[email protected]>
  • Loading branch information
anishbista60 committed Sep 9, 2024
1 parent 1657df8 commit 35dc709
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 62 deletions.
60 changes: 0 additions & 60 deletions Production-Ready-project/manifests/armtemplate/demo.bicep

This file was deleted.

19 changes: 18 additions & 1 deletion Production-Ready-project/manifests/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,24 @@ spec:
tls:
mode: Terminate
certificateRefs:
- name: demo-com-tls
- name: app-tls
kind: Secret
group: ""
- name: argo-http
port: 80
protocol: HTTP
hostname: "argo.anishbista.xyz"
- name: argo-https
hostname: "argo.anishbista.xyz"
port: 443
protocol: HTTPS
allowedRoutes:
namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- name: argo-tls
kind: Secret
group: ""

24 changes: 23 additions & 1 deletion Production-Ready-project/manifests/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
- name: app-gateway
namespace: default
hostnames:
- "demo.anishbista.xyz"
- "app.anishbista.xyz"
rules:
- matches:
- path:
Expand All @@ -16,4 +16,26 @@ spec:
backendRefs:
- name: my-app-service
port: 80
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: argo-route
namespace: default
spec:
parentRefs:
- name: app-gateway
namespace: default
hostnames:
- "argo.anishbista.xyz"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: argocd-server
namespace: argocd
port: 80
kind: Service

0 comments on commit 35dc709

Please sign in to comment.