Skip to content

Commit

Permalink
Adding host to ingress resource
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Jun 23, 2024
1 parent e18b39d commit e1fec7a
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions kubernetes/argocd/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ metadata:
namespace: argocd
spec:
ports:
- name: "443"
port: 443
protocol: TCP
targetPort: 8080
- name: "443"
port: 443
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/name: argocd-server
sessionAffinity: None
type: NodePort
type: NodePort
---
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand All @@ -38,23 +38,23 @@ metadata:
spec:
ingressClassName: alb
rules:
# - host: argocd.argoproj.io
- http:
paths:
- path: /
backend:
service:
name: argogrpc
port:
number: 443
pathType: Prefix
- path: /argocd
backend:
service:
name: argocd-server
port:
number: 443
pathType: Exact
# tls:
# - hosts:
# - argocd.argoproj.io
- host: argocd.argoproj.io
http:
paths:
- path: /
backend:
service:
name: argogrpc
port:
number: 443
pathType: Prefix
- path: /argocd
backend:
service:
name: argocd-server
port:
number: 443
pathType: Exact
tls:
- hosts:
- argocd.argoproj.io

0 comments on commit e1fec7a

Please sign in to comment.