Skip to content

Wrong Ingress documentation about Contour #7690

Answered by jessesuen
swood asked this question in Q&A
Discussion options

You must be logged in to vote

With contour, I recommend terminating TLS at the pod. I think the problem is that contour doesn't like the different protocols (gRPC & HTTP) happening on the same port and gets confused even though the client is sending HTTP using the --grpc-web flag. You can use the following HTTPProxy using Contour's TLS passthrough feature to allow argocd to decrypt TLS:

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
  name: argocd-server
spec:
  ingressClassName: contour  # adjust to your env
  virtualhost:
    fqdn: cd.demo.akuity.io
    tls:
      passthrough: true
  tcpproxy:
    services:
    - name: argocd-server
      port: 443
  # this route allows port 80 to reach the argocd-server…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@swood
Comment options

@swood
Comment options

Answer selected by jessesuen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7541 on November 11, 2021 22:35.