Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom DNS support in istio-csr's istiod certificate #218

Closed
frauniki opened this issue Aug 30, 2023 · 1 comment
Closed

Custom DNS support in istio-csr's istiod certificate #218

frauniki opened this issue Aug 30, 2023 · 1 comment

Comments

@frauniki
Copy link

frauniki commented Aug 30, 2023

Currently, only the following dns names are supported for istiod certificates created by istio-csr's helm chart.

istio supports external control plane and istiod may be published by an external LB provider or custom DNS.
https://istio.io/latest/docs/setup/install/external-controlplane/

However, the current istio-csr istiod certificate does not allow these custom DNSs to be configured within the certificate, so using istiod webhook with a custom DNS in these environments will result in a certificate error.
Therefore, I would like to add a feature so that istio-csr's istiod certificate can also use custom DNS.

By the way, istiod's built-in ca server already supports the same feature.
It is possible to set custom DNS for istiod certificate using istiod's environment variable ISTIOD_CUSTOM_HOST.
https://istio.io/latest/docs/reference/commands/pilot-discovery/

@frauniki
Copy link
Author

frauniki commented Aug 30, 2023

I missed this comment.
https://github.com/cert-manager/istio-csr/blob/main/deploy/charts/istio-csr/values.yaml#L100

I thought it would be better to set istiodCertificateEnable to false and create your own certificate if you want to use custom DNS.
I don't think we need to support this feature, so I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant