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

Remove clientconfig and related global variables #901

Merged
merged 6 commits into from
Aug 4, 2022

Conversation

josvazg
Copy link
Collaborator

@josvazg josvazg commented Aug 3, 2022

Description of the change

Remove the clientConfig and namespace wrapper func namespaceFromClientConfig global variables.

Benefits

Disentangle the code so we can make further enhancements, such as get rid of the run method with a gazillion unnamed arguments.

@josvazg josvazg mentioned this pull request Aug 4, 2022
@alemorcuq alemorcuq added enhancement backlog Issues/PRs that will be included in the project roadmap labels Aug 4, 2022
@josvazg josvazg force-pushed the remove-client-related-globals branch from b9b3df0 to 5702ecc Compare August 4, 2022 12:57
@josvazg
Copy link
Collaborator Author

josvazg commented Aug 4, 2022

I made a mistake solving conflicts...

cmd/kubeseal/main.go Outdated Show resolved Hide resolved
cmd/kubeseal/main.go Outdated Show resolved Hide resolved
cmd/kubeseal/main.go Show resolved Hide resolved
cmd/kubeseal/main.go Outdated Show resolved Hide resolved
Co-authored-by: Alejandro Moreno <[email protected]>
cmd/kubeseal/main_test.go Outdated Show resolved Hide resolved
cmd/kubeseal/main.go Outdated Show resolved Hide resolved
@josvazg josvazg self-assigned this Aug 4, 2022
@josvazg josvazg merged commit ff20fbe into bitnami-labs:main Aug 4, 2022
@josvazg josvazg deleted the remove-client-related-globals branch December 14, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues/PRs that will be included in the project roadmap enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants