Skip to content

Commit

Permalink
Merge pull request #13 from small-hack/update-renovate-bot-for-helmv3
Browse files Browse the repository at this point in the history
add new renovate.json parameters to automatically catch helmv3 sub-chart updates
  • Loading branch information
jessebot authored May 31, 2024
2 parents 8d99643 + 3e301d9 commit cfba9c7
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,32 @@
}
],
"packageRules": [
{
"description": "Fix subchart archives for helm chart",
"matchManagers": ["helmv3"],
"postUpdateOptions": ["helmUpdateSubChartArchives"]
},
{
"description": "Fix version in Chart.yaml after helmv3 dep patch updates",
"matchUpdateTypes": ["patch"],
"matchManagers": ["helmv3"],
"bumpVersion": "patch"
},
{
"description": "Fix version in Chart.yaml after helmv3 dep minor updates",
"matchUpdateTypes": ["minor"],
"matchManagers": ["helmv3"],
"bumpVersion": "minor"
},
{
"description": "Fix version in Chart.yaml after helmv3 dep major updates",
"matchUpdateTypes": ["major"],
"matchManagers": ["helmv3"],
"bumpVersion": "major"
},
{
"description": "Bump helm chart versions by a patch when updating values files. Digests, pins, rollbacks, replacements and pinDigest updates are deliberately ignored since in our use case, these need a manual decision about the version bump for the chart. This can be removed when https://github.com/renovatebot/renovate/issues/8231 is implemented and enabled.",
"matchManagers": ["helm-values", "helmv3", "regex", "helm-requirements"],
"matchManagers": ["helm-values", "regex"],
"postUpgradeTasks": {
"commands": [
"bash scripts/bump-chart-version.sh '{{{updateType}}}'"
Expand Down

0 comments on commit cfba9c7

Please sign in to comment.