|
1 | 1 | {
|
2 |
| - "enabled": true, |
3 |
| - "semanticCommits": "enabled", |
4 |
| - "dependencyDashboard": true, |
5 |
| - "dependencyDashboardTitle": "Renovate Dashboard", |
6 |
| - "suppressNotifications": ["prIgnoreNotification"], |
7 |
| - "rebaseWhen": "conflicted", |
8 |
| - "schedule": [ |
9 |
| - "every weekend" |
10 |
| - ], |
| 2 | + enabled: true, |
| 3 | + semanticCommits: "enabled", |
| 4 | + dependencyDashboard: true, |
| 5 | + dependencyDashboardTitle: "Renovate Dashboard", |
| 6 | + suppressNotifications: ["prIgnoreNotification"], |
| 7 | + rebaseWhen: "conflicted", |
| 8 | + schedule: ["every weekend"], |
11 | 9 | // set up ignored deps
|
12 |
| - "ignoreDeps": [ |
| 10 | + ignoreDeps: [ |
13 | 11 | "ghcr.io/fluxcd/helm-controller",
|
14 | 12 | "ghcr.io/fluxcd/image-automation-controller",
|
15 | 13 | "ghcr.io/fluxcd/image-reflector-controller",
|
16 | 14 | "ghcr.io/fluxcd/kustomize-controller",
|
17 | 15 | "ghcr.io/fluxcd/notification-controller",
|
18 |
| - "ghcr.io/fluxcd/source-controller" |
| 16 | + "ghcr.io/fluxcd/source-controller", |
19 | 17 | ],
|
20 | 18 | "pre-commit": {
|
21 |
| - "enabled": true |
| 19 | + enabled: true, |
22 | 20 | },
|
23 |
| - "flux": { |
24 |
| - "fileMatch": [ |
25 |
| - "cluster/.+\\.ya?ml$" |
26 |
| - ] |
| 21 | + flux: { |
| 22 | + fileMatch: ["cluster/.+\\.ya?ml$"], |
27 | 23 | },
|
28 | 24 | "helm-values": {
|
29 |
| - "fileMatch": [ |
30 |
| - "cluster/.+\\.ya?ml$" |
31 |
| - ] |
| 25 | + fileMatch: ["cluster/.+\\.ya?ml$"], |
32 | 26 | },
|
33 |
| - "kubernetes": { |
34 |
| - "fileMatch": [ |
| 27 | + kubernetes: { |
| 28 | + fileMatch: [ |
35 | 29 | "cluster/.+\\.ya?ml$",
|
36 |
| - "provision/ansible/playbooks/templates/.+\\.ya?ml.j2$" |
37 |
| - ] |
| 30 | + "provision/ansible/playbooks/templates/.+\\.ya?ml.j2$", |
| 31 | + ], |
38 | 32 | },
|
39 |
| - "regexManagers": [ |
| 33 | + regexManagers: [ |
40 | 34 | // regexManager to read and process HelmRelease files
|
41 | 35 | {
|
42 |
| - "fileMatch": [ |
43 |
| - "cluster/.+\\.ya?ml$" |
44 |
| - ], |
45 |
| - "matchStrings": [ |
| 36 | + fileMatch: ["cluster/.+\\.ya?ml$"], |
| 37 | + matchStrings: [ |
46 | 38 | // helm releases
|
47 |
| - "registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n" |
| 39 | + "registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n", |
48 | 40 | ],
|
49 |
| - "datasourceTemplate": "helm" |
| 41 | + datasourceTemplate: "helm", |
50 | 42 | },
|
51 | 43 | // regexManager to read and process cert-manager CRD's
|
52 | 44 | {
|
53 |
| - "fileMatch": [ |
54 |
| - "cluster/crds/cert-manager/.+\\.ya?ml$" |
| 45 | + fileMatch: ["cluster/crds/cert-manager/.+\\.ya?ml$"], |
| 46 | + matchStrings: [ |
| 47 | + "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/", |
55 | 48 | ],
|
56 |
| - "matchStrings": [ |
57 |
| - "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/" |
58 |
| - ], |
59 |
| - "datasourceTemplate": "helm" |
| 49 | + datasourceTemplate: "helm", |
60 | 50 | },
|
61 | 51 | // regexManager to read and process Traefik CRD's
|
62 | 52 | {
|
63 |
| - "fileMatch": [ |
64 |
| - "cluster/crds/traefik/.+\\.ya?ml$" |
65 |
| - ], |
66 |
| - "matchStrings": [ |
67 |
| - "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n" |
| 53 | + fileMatch: ["cluster/crds/traefik/.+\\.ya?ml$"], |
| 54 | + matchStrings: [ |
| 55 | + "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n", |
68 | 56 | ],
|
69 |
| - "datasourceTemplate": "helm" |
70 |
| - } |
| 57 | + datasourceTemplate: "helm", |
| 58 | + }, |
71 | 59 | ],
|
72 |
| - "packageRules": [ |
| 60 | + packageRules: [ |
73 | 61 | // setup datasources
|
74 | 62 | {
|
75 |
| - "matchDatasources": ["helm"], |
76 |
| - "separateMinorPatch": true, |
77 |
| - "ignoreDeprecated": true |
| 63 | + matchDatasources: ["helm"], |
| 64 | + separateMinorPatch: true, |
| 65 | + ignoreDeprecated: true, |
78 | 66 | },
|
79 | 67 | // global docker datasource settings
|
80 | 68 | {
|
81 |
| - "matchDatasources": ["docker"], |
82 |
| - "enabled": true, |
83 |
| - "commitMessageTopic": "container image {{depName}}", |
84 |
| - "commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", |
85 |
| - "matchUpdateTypes": ["major", "minor", "patch"] |
| 69 | + matchDatasources: ["docker"], |
| 70 | + enabled: true, |
| 71 | + commitMessageTopic: "container image {{depName}}", |
| 72 | + commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", |
| 73 | + matchUpdateTypes: ["major", "minor", "patch"], |
86 | 74 | },
|
87 | 75 | // add labels according to package and update types
|
88 | 76 | {
|
89 |
| - "matchDatasources": ["docker"], |
90 |
| - "matchUpdateTypes": ["major"], |
91 |
| - "labels": ["renovate/image", "dep/major"] |
| 77 | + matchDatasources: ["docker"], |
| 78 | + matchUpdateTypes: ["major"], |
| 79 | + labels: ["renovate/image", "dep/major"], |
92 | 80 | },
|
93 | 81 | {
|
94 |
| - "matchDatasources": ["docker"], |
95 |
| - "matchUpdateTypes": ["minor"], |
96 |
| - "labels": ["renovate/image", "dep/minor"] |
| 82 | + matchDatasources: ["docker"], |
| 83 | + matchUpdateTypes: ["minor"], |
| 84 | + labels: ["renovate/image", "dep/minor"], |
97 | 85 | },
|
98 | 86 | {
|
99 |
| - "matchDatasources": ["docker"], |
100 |
| - "matchUpdateTypes": ["patch"], |
101 |
| - "labels": ["renovate/image", "dep/patch"] |
| 87 | + matchDatasources: ["docker"], |
| 88 | + matchUpdateTypes: ["patch"], |
| 89 | + labels: ["renovate/image", "dep/patch"], |
102 | 90 | },
|
103 | 91 | {
|
104 |
| - "matchDatasources": ["helm"], |
105 |
| - "matchUpdateTypes": ["major"], |
106 |
| - "labels": ["renovate/helm", "dep/major"] |
| 92 | + matchDatasources: ["helm"], |
| 93 | + matchUpdateTypes: ["major"], |
| 94 | + labels: ["renovate/helm", "dep/major"], |
107 | 95 | },
|
108 | 96 | {
|
109 |
| - "matchDatasources": ["helm"], |
110 |
| - "matchUpdateTypes": ["minor"], |
111 |
| - "labels": ["renovate/helm", "dep/minor"] |
| 97 | + matchDatasources: ["helm"], |
| 98 | + matchUpdateTypes: ["minor"], |
| 99 | + labels: ["renovate/helm", "dep/minor"], |
112 | 100 | },
|
113 | 101 | {
|
114 |
| - "matchDatasources": ["helm"], |
115 |
| - "matchUpdateTypes": ["patch"], |
116 |
| - "labels": ["renovate/helm", "dep/patch"] |
117 |
| - } |
118 |
| - ] |
| 102 | + matchDatasources: ["helm"], |
| 103 | + matchUpdateTypes: ["patch"], |
| 104 | + labels: ["renovate/helm", "dep/patch"], |
| 105 | + }, |
| 106 | + ], |
119 | 107 | }
|
0 commit comments