-
Notifications
You must be signed in to change notification settings - Fork 13
/
values.yaml
147 lines (135 loc) · 4.36 KB
/
values.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Default values for mychart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
namespace: test-screwdriver
env: prod
# Set it to true if your apps are running with https protocol
https: false
# Please enable it for RBAC enabled k8s cluster
rbac:
enabled: true
# To install nginx, please refer to https://kubernetes.github.io/ingress-nginx/deploy/
nginx:
# If your k8s cluster does not use nginx as Load Balancer, set it to false
enabled: true
ingress:
# Use tls or not, if set to true, please refer to ingress.yaml and create tls secrets accordingly
# Reference: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
tls: false
annotations:
# Override these annotations based on your load balancer configurations
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
kubernetes.io/tls-acme: "true"
# This property allows for reports up to a certain size to be uploaded to SonarQube
# nginx.ingress.kubernetes.io/proxy-body-size: "8m"
hosts:
api: test-api.screwdriver.cd
ui: test-cd.screwdriver.cd
store: test-store.screwdriver.cd
queue: test-queue.screwdriver.cd
# Enabled singleHost if your api, store, ui are sharing the same host with different path
singleHost:
enabled: false
# Same host with different path example
# apiPath: /api
# uiPath: /ui
# storePath: /store
apiPath: ""
uiPath: ""
storePath: ""
queuePath: ""
# Set up build notifications or not, if yes please add notification config in your screwdirver-api-secret file
# Reference config: https://github.com/screwdriver-cd/screwdriver/blob/master/config/default.yaml#L235
notifications:
enabled: false
api:
name: api
image: screwdrivercd/screwdriver:stable
replicas: 1
ecosystem: {}
ui:
name: ui
image: screwdrivercd/ui:stable
avatarHost: "*.githubusercontent.com"
replicas: 1
store:
name: store
image: screwdrivercd/store:stable
replicas: 1
# if s3 is not enabled, will use pod's memory to store logs, artifacts and that't non-persistent
s3:
enabled: false
bucketName: your.s3.bucket.name
region: us-east-2
useAccessKey: false
launcher:
image: screwdrivercd/launcher
version: stable
# Enable queue feature or not, this will bring up a queue-worker pod and a redis pod
# Please refer to https://github.com/screwdriver-cd/queue-worker/blob/master/config/custom-environment-variables.yaml
queue:
name: queue-service
enabled: true
replicas: 1
image: screwdrivercd/queue-service:stable
buildTimeout: 90
maxBuildTimeout: 720
# Resources for build pod
resources:
# Number of cpu cores
# By default, builds run on LOW cpu
cpu:
micro: "0.5"
low: 2
high: 6
turbo: 12
# Memory in GB
# By default, builds run on LOW memory
memory:
micro: 1
low: 2
high: 12
turbo: 16
k8sResources:
limits:
cpu: 2
memory: 2Gi
requests:
cpu: 1
memory: 1Gi
port: 80
ecosystem: {}
# Queue for screwdriver
# Please refer to https://github.com/helm/charts/tree/master/stable/redis for more configurations
redis:
cluster:
enabled: true
master:
persistence:
# To specify non-default storageClass, uncomment the line below and set it accordingly
# storageClass: "enc-gp2"
# Enabled it if you want you data to be persistent
enabled: false
size: 10Gi
# Database for screwdriver api, can be either running as a pod or external
# Please refer to https://github.com/helm/charts/tree/master/stable/postgresql for more configurations
postgresql:
enabled: true
# To use an external PostgreSQL instance, follow the steps:
# 1. add a record to your screwdirver-api-secret file with key postgres-password with real password
# 2. set postgressql enabled to false to prevent creation of postgres as a pod
# 3. uncomment the line below with your externl postgres server
# postgresServer: ""
postgresqlUsername: "sdUser"
postgresqlPassword: "sdPassword"
postgresqlDatabase: "screwdriver"
# Specify the TCP port that PostgreSQL should use
service:
port: 5432
persistence:
# To specify non-default storageClass, uncomment the line below and set it accordingly
# storageClass: "enc-gp2"
# Enabled it if you want you data to be persistent
enabled: false
size: 20Gi