fix(bootstrap): need to split into two ingress resources for nginx controller
This commit is contained in:
parent
efe6f7c59f
commit
cddaf999d1
3 changed files with 35 additions and 2 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,13 +3,15 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||||
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
# gethomepage.dev/enabled: "true"
|
# gethomepage.dev/enabled: "true"
|
||||||
# gethomepage.dev/name: "ArgoCD"
|
# gethomepage.dev/name: "ArgoCD"
|
||||||
# gethomepage.dev/description: "Manage k8s applications"
|
# gethomepage.dev/description: "Manage k8s applications"
|
||||||
# gethomepage.dev/group: "System"
|
# gethomepage.dev/group: "System"
|
||||||
name: argocd
|
name: argocd-server
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: argocd.int.nc.landry.land
|
- host: argocd.int.nc.landry.land
|
||||||
http:
|
http:
|
||||||
|
|
@ -18,5 +18,6 @@ configMapGenerator:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.17
|
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.17
|
||||||
- ./ingress.yaml
|
|
||||||
- ./argogrpc.service.yaml
|
- ./argogrpc.service.yaml
|
||||||
|
- ./ingress-html.yaml
|
||||||
|
- ./ingress-grpc.yaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue