Skip to content

Commit fb8e4db

Browse files
update renovatebot
1 parent 39c9cb0 commit fb8e4db

19 files changed

+161
-257
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
namespace: renovate
5+
resources:
6+
- ../../common/renovatebot
7+
- renovate-external-secret.yaml
8+
patches:
9+
- target:
10+
kind: "CronJob"
11+
name: "renovate-github"
12+
patch: |-
13+
- op: add
14+
path: /spec/timeZone
15+
value: "Europe/Berlin"
16+
- op: replace
17+
path: /spec/schedule
18+
value: "0 10 * * 1-5"
19+
- target:
20+
kind: "CronJob"
21+
name: "renovate-gitlab"
22+
patch: |-
23+
- op: add
24+
path: /spec/timeZone
25+
value: "Europe/Berlin"
26+
- op: replace
27+
path: /spec/schedule
28+
value: "0 10 * * 1-5"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: external-secrets.io/v1beta1
3+
kind: ExternalSecret
4+
metadata:
5+
name: renovatebot
6+
spec:
7+
refreshInterval: 1h
8+
secretStoreRef:
9+
name: vault
10+
kind: ClusterSecretStore
11+
target:
12+
name: tokens
13+
creationPolicy: Owner
14+
data:
15+
- secretKey: RENOVATE_HOST_RULES
16+
remoteRef:
17+
key: secret/dqs.dd.soeren.cloud/renovate
18+
property: HOST_RULES
19+
- secretKey: github-token
20+
remoteRef:
21+
key: secret/dqs.dd.soeren.cloud/renovate
22+
property: github-token
23+
- secretKey: gitlab-token
24+
remoteRef:
25+
key: secret/dqs.dd.soeren.cloud/renovate
26+
property: gitlab-token

clusters/svc.dd.soeren.cloud/renovatebot/kustomization.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Kustomization
44
namespace: renovate
55
resources:
66
- ../../common/renovatebot
7-
- sops-secret-renovate.yaml
7+
- renovate-external-secret.yaml
88
patches:
99
- target:
1010
kind: CronJob
@@ -15,7 +15,7 @@ patches:
1515
value: "Europe/Berlin"
1616
- op: replace
1717
path: /spec/schedule
18-
value: "0 1 * * *"
18+
value: "0 12 * * 1-5"
1919
- target:
2020
kind: CronJob
2121
name: renovate-gitlab
@@ -25,4 +25,4 @@ patches:
2525
value: "Europe/Berlin"
2626
- op: replace
2727
path: /spec/schedule
28-
value: "0 10 * * *"
28+
value: "0 12 * * 1-5"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: external-secrets.io/v1beta1
3+
kind: ExternalSecret
4+
metadata:
5+
name: renovatebot
6+
spec:
7+
refreshInterval: 1h
8+
secretStoreRef:
9+
name: vault
10+
kind: ClusterSecretStore
11+
target:
12+
name: tokens
13+
creationPolicy: Owner
14+
data:
15+
- secretKey: RENOVATE_HOST_RULES
16+
remoteRef:
17+
key: secret/svc.dd.soeren.cloud/renovate
18+
property: HOST_RULES
19+
- secretKey: github-token
20+
remoteRef:
21+
key: secret/dqs.dd.soeren.cloud/renovate
22+
property: github-token
23+
- secretKey: gitlab-token
24+
remoteRef:
25+
key: secret/dqs.dd.soeren.cloud/renovate
26+
property: gitlab-token

clusters/svc.dd.soeren.cloud/renovatebot/sops-secret-renovate.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

clusters/svc.ez.soeren.cloud/renovatebot/kustomization.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Kustomization
44
namespace: renovate
55
resources:
66
- ../../common/renovatebot
7-
- sops-secret-renovate.yaml
7+
- renovate-external-secret.yaml
88
patches:
99
- target:
1010
kind: CronJob
@@ -15,7 +15,7 @@ patches:
1515
value: "Europe/Berlin"
1616
- op: replace
1717
path: /spec/schedule
18-
value: "0 1 * * *"
18+
value: "0 20 * * 1-5"
1919
- target:
2020
kind: CronJob
2121
name: renovate-gitlab
@@ -25,4 +25,4 @@ patches:
2525
value: "Europe/Berlin"
2626
- op: replace
2727
path: /spec/schedule
28-
value: "0 10 * * *"
28+
value: "0 20 * * 1-5"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: external-secrets.io/v1beta1
3+
kind: ExternalSecret
4+
metadata:
5+
name: renovatebot
6+
spec:
7+
refreshInterval: 1h
8+
secretStoreRef:
9+
name: vault
10+
kind: ClusterSecretStore
11+
target:
12+
name: tokens
13+
creationPolicy: Owner
14+
data:
15+
- secretKey: RENOVATE_HOST_RULES
16+
remoteRef:
17+
key: secret/svc.ez.soeren.cloud/renovate
18+
property: HOST_RULES
19+
- secretKey: github-token
20+
remoteRef:
21+
key: secret/dqs.dd.soeren.cloud/renovate
22+
property: github-token
23+
- secretKey: gitlab-token
24+
remoteRef:
25+
key: secret/dqs.dd.soeren.cloud/renovate
26+
property: gitlab-token

clusters/svc.ez.soeren.cloud/renovatebot/sops-secret-renovate.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

clusters/svc.pt.soeren.cloud/renovatebot/github/kustomization.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

clusters/svc.pt.soeren.cloud/renovatebot/github/renovate.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)