Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 2.37 KB

CONTRIBUTING.md

File metadata and controls

59 lines (38 loc) · 2.37 KB

Contributing Guide

We'd love your help!

How to Contribute

  1. Fork this repository
  2. Develop, and test your changes
  3. Submit a pull request

Remember to always work in a branch of your local copy, as you might otherwise have to contend with conflicts in master.

Please also see GitHub workflow section of general project contributing guide.

Technical Requirements

Once changes have been merged, the release job will automatically run to package and release changed charts.

Immutability

Chart releases must be immutable. Any change to a chart warrants a chart version bump even if it is only changed to the documentation.

Versioning

The chart version should follow semver.

All changes to a chart require a version bump, following semvar.

Any breaking (backwards incompatible) changes to a chart should:

  1. Bump the MINOR version
  2. In the README, under a section called "Upgrading", describe the manual steps necessary to upgrade to the new (specified) MAJOR version

Examples

All charts maintain examples for the current version. After updating the version, examples must be updated with the make generate-examples target.

The default generate-examples command will update all charts. In order generate a chart's examples you must have the chart's dependencies added to your helm repo.

If you need update a single chart's examples you can use the CHARTS variable. For example, if you want to update only the collector chart's examples you can run make generate-examples CHARTS=opentelemetry-collector

New examples should be added as independent folders in the respective chart's examples folder. Examples should always contain a values.yaml and a rendered folder.

Chart-specific Contributing Guides