forked from uc-cdis/gen3-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
229 lines (200 loc) · 8.57 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# Default values for arborist.
# 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. acceptable values for `tier_access_level` are: `libre`, `regular` and `private`. If omitted, by default common will be treated as `private`
tierAccessLevel: libre
# -- (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
# -- (map) External Secrets settings.
externalSecrets:
# -- (bool) Will use ExternalSecret resources to pull secrets from Secrets Manager instead of creating them locally. Be cautious as this will override any arborist secrets you have deployed.
deploy: false
# -- (string) Will deploy a separate External Secret Store for this service.
separateSecretStore: false
# -- (bool) Whether Metrics are enabled.
metricsEnabled: false
# -- (map) External Secrets settings.
externalSecrets:
# -- (string) Will override the name of the aws secrets manager secret. Default is "Values.global.environment-.Chart.Name-creds"
dbcreds:
# -- (map) Secret information for External Secrets.
secrets:
# -- (str) AWS access key ID. Overrides global key.
awsAccessKeyId:
# -- (str) AWS secret access key ID. Overrides global key.
awsSecretAccessKey:
# -- (map) Postgres database configuration. If db does not exist in postgres cluster and dbCreate is set ot true then these databases will be created for you
postgres:
# -- (bool) Whether the database should be created. Default to global.postgres.dbCreate
dbCreate:
# -- (string) Hostname for postgres server. This is a service override, defaults to global.postgres.host
host:
# -- (string) Database name for postgres. This is a service override, defaults to <serviceName>-<releaseName>
database:
# -- (string) Username for postgres. This is a service override, defaults to <serviceName>-<releaseName>
username:
# -- (string) Port for Postgres.
port: "5432"
# -- (string) Password for Postgres. Will be autogenerated if left empty.
password:
# -- (string) Will create a Database for the individual service to help with developing it.
separate: false
# -- (map) Postgresql subchart settings if deployed separately option is set to "true".
# Disable persistence by default so we can spin up and down ephemeral environments
postgresql:
primary:
persistence:
# -- (bool) Option to persist the dbs data.
enabled: false
# -- (int) Number of replicas for the deployment.
replicaCount: 1
# -- (map) Docker image information.
image:
# -- (string) Docker repository.
repository: quay.io/cdis/arborist
# -- (string) Docker pull policy.
pullPolicy: IfNotPresent
# -- (string) Overrides the image tag whose default is the chart appVersion.
tag: ""
# -- (list) Docker image pull secrets.
imagePullSecrets: []
# -- (string) Override the name of the chart.
nameOverride: ""
# -- (string) Override the full name of the deployment.
fullnameOverride: ""
# -- (map) Service account to use or create.
serviceAccount:
# -- (bool) Specifies whether a service account should be created.
create: true
# -- (map) Annotations to add to the service account.
annotations: {}
# -- (string) The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# Declare variables to be passed into your templates.
# -- (map) Annotations to add to the pod
podAnnotations: {}
# -- (map) Security context to apply to the pod
podSecurityContext:
# fsGroup: 2000
# -- (map) Security context to apply to the container
securityContext:
{}
# -- (map) Linux capabilities to drop
# capabilities:
# drop:
# - ALL
# -- (bool) Whether to use a read-only root filesystem
# readOnlyRootFilesystem: true
# -- (bool) Whether to run the container as a non-root user
# runAsNonRoot: true
# -- (int) The user ID to run the container as
# runAsUser: 1000
# -- (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: 80
# -- (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: 12Mi
# -- (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.0
# -- (string) The maximum amount of memory the container can use
memory: 512Mi
# -- (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
# -- (int) The target memory utilization percentage for autoscaling
# targetMemoryUtilizationPercentage: 80
# -- (map) Node selector to apply to the pod
nodeSelector: {}
# -- (list) Tolerations to apply to the pod
tolerations: []
# -- (map) Affinity rules to apply to the pod
affinity: {}
# -- (list) Volumes to attach to the pod
volumes: []
# -- (list) Volume mounts to attach to the container
volumeMounts: []
# -- (list) Environment variables to pass to the container
env:
# -- (string) The URL of the JSON Web Key Set (JWKS) endpoint for authentication
- name: JWKS_ENDPOINT
value: "http://fence-service/.well-known/jwks"
# 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: "Authentication"
# -- (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: