Skip to content

🀝 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

  1. Fork the repository by clicking the Fork button at the top-right of this page.
  2. Clone your forked repository:
    git clone https://github.com/<your-username>/KubeBuddy.git
    cd KubeBuddy
    
  3. 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)

  1. Test your changes to ensure they work as expected.
  2. Push your branch to your fork:
    git push origin feature/my-new-feature
    
  3. Open a Pull Request:
  4. Go to your fork on GitHub and click "New pull request".
  5. Choose your branch and submit the PR to the main branch of KubeBuddy.
  6. 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. πŸš€