- Contributions
- Certificate of Origin
- Contributing A Patch
- Issue and Pull Request Management
- Pre-check before submitting a PR
- Build images
All contributions to the repository must be submitted under the terms of the Apache Public License 2.0.
By contributing to this project you agree to the Developer Certificate of Origin (DCO). This document was created by the Linux Kernel community and is a simple statement that you, as a contributor, have the legal right to make the contribution. See the DCO file for details.
- Submit an issue describing your proposed change to the repo in question.
- The repo owners will respond to your issue promptly.
- Fork the desired repo, develop and test your code changes.
- Submit a pull request.
Anyone may comment on issues and submit reviews for pull requests. However, in order to be assigned an issue or pull request, you must be a member of the stolostron GitHub organization.
Repo maintainers can assign you an issue or pull request by leaving a
/assign <your Github ID> comment on the issue or pull request.
When your code is ready to commit, please run following commands to check your code.
make buildMake sure your kubectl context is set to your target cluster.
This will run the code locally:
Debug the code in an editor ie. VSCode, Cursor
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cmd/main.go",
"args": [],
"showLog": true
}
]
}You will see the log output on the Debug Console. Create a MulticlusterRoleAssignment resource on the hub cluster and you will see corresponding ClusterPermission resources created for each managed cluster that's referenced.
To build the image.
make docker-build