Skip to content

Conversation

@liam-mackie
Copy link
Collaborator

This PR standardises namespace access and lookup. Now, namespaces are cached using an expirable LRU cache (only 1 entry, but easier than managing the expiry logic ourselves) if being looked up. If namespaces have been set on startup, the cache is never instantiated.

Namespaces are obtained during planning, and then stored in the plan, and not re-obtained from the cache. This allows the validation step to be more idempotent.

We also no longer default to creating SAs in the default namespace, and instead, return an error which is written to the WSA to let users know that there is an issue discovering/using namespaces.

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.

1 participant