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

Move namespace mapping to ~/.config/warg/config.json #294

Open
lann opened this issue May 17, 2024 · 1 comment
Open

Move namespace mapping to ~/.config/warg/config.json #294

lann opened this issue May 17, 2024 · 1 comment

Comments

@lann
Copy link
Collaborator

lann commented May 17, 2024

It currently goes in ~/.cache/warg/namespaces, which seems wrong for this kind of configuration.

@calvinrp
Copy link
Collaborator

calvinrp commented May 17, 2024

Currently, there isn't a user config option to set a namespace mapping to a registry domain. This namespace mapping is only for hint header accepted mappings and operator log import namespace mappings.

When you do warg reset or change your home registry (which does a warg reset), the namespace mappings are removed.

So it probably makes sense in the current cache path along side the package log cache, given the behavior.

When we add user configurable namespace mappings, they should be part of the config, as you are suggesting here.

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

2 participants