kraftkit
kraftkit copied to clipboard
Filter kraft cloud images by namespace
Feature request summary
This ticket tracks adding the ability to filter images retrieved by kraft cloud image ls
by namespace. This can be done by introducing a new flag, --namespace
.
Describe alternatives
No response
Related architectures
None
Related platforms
None
Additional context
No response
This needs refinement. The important part is not about adding a flag here, but what users should expect to be able to do and how.
For instance:
- Can a user request images from multiple namespaces at a time? (note that I am not asking about technicals, such as whether the flag can be passed multiple times or if it should accept comma delimited values)
- Can a KraftCloud user even list anything besides their own namespace and "official"?
- Should the namespace reflect the user name, or friendly aliases such as "owner" vs. "official"? This is important because, when we hand over tokens, the user name that they were assigned is not explicit to the user.
- I don't think this is a requirement. We can add a comma separated list if this is requested by users
- Not the regular user in the default config. But it is just a matter of setting additional permissions. For example, this is the case with some internal accounts like
test
- We always give the username and the token. I would also keep this and not hide it by
owner
. We can configure users to have access to multiple projects.