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

Support additional DNS names for clients-server TLS cert #73

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

hvgirish
Copy link
Contributor

@hvgirish hvgirish commented Oct 4, 2021

Sometimes it is desirable to have multiple DNS names to reach the same cluster. This adds support to specify a list of hostnames that the Server's client certs would include. Avoids the use of ETCDCTL_INSECURE_SKIP_TLS_VERIFY flag.

@@ -188,6 +188,10 @@ variable "jwt_ttl" {
default = "10m"
}

variable "san_dns_names" {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name sucks but I couldn't come up with a better name ¯_(ツ)_/¯

@Quentin-M
Copy link
Owner

Quentin-M commented Oct 4, 2021

Cool 👍 Hopefully connecting via those alternate names will not create issues between the interaction of the etcd client and advertise address.. but we should be fine.

@Quentin-M Quentin-M merged commit 37428b1 into Quentin-M:master Oct 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants