-
Right now in the ingress docs, this is what is mentioned in it's manifest for tls: tls:
- hosts:
- argocd.example.com
secretName: argocd-secret # do not change, this is provided by Argo CD Now I don't understand why On inspecting the helm chart, I don't see any such thing documented Looking into the git history, it seemed to be initially introduced in So my question: Is the secret name required to be argocd-secret ? (If yes, it would be nice to have it documented on why it's required to be I can send a PR improving the docs, if I get a better idea about this. (Sorry for the cross-post between here and Slack.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, indeed it is not a hard requirement to have your Ingress use the However, the specific scenario you mentioned involves Ingress TLS pass-through and cert-manager. For passthrough to work, the service must terminate TLS, and the Ingress will just pass down the TLS connection to the service. Cert-manager needs to update a secret with TLS certificate and key, and Argo CD will use the So, if you are using any other secret for TLS configuration in your Ingress, you either have to configure the connection between Ingress and Argo CD to be unencrypted (e.g. A recent change (#6071, to be released with v2.1) will allow you to also use a dedicated secret for this purpose, instead of the generic HTH. |
Beta Was this translation helpful? Give feedback.
Hey, indeed it is not a hard requirement to have your Ingress use the
argocd-secret
for TLS configuration, but can point to any other secret that containstls.crt
andtls.key
keys in its data.However, the specific scenario you mentioned involves Ingress TLS pass-through and cert-manager. For passthrough to work, the service must terminate TLS, and the Ingress will just pass down the TLS connection to the service. Cert-manager needs to update a secret with TLS certificate and key, and Argo CD will use the
tls.key
andtls.crt
for configuring its TLS endpoint.So, if you are using any other secret for TLS configuration in your Ingress, you either have to configure the connection between Ing…