Skip to content

Commit 912b398

Browse files
authored
feat(renovate): update to new helm chart and images (#864)
Signed-off-by: David van der Spek <[email protected]>
1 parent 1ecf943 commit 912b398

File tree

8 files changed

+36
-33
lines changed

8 files changed

+36
-33
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
2-
- name: whitesource-renovate
3-
repository: https://mend.github.io/renovate-on-prem
4-
version: 3.1.4
5-
digest: sha256:ca1613ad4e7fb4d4716a67e43375c635dfc14687e42e617dc3086582f9e741e8
6-
generated: "2023-07-05T15:35:15.907830315Z"
2+
- name: mend-renovate-ce
3+
repository: https://mend.github.io/renovate-ce-ee
4+
version: 6.1.1
5+
digest: sha256:20868fbc40e77d650d51cad5e64391551852d0cb3448aa111e4900e1525f3659
6+
generated: "2023-10-06T10:44:41.993067+02:00"

renovate-on-prem/helm/renovate-on-prem/Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ apiVersion: v2
22
name: renovate-on-prem
33
description: helm chart for renovate-on-prem
44
type: application
5-
version: 0.2.1
6-
appVersion: 4.3.0
5+
version: 0.3.0
6+
appVersion: 6.1.1
77
dependencies:
8-
- name: whitesource-renovate
9-
repository: https://mend.github.io/renovate-on-prem
10-
version: 3.1.4
8+
- name: mend-renovate-ce
9+
repository: https://mend.github.io/renovate-ce-ee
10+
version: 6.1.1
Binary file not shown.
Binary file not shown.

renovate-on-prem/helm/renovate-on-prem/templates/runbooks.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ spec:
1616
prometheus:
1717
format: cpu
1818
legend: $pod
19-
query: sum(rate(container_cpu_usage_seconds_total{namespace="{{ .Release.Namespace }}",pod=~"{{ template "whitesource-renovate.fullname" (index .Subcharts "whitesource-renovate") }}.+"}[5m])) by (pod)
19+
query: sum(rate(container_cpu_usage_seconds_total{namespace="{{ .Release.Namespace }}",pod=~"{{ template "mend-renovate.fullname" (index .Subcharts "mend-renovate-ce") }}.+"}[5m])) by (pod)
2020
- name: renovate-memory
2121
type: prometheus
2222
prometheus:
2323
format: memory
2424
legend: $pod
25-
query: sum(container_memory_working_set_bytes{namespace="{{ .Release.Namespace }}",pod=~"{{ template "whitesource-renovate.fullname" (index .Subcharts "whitesource-renovate") }}.+"}) by (pod)
25+
query: sum(container_memory_working_set_bytes{namespace="{{ .Release.Namespace }}",pod=~"{{ template "mend-renovate.fullname" (index .Subcharts "mend-renovate-ce") }}.+"}) by (pod)
2626
- name: renovate
2727
type: kubernetes
2828
kubernetes:
2929
resource: deployment
30-
name: {{ template "whitesource-renovate.fullname" (index .Subcharts "whitesource-renovate") }}
30+
name: {{ template "mend-renovate.fullname" (index .Subcharts "mend-renovate-ce") }}
3131
actions:
3232
- name: scale
3333
action: config
@@ -36,28 +36,28 @@ spec:
3636
updates:
3737
- path:
3838
- renovate-on-prem
39-
- whitesource-renovate
39+
- mend-renovate-ce
4040
- resources
4141
- requests
4242
- cpu
4343
valueFrom: renovate-cpu
4444
- path:
4545
- renovate-on-prem
46-
- whitesource-renovate
46+
- mend-renovate-ce
4747
- resources
4848
- requests
4949
- memory
5050
valueFrom: renovate-memory
5151
- path:
5252
- renovate-on-prem
53-
- whitesource-renovate
53+
- mend-renovate-ce
5454
- resources
5555
- limits
5656
- cpu
5757
valueFrom: renovate-cpu-limit
5858
- path:
5959
- renovate-on-prem
60-
- whitesource-renovate
60+
- mend-renovate-ce
6161
- resources
6262
- limits
6363
- memory

renovate-on-prem/helm/renovate-on-prem/values.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
secrets: {}
22

3-
whitesource-renovate:
3+
mend-renovate-ce:
44
image:
5-
repository: dkr.plural.sh/renovate-on-prem/whitesource/renovate
6-
tag: 4.3.0
5+
repository: dkr.plural.sh/renovate-on-prem/mend/renovate-ce
6+
tag: 6.1.1-full
7+
renovate:
8+
mendRnvAdminApiEnabled: true
79
ingress:
810
enabled: true
911
ingressClassName: nginx

renovate-on-prem/helm/renovate-on-prem/values.yaml.tpl

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ global:
44
- description: renovate public endpoint
55
url: {{ .Values.hostname }}
66

7-
whitesource-renovate:
7+
mend-renovate-ce:
88
ingress:
99
hosts:
1010
- {{ .Values.hostname }}
@@ -14,28 +14,29 @@ whitesource-renovate:
1414
- {{ .Values.hostname }}
1515
renovate:
1616
{{- if .Values.acceptTos }}
17-
acceptWhiteSourceTos: "y"
17+
mendRnvAcceptTos: "y"
1818
{{- end }}
19-
licenseKey: {{ .Values.licenseKey }}
20-
renovatePlatform: {{ .Values.platform }}
19+
mendRnvLicenseKey: {{ .Values.licenseKey }}
20+
mendRnvServerApiSecret: {{ dedupe . "renovate-on-prem.mend-renovate-ce.renovate.mendRnvServerApiSecret" (randAlphaNum 32) }}
21+
mendRnvPlatform: {{ .Values.platform }}
2122
{{- if .Values.renovateEndpoint }}
22-
renovateEndpoint: {{ .Values.renovateEndpoint }}
23+
mendRnvEndpoint: {{ .Values.renovateEndpoint }}
2324
{{- else if eq .Values.platform "github" }}
24-
renovateEndpoint: https://api.github.com/
25+
mendRnvEndpoint: https://api.github.com/
2526
{{- else if eq .Values.platform "gitlab" }}
26-
renovateEndpoint: https://gitlab.com/api/v4/
27+
mendRnvEndpoint: https://gitlab.com/api/v4/
2728
{{- end }}
2829
{{- if .Values.githubAppId }}
29-
githubAppId: {{ .Values.githubAppId | quote }}
30+
mendRnvGithubAppId: {{ .Values.githubAppId | quote }}
3031
{{- end }}
3132
{{- if .Values.githubAppKey }}
32-
githubAppKey: {{ .Values.githubAppKey | quote }}
33+
mendRnvGithubAppKey: {{ .Values.githubAppKey | quote }}
3334
{{- end }}
3435
{{- if .Values.webhookSecret }}
35-
webhookSecret: {{ .Values.webhookSecret }}
36+
mendRnvWebhookSecret: {{ .Values.webhookSecret }}
3637
{{- end }}
3738
{{- if .Values.renovateToken }}
38-
renovateToken: {{ .Values.renovateToken }}
39+
mendRnvGitlabPat: {{ .Values.renovateToken }}
3940
{{- end }}
4041
{{- if .Values.githubComToken }}
4142
githubComToken: {{ .Values.githubComToken }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
docker.io:
1+
ghcr.io:
22
images-by-tag-regex:
33
# the below regex can be used to limit the regex range so that only versions >= 2.6.0 are matched
4-
whitesource/renovate: (?:^v?2\.(?:(?:[^0-5]{1})?(?:[6-9]{1}|[0-9]{2}))+?\.[0-9]+$)|(?:^v?(?:(?:[^0-2]{1})?(?:[3-9]{1}|[0-9]{2}))+\.[0-9]+?\.[0-9]+$)
4+
mend/renovate-ce: (?:^v?2\.(?:(?:[^0-5]{1})?(?:[6-9]{1}|[0-9]{2}))+?\.[0-9]+-full$)|(?:^v?(?:(?:[^0-2]{1})?(?:[3-9]{1}|[0-9]{2}))+\.[0-9]+?\.[0-9]+-full$)

0 commit comments

Comments
 (0)