forked from horizoncd/horizon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
90 lines (89 loc) · 2.28 KB
/
config.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
84
85
86
87
88
89
90
serverConfig:
port: 8080
cloudEventServerConfig:
port: 8181
jobConfig:
lockName: horizon-lock
lockNS: horizoncd
leaseDuration: 15
renewDeadline: 10
retryPeriod: 2
dbConfig:
host: ""
port: 3331
username: ""
password: ""
database: ""
prometheusEnabled: true
kubeconfig: ""
sessionConfig:
maxAge: 43200
redisConfig:
protocol: tcp
address: ""
password: ""
db: 1
gitRepos: []
gitopsRepoConfig:
rootGroupPath: ""
url:
token:
templateRepo:
kind: "harbor"
host: ""
repoName: "horizon-template"
username: ""
password: ""
insecure: true
certFile: ""
keyFile: ""
caFile: ""
argoCDMapper:
dev,test,reg,perf,beta,pre,online:
url: ""
token: ""
namespace: ""
tektonMapper:
dev,test,reg,perf,beta,pre,online:
server: ""
namespace: ""
# if you run horizon on local machine, you need to set this to the absolute path of your kubeconfig
# if you are running it on mac, the path may be looked like '/Users/xxx/.kube/config'
kubeconfig: "/Users/xxx/.kube/config"
logStorage:
# the following types of log storage are supported:
# s3: Minio is used by default, and you can also specify your own s3 storage.
# dummy: A dummy log storage. Building logs are not stored and Horizon gets them directly from k8s.
type: dummy
accessKey: ""
secretKey: ""
region: ""
endpoint: ""
bucket: ""
disableSSL: false
skipVerify: true
s3ForcePathStyle: true
grafanaConfig:
host: http://localhost:3000
namespace: horizon
dashboards:
# label that the configmaps with dashboards are marked with
labelKey: grafana_dashboard
# value of label that the configmaps with dashboards are set to
labelValue: "1"
syncDatasourceConfig:
period: 2m
# label that the configmaps with datasources are marked with
labelKey: grafana_datasource
# value of label that the configmaps with datasources are set to
labelValue: "1"
oauth:
# if you run horizon on local machine, you need to set this to the absolute path of your auth.html
# for example ${projectdir}/core/http/api/v1/oauthserver/auth.html
oauthHTMLLocation: ""
authorizeCodeExpireIn: 10m
accessTokenExpireIn: 24h
refreshTokenExpireIn: 720h
tokenConfig:
jwtSigningKey: ""
callbackTokenExpireIn: 2h