π€ Contributing to KubeBuddy powered by KubeDeck¶
π Thank you for considering contributing to KubeBuddy powered by KubeDeck! π
We welcome all contributions, whether itβs reporting bugs, suggesting improvements, updating documentation, or submitting code. This guide will help you contribute effectively.
π Getting Started¶
πΉ Fork & Clone the Repository¶
- Fork the repository by clicking the Fork button at the top-right of this page.
- Clone your forked repository:
git clone https://github.com/<your-username>/KubeBuddy.git cd KubeBuddy
- Add the main KubeBuddy repository as a remote:
git remote add upstream https://github.com/KubeDeckio/KubeBuddy.git
πΉ Set Up Your Development Environment¶
Before contributing, install the required dependencies:
β
PowerShell 7 or higher.
β
Install the powershell-yaml module:
Install-Module -Name powershell-yaml -Scope CurrentUser
π οΈ How to Contribute¶
π Reporting Bugs¶
If you find a bug, please open an issue with: - The environment you're using (OS, PowerShell version). - Steps to reproduce the issue. - Expected behavior vs actual behavior.
π Suggesting Features¶
Have an idea to improve KubeBuddy powered by KubeDeck? Weβd love to hear it! Open an issue and provide: - A clear description of the feature. - Specific use cases where it would be helpful.
π Creating a Branch¶
Always create a new branch before making changes:
git checkout -b feature/my-new-feature
π Submitting a Pull Request (PR)¶
- Test your changes to ensure they work as expected.
- Push your branch to your fork:
git push origin feature/my-new-feature
- Open a Pull Request:
- Go to your fork on GitHub and click "New pull request".
- Choose your branch and submit the PR to the
main
branch of KubeBuddy. - Provide a clear and detailed description of your changes.
π Code Standards¶
β
Follow PowerShell best practices.
β
Use meaningful commit messages (e.g., "Fix issue with cluster cleanup logic" instead of "Fix bug").
β
Comment your code to explain complex logic.
π Pull Request Review Process¶
All contributions will be reviewed by maintainers. Reviews may involve: - Suggesting improvements. - Requesting more information. - Testing changes before merging.
Please be patient, as review times may vary.
π Code of Conduct¶
We follow a Code of Conduct to ensure a respectful and inclusive community.
π Thank You!¶
Your contributions help make KubeBuddy powered by KubeDeck better! We appreciate your support in improving the project. π