Skip to content

feat: use factory based configurations#17

Merged
scotwells merged 1 commit intomainfrom
feat/cli-configuration-factory
Jan 5, 2026
Merged

feat: use factory based configurations#17
scotwells merged 1 commit intomainfrom
feat/cli-configuration-factory

Conversation

@scotwells
Copy link
Contributor

@scotwells scotwells commented Jan 5, 2026

Summary

CLI developers that are importing the activity command need the ability to define how the kubeconfig used by the activity client is created so they can tailor the experience to the CLI they're building.

For example, a normal kubectl-plugin would use the standard k8s kubectl file on the machine to connect to the kubernetes cluster. But when building a CLI for datumctl, we want to pass the kubeconfig into the CLI command through the factory so the CLI can build the appropriate kubeconfig based on the context the user is querying the system in.

Details

This PR updates the activity command to support passing in a kubeconfig factory to use for building the REST config to use with the k8s client.


Relates to datum-cloud/enhancements#536

@scotwells scotwells merged commit e41465a into main Jan 5, 2026
4 checks passed
@scotwells scotwells deleted the feat/cli-configuration-factory branch January 5, 2026 23:45
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.

2 participants