forked from kyma-project/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
secret-rotation-data.yaml
83 lines (83 loc) · 3.87 KB
/
secret-rotation-data.yaml
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
templates:
- from: generic.tmpl
render:
- to: ../../prow/jobs/test-infra/gardener-kubeconfig-rotation.yaml
localSets:
secret_sa:
labels:
preset-sa-secret-update: "true"
jobConfigs:
- repoName: "kyma-project/test-infra"
jobs:
- jobConfig:
name: "secrets-rotate-gardener-neighbors"
annotations:
owner: neighbors
description: "Rotate kubeconfig for Gardener neighbors project"
slack_channel: kyma-prow-alerts
cron: "0 5 1 * *" # At 05:00 on day-of-month 1.
command: "/ko-app/gardener-rotate"
args:
- "--service-account=/etc/credentials/sa-secret-update/service-account.json"
- "--kubeconfig=/etc/credentials/gardener-neighbors/kubeconfig"
- "--config-file=/home/prow/go/src/github.com/kyma-project/test-infra/development/gardener-rotate/gardener-neighbors-config.yaml"
- "--dry-run=false"
cluster: "trusted-workload"
labels:
preset-gardener-neighbors: "true"
inheritedConfigs:
local:
- "secret_sa"
global:
- "image_gardener-rotate"
- "jobConfig_periodic"
- "jobConfig_default"
- "extra_refs_test-infra"
- jobConfig:
name: "secrets-rotate-gardener-prow"
annotations:
owner: prow
description: "Rotate kubeconfig for Gardener prow project"
slack_channel: kyma-prow-alerts
cron: "0 5 1 * *" # At 05:00 on day-of-month 1.
command: "/ko-app/gardener-rotate"
args:
- "--service-account=/etc/credentials/sa-secret-update/service-account.json"
- "--kubeconfig=/etc/credentials/gardener-kyma-prow-rotate/kubeconfig"
- "--config-file=/home/prow/go/src/github.com/kyma-project/test-infra/development/gardener-rotate/gardener-kyma-prow-config.yaml"
- "--dry-run=false"
cluster: "trusted-workload"
labels:
preset-gardener-kyma-rotate-kubeconfig: "true"
inheritedConfigs:
local:
- "secret_sa"
global:
- "image_gardener-rotate"
- "jobConfig_periodic"
- "jobConfig_default"
- "extra_refs_test-infra"
- jobConfig:
name: "secrets-rotate-gardener-kyma-dev"
annotations:
owner: kyma-team
description: "Rotate kubeconfig for Gardener kyma-dev project"
slack_channel: kyma-prow-alerts
cron: "0 5 1 * *" # At 05:00 on day-of-month 1.
command: "/ko-app/gardener-rotate"
args:
- "--service-account=/etc/credentials/sa-secret-update/service-account.json"
- "--kubeconfig=/gardener/kubeconfig"
- "--config-file=/home/prow/go/src/github.com/kyma-project/test-infra/development/gardener-rotate/gardener-kyma-dev-config.yaml"
- "--dry-run=false"
cluster: "trusted-workload"
labels:
preset-keb-dev-credentials: "true"
inheritedConfigs:
local:
- "secret_sa"
global:
- "image_gardener-rotate"
- "jobConfig_periodic"
- "jobConfig_default"
- "extra_refs_test-infra"