forked from uc-cdis/gen3-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
213 lines (193 loc) · 7.56 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# Default values for guppy.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Global configuration
global:
# -- (map) AWS configuration
aws:
# -- (bool) Set to true if deploying to AWS. Controls ingress annotations.
enabled: false
# -- (string) Credentials for AWS stuff.
awsAccessKeyId:
# -- (string) Credentials for AWS stuff.
awsSecretAccessKey:
# -- (bool) Whether the deployment is for development purposes.
dev: true
postgres:
# -- (bool) Whether the database should be created.
dbCreate: true
# -- (string) Name of external secret. Disabled if empty
externalSecret: ""
# -- (map) Master credentials to postgres. This is going to be the default postgres server being used for each service, unless each service specifies their own postgres
master:
# -- (string) hostname of postgres server
host:
# -- (string) username of superuser in postgres. This is used to create or restore databases
username: postgres
# -- (string) password for superuser in postgres. This is used to create or restore databases
password:
# -- (string) Port for Postgres.
port: "5432"
# -- (string) Environment name. This should be the same as vpcname if you're doing an AWS deployment. Currently this is being used to share ALB's if you have multiple namespaces. Might be used other places too.
environment: default
# -- (string) Hostname for the deployment.
hostname: localhost
# -- (string) ARN of the reverse proxy certificate.
revproxyArn: arn:aws:acm:us-east-1:123456:certificate
# -- (string) URL of the data dictionary.
dictionaryUrl: https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json
# -- (string) Portal application name.
portalApp: gitops
# -- (string) S3 bucket name for Kubernetes manifest files.
kubeBucket: kube-gen3
# -- (string) S3 bucket name for log files.
logsBucket: logs-gen3
# -- (bool) Whether public datasets are enabled.
publicDataSets: true
# -- (string) Access level for tiers.
tierAccessLevel: libre
# -- (int) Only relevant if tireAccessLevel is set to "regular". Summary charts below this limit will not appear for aggregated data.
tierAccessLimit: "1000"
# -- (map) Controls network policy settings
netPolicy:
enabled: false
# -- (int) Number of dispatcher jobs.
dispatcherJobNum: "10"
# -- (bool) If the service will be deployed with a Pod Disruption Budget. Note- you need to have more than 2 replicas for the pdb to be deployed.
pdb: false
# -- (int) The minimum amount of pods that are available at all times if the PDB is deployed.
minAvialable: 1
# -- (bool) Whether Metrics are enabled.
metricsEnabled: false
# -- (map) Configuration for autoscaling the number of replicas
autoscaling:
# -- (bool) Whether autoscaling is enabled
enabled: false
# -- (int) The minimum number of replicas to scale down to
minReplicas: 1
# -- (int) The maximum number of replicas to scale up to
maxReplicas: 100
# -- (int) The target CPU utilization percentage for autoscaling
targetCPUUtilizationPercentage: 80
# -- (map) Secret information to access the db restore job S3 bucket.
secrets:
# -- (str) AWS access key ID. Overrides global key.
awsAccessKeyId:
# -- (str) AWS secret access key ID. Overrides global key.
awsSecretAccessKey:
# -- (int) Number of replicas for the deployment.
replicaCount: 1
# -- (int) Number of old revisions to retain
revisionHistoryLimit: 2
# -- (map) Rolling update deployment strategy
strategy:
type: RollingUpdate
rollingUpdate:
# -- (int) Number of additional replicas to add during rollout.
maxSurge: 1
# -- (int) Maximum amount of pods that can be unavailable during the update.
maxUnavailable: 0
# -- (bool) Whether Datadog is enabled.
dataDog:
enabled: false
env: dev
# -- (map) Affinity to use for the deployment.
affinity:
podAntiAffinity:
# -- (map) Option for scheduling to be required or preferred.
preferredDuringSchedulingIgnoredDuringExecution:
# -- (int) Weight value for preferred scheduling.
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
# -- (list) Label key for match expression.
- key: app
# -- (string) Operation type for the match expression.
operator: In
# -- (list) Value for the match expression key.
values:
- guppy
# -- (string) Value for topology key label.
topologyKey: "kubernetes.io/hostname"
# -- (list) Volumes to attach to the pod.
volumes:
- name: guppy-config
configMap:
name: manifest-guppy
items:
- key: guppy_config.json
path: guppy_config.json
# -- (bool) Automount the default service account token
automountServiceAccountToken: false
# -- (map) Docker image information.
image:
# -- (string) Docker repository.
repository: quay.io/cdis/guppy
# -- (string) Docker pull policy.
pullPolicy: Always
# -- (string) Overrides the image tag whose default is the chart appVersion.
tag: ""
# Environment Variables
# -- (string) Elasticsearch endpoint.
esEndpoint: "gen3-elasticsearch-master:9200"
# -- (string) Arborist service URL.
arboristUrl: http://arborist-service
# -- (list) Volumes to mount to the container.
volumeMounts:
- name: guppy-config
readOnly: true
mountPath: /guppy/guppy_config.json
subPath: guppy_config.json
# -- (map) Resource requests and limits for the containers in the pod
resources:
# -- (map) The amount of resources that the container requests
requests:
# -- (string) The amount of CPU requested
cpu: 0.1
# -- (string) The amount of memory requested
memory: 500Mi
# -- (map) The maximum amount of resources that the container is allowed to use
limits:
# -- (string) The maximum amount of CPU the container can use
cpu: 1
# -- (string) The maximum amount of memory the container can use
memory: 2Gi
# -- (map) Kubernetes service information.
service:
# -- (string) Type of service. Valid values are "ClusterIP", "NodePort", "LoadBalancer", "ExternalName".
type: ClusterIP
# -- (int) The port number that the service exposes.
port:
- protocol: TCP
port: 80
targetPort: 8000
name: http
# Configmap
# -- (list) Elasticsearch index configurations
indices:
- index: dev_case
type: case
- index: dev_file
type: file
# -- (string) The Elasticsearch configuration index
configIndex: dev_case-array-config
# -- (string) The field used for access control and authorization filters
authFilterField: auth_resource_path
# -- (bool) Whether or not to enable encryption for specified fields
enableEncryptWhitelist: true
# -- (string) A comma-separated list of fields to encrypt
encryptWhitelist: test1
# -- (bool) Whether or not to restore elasticsearch indices from a snapshot in s3
dbRestore: false
# Values to determine the labels that are used for the deployment, pod, etc.
# -- (string) Valid options are "production" or "dev". If invalid option is set- the value will default to "dev".
release: "production"
# -- (string) Valid options are "true" or "false". If invalid option is set- the value will default to "false".
criticalService: "true"
# -- (string) Label to help organize pods and their use. Any value is valid, but use "_" or "-" to divide words.
partOf: "Explorer-Tab"
# -- (map) Will completely override the selectorLabels defined in the common chart's _label_setup.tpl
selectorLabels:
# -- (map) Will completely override the commonLabels defined in the common chart's _label_setup.tpl
commonLabels: