-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
117 lines (117 loc) · 3.29 KB
/
renovate.json
File metadata and controls
117 lines (117 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommits",
":automergeBranch",
":automergeMinor",
":skipStatusChecks",
":timezone(Asia/Ho_Chi_Minh)",
":disableRateLimiting"
],
"schedule": ["* * * * 0,6"],
"kubernetes": {
"enabled": true,
"managerFilePatterns": ["/kubernetes/.+\\.yaml$/"]
},
"kustomize": {
"enabled": true
},
"flux": {
"enabled": true,
"managerFilePatterns": ["/kubernetes/.+\\.yaml$/"]
},
"helm-values": {
"enabled": true,
"managerFilePatterns": [
"/kubernetes/.*values\\.ya?ml$/",
"/kubernetes/.*/values/.+\\.ya?ml$/"
]
},
"git-submodules": {
"enabled": true
},
"packageRules": [
{
"matchManagers": ["git-submodules"],
"matchUpdateTypes": ["digest"],
"automerge": true
},
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["digest"],
"matchPackageNames": ["ghcr.io/kevinnitrog/homelab/**"],
"automerge": true
},
{
"matchDatasources": ["helm"],
"matchPackageNames": ["authentik"],
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"matchDatasources": ["helm"],
"matchPackageNames": ["authentik"],
"matchUpdateTypes": ["major", "minor"],
"automerge": false
},
{
"groupName": "istio",
"matchPackageNames": [
"/^gcr.io/istio-release/charts/",
"github:istio/istio"
]
},
{
"groupName": "CNPG",
"matchPackageNames": [
"ghcr.io/cloudnative-pg/charts/cloudnative-pg",
"github:cloudnative-pg/cloudnative-pg"
]
},
{
"groupName": "Flux2",
"matchPackageNames": ["fluxcd/flux2", "flux2"]
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/(^|/).*dashboard.yaml$/"],
"matchStrings": [
"dashboards\\/(?<depName>\\d+)\\/revisions\\/(?<currentValue>\\d+)\\/download"
],
"datasourceTemplate": "custom.grafana-dashboards",
"versioningTemplate": "regex:^(?<major>\\d+)$",
"autoReplaceStringTemplate": "dashboards/{{depName}}/revisions/{{newValue}}/download"
},
{
"customType": "regex",
"managerFilePatterns": ["/(^|/)kustomization\\.yaml$/"],
"matchStrings": [
"https://raw\\.githubusercontent\\.com/(?<depName>[\\w-]+/[\\w-]+)/(?<currentValue>v?[\\w\\.-]+)(?:/.*)?",
"https://github\\.com/(?<depName>[\\w-]+/[\\w-]+)/releases/download/(?<currentValue>v?[\\w\\.-]+)(?:/.*)?"
],
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"managerFilePatterns": ["/\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+imageTag: \"?(?<currentValue>[^\"\\s]+)\"?"
],
"datasourceTemplate": "{{{datasource}}}",
"depNameTemplate": "{{{depName}}}"
}
],
"customDatasources": {
"grafana-dashboards": {
"defaultRegistryUrlTemplate": "https://grafana.com/api/dashboards/{{packageName}}",
"format": "json",
"transformTemplates": [
"{\"releases\":[{\"version\": $string(revision)}], \"sourceDirectory\": name}"
]
}
},
"ignorePaths": ["**/*.sops.*", "config/**", "**/.archive/**"]
}