Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Avoid object lookups in config if acorn dns is disabled #1039

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

ibuildthecloud
Copy link
Member

Currently we always lookup all v1.Node objects to determine if we should
lookup and use an Acorn DNS provisioned domain. We do this even if
Acorn DNS is disabled, and other conditions where the v1.Node lookup is
not required. This change makes it such that if Acorn DNS is specifically
disabled then don't lookup v1.Node objects.

Signed-off-by: Darren Shepherd darren@acorn.io

Currently we always lookup all v1.Node objects to determine if we should
lookup and use an Acorn DNS provisioned domain. We do this even if
Acorn DNS is disabled, and other conditions where the v1.Node lookup is
not required. This change makes it such that if Acorn DNS is specifically
disabled then don't lookup v1.Node objects.

Signed-off-by: Darren Shepherd <darren@acorn.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant