fix(bootstrap): need to split into two ingress resources for nginx controller
This commit is contained in:
parent
efe6f7c59f
commit
66fe180441
3 changed files with 36 additions and 9 deletions
30
bootstrap/argo-cd/ingress-grpc.yaml
Normal file
30
bootstrap/argo-cd/ingress-grpc.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
|
||||
# gethomepage.dev/enabled: "true"
|
||||
# gethomepage.dev/name: "ArgoCD"
|
||||
# gethomepage.dev/description: "Manage k8s applications"
|
||||
# gethomepage.dev/group: "System"
|
||||
name: argocd-server-grpc
|
||||
namespace: argocd
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: grpc.argocd.int.nc.landry.land
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: argogrpc
|
||||
port:
|
||||
number: 443
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- grpc.argocd.int.nc.landry.land
|
||||
secretName: argocd-grpc-tls
|
||||
|
|
@ -3,24 +3,20 @@ kind: Ingress
|
|||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
# gethomepage.dev/enabled: "true"
|
||||
# gethomepage.dev/name: "ArgoCD"
|
||||
# gethomepage.dev/description: "Manage k8s applications"
|
||||
# gethomepage.dev/group: "System"
|
||||
name: argocd
|
||||
name: argocd-server
|
||||
namespace: argocd
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: argocd.int.nc.landry.land
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: argogrpc
|
||||
port:
|
||||
number: 443
|
||||
pathType: Prefix
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
|
|
@ -18,5 +18,6 @@ configMapGenerator:
|
|||
|
||||
resources:
|
||||
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.17
|
||||
- ./ingress.yaml
|
||||
- ./argogrpc.service.yaml
|
||||
- ./ingress-html.yaml
|
||||
- ./ingress-grpc.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue