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

[Story] Attempt to discover DNS name in Kubernetes #525

Closed
Tracked by #784
ebaron opened this issue Oct 28, 2024 · 0 comments · Fixed by #524
Closed
Tracked by #784

[Story] Attempt to discover DNS name in Kubernetes #525

ebaron opened this issue Oct 28, 2024 · 0 comments · Fixed by #524
Assignees
Labels
feat New feature or request

Comments

@ebaron
Copy link
Member

ebaron commented Oct 28, 2024

In order to provision wildcard certificates for the agent to use, we need the agent to use a callback URL that includes a hostname reachable from Cryostat instead of just the pod IP. CoreDNS, used by most Kubernetes, defaults to using the IPv4 address with dots replaced by hyphens, but also supports using the pod name as a hostname [1]. We should attempt to discover the hostname using a DNS lookup, provided some hints as config properties.

[1] https://github.com/coredns/coredns/blob/master/plugin/kubernetes/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant