|
| 1 | +{ |
| 2 | + "enabled": true, |
| 3 | + "semanticCommits": "enabled", |
| 4 | + "dependencyDashboard": true, |
| 5 | + "dependencyDashboardTitle": "Renovate Dashboard", |
| 6 | + "suppressNotifications": ["prIgnoreNotification"], |
| 7 | + "rebaseWhen": "conflicted", |
| 8 | + "helm-values": { |
| 9 | + "fileMatch": [ |
| 10 | + "cluster/.+/helm-release\\.yaml$" |
| 11 | + ] |
| 12 | + }, |
| 13 | + "kubernetes": { |
| 14 | + "fileMatch": [ |
| 15 | + "cluster/.+\\.yaml$" |
| 16 | + ], |
| 17 | + "ignorePaths": [ |
| 18 | + "cluster/base/" |
| 19 | + ], |
| 20 | + }, |
| 21 | + "regexManagers": [ |
| 22 | + // regexManager to read and process HelmReleases and CRDs |
| 23 | + { |
| 24 | + "fileMatch": [ |
| 25 | + "cluster/.+\\.yaml$" |
| 26 | + ], |
| 27 | + "matchStrings": [ |
| 28 | + // helm releases |
| 29 | + "registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n", |
| 30 | + // cert-manager crd |
| 31 | + "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/" |
| 32 | + ], |
| 33 | + "datasourceTemplate": "helm" |
| 34 | + }, |
| 35 | + ], |
| 36 | + "packageRules": [ |
| 37 | + // setup datasources |
| 38 | + { |
| 39 | + "matchDatasources": ["helm"], |
| 40 | + "separateMinorPatch": true, |
| 41 | + "ignoreDeprecated": true |
| 42 | + }, |
| 43 | + // global docker datasource settings |
| 44 | + { |
| 45 | + "matchDatasources": ["docker"], |
| 46 | + "enabled": true, |
| 47 | + "commitMessageTopic": "container image {{depName}}", |
| 48 | + "commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", |
| 49 | + "matchUpdateTypes": ["major", "minor", "patch"], |
| 50 | + }, |
| 51 | + // add labels according to package and update types |
| 52 | + { |
| 53 | + "matchDatasources": ["docker"], |
| 54 | + "matchUpdateTypes": ["major"], |
| 55 | + "labels": ["renovate/image", "dep/major"] |
| 56 | + }, |
| 57 | + { |
| 58 | + "matchDatasources": ["docker"], |
| 59 | + "matchUpdateTypes": ["minor"], |
| 60 | + "labels": ["renovate/image", "dep/minor"] |
| 61 | + }, |
| 62 | + { |
| 63 | + "matchDatasources": ["docker"], |
| 64 | + "matchUpdateTypes": ["patch"], |
| 65 | + "labels": ["renovate/image", "dep/patch"] |
| 66 | + }, |
| 67 | + { |
| 68 | + "matchDatasources": ["helm"], |
| 69 | + "matchUpdateTypes": ["major"], |
| 70 | + "labels": ["renovate/helm", "dep/major"] |
| 71 | + }, |
| 72 | + { |
| 73 | + "matchDatasources": ["helm"], |
| 74 | + "matchUpdateTypes": ["minor"], |
| 75 | + "labels": ["renovate/helm", "dep/minor"] |
| 76 | + }, |
| 77 | + { |
| 78 | + "matchDatasources": ["helm"], |
| 79 | + "matchUpdateTypes": ["patch"], |
| 80 | + "labels": ["renovate/helm", "dep/patch"] |
| 81 | + } |
| 82 | + ] |
| 83 | +} |
0 commit comments