-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(greenhousectl): setup local dev environment for plugin developers #775
base: main
Are you sure you want to change the base?
Conversation
adds hostPath mounts for plugin development
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks this looks nice. I am wondering if we could make it in such a way that if I were to add my own samples that they are not tracked by git. Like ignore all files prefixed with local (/dev-env/localenv/samples/local_*.yaml
).
Yes we can add |
Plugin developers can now develop and test their charts locally in a KinD cluster.
Example Usage:
if
PLUGIN_PATH
ENV is detected then the dev CLI will automatically generate a KinD configuration file with hostPath that mounts the specified path in env to the KinD control-plane node.make setup-plugin-dev
hook will setup -What type of PR is this? (check all applicable)
Related Tickets & Documents
Added tests?
Added to documentation?
Documentation will be handled in a separate PR.
Checklist