Contributing to kubectl-splunk
Contributions to the kubectl-splunk plugin are welcome! Please submit issues and pull requests via the project’s GitHub repository.
How to Contribute
-
Fork the Repository: Click the “Fork” button on the GitHub repository page to create your own copy
-
Clone Your Fork:
git clone https://github.com/splunk/splunk-operator.git cd tools/kubectl-splunk -
Create a Feature Branch:
git checkout -b feature/your-feature-name -
Make Your Changes: Implement your feature or bug fix. Ensure your code follows the project’s coding standards
-
Run Tests: Ensure all tests pass before committing
python -m unittest discover -s tests -
Commit Your Changes:
git commit -m "Add feature X to kubectl-splunk" -
Push to Your Fork:
git push origin feature/your-feature-name -
Open a Pull Request: Navigate to the original repository and open a pull request describing your changes
Coding Standards
- Follow PEP 8 for Python code style
- Write meaningful docstrings for modules, classes, and functions
- Ensure that your code is well-documented and maintainable
Reporting Issues
If you encounter any issues or bugs, please open an issue on the GitHub Issues page. Provide detailed information to help us understand and resolve the problem.