Contributing #
- Install the follow packages:
git
,kubectl
,helm
,helm-docs
. See this tutorial. - [OPTIONAL] Configure authentication on your Github account to use the SSH protocol instead of HTTP. Watch this tutorial to learn how to set up: https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
- Create a fork this repository.
- Clone the forked repository to your local system:
|
|
- Add the address for the remote original repository:
|
|
- Create a branch. Example:
|
|
- Make sure you are on the correct branch using the following command. The branch in use contains the ‘*’ before the name.
|
|
- Make your changes and tests to the new branch.
- Run command
helm-docs
to update content ofREADME.md
file of all charts using theREADME.md.gotmpl
template. - Add a line to the
CHANGELOG.md
file of the modified chart with the changes made. - Commit the changes to the branch.
- Push files to repository remote with command:
|
|
- Create Pull Request (PR) to the
master
branch. See this tutorial - Update the content with the suggestions of the reviewer (if necessary).
- After your pull request is merged to the
master
branch, update your local clone:
|
|
- Clean up after your pull request is merged with command:
|
|
- Then you can update the
master
branch in your forked repository.
|
|
- And push the deletion of the feature branch to your GitHub repository with command:
|
|
- To keep your fork in sync with the original repository, use these commands:
|
|
Reference: