-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
737 lines (650 loc) · 25.9 KB
/
values.yaml
File metadata and controls
737 lines (650 loc) · 25.9 KB
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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
global:
# Disabling local Elasticasearch and Postgres.
dev: false
aws:
enabled: true
account: "707767160287"
scheme: "internal"
secretStoreServiceAccount:
enabled: true
name: secret-store-sa
wafv2:
enabled: true
wafAclArn: "arn:aws:wafv2:us-east-1:707767160287:regional/webacl/devplanetv2-waf/30660590-f707-4ecf-aeae-ddfbe381f388"
netPolicy:
# TODO: Figure out netpols with local dbs
enabled: false
dbSubnet: ""
environment: devplanetv2
externalSecrets:
deploy: true
dbCreate: true
hostname: gomezmh.dev.planx-pla.net
dictionaryUrl: https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json
# We disable portal by default to save $$$
frontendRoot: gen3ff
postgres:
dbCreate: true
externalSecret: "devplanetv2-aurora-master-dbcreds"
master:
host: "devplanetv2-aurora-cluster.cluster-cwvizkxhzjt8.us-east-1.rds.amazonaws.com"
# Wildcard cert for *.dev.planx-pla.net
revproxyArn: arn:aws:acm:us-east-1:707767160287:certificate/798e629d-05ee-4bc5-b51f-a86861f29b68
crossplane:
# -- (bool) Set to true if deploying to AWS and want to use crossplane for AWS resources.
enabled: true
# The name of the crossplane provider config.
providerConfigName: provider-aws
# OIDC provider URL. This is used for authentication of roles/service accounts.
oidcProviderUrl: "oidc.eks.us-east-1.amazonaws.com/id/F057519C0E32B7DE2580904C4007BB21"
# The account ID of the AWS account.
accountId: "707767160287"
s3:
# The kms key id for the s3 bucket.
kmsKeyId: "387b8ebf-c8b8-4887-9b2c-639aee77654c"
topologySpread:
# -- (bool) Whether to enable topology spread constraints for all subcharts that support it.
enabled: true
# -- (string) The topology key to use for spreading. Defaults to "topology.kubernetes.io/zone".
topologyKey: "topology.kubernetes.io/zone"
# -- (int) The maxSkew to use for topology spread constraints. Defaults to 1.
maxSkew: 1
aws-es-proxy:
enabled: true
esEndpoint: vpc-devplanetv2-gen3-metadata-2-xkwr2f3gbxua5mqqi7rhnat4la.us-east-1.es.amazonaws.com
ambassador:
resources:
requests:
memory: "105Mi"
cpu: "15m"
arborist:
image:
tag: master
resources:
requests:
memory: "105Mi"
cpu: "15m"
audit:
externalSecrets:
createK8sAuditSecret: true
image:
tag: master
enabled: true
resources:
requests:
memory: "105Mi"
cpu: "15m"
# image:
# repository: audit
# tag: local
# pullPolicy: Never
datareplicate:
enabled: true
googleBucketReplicateJob:
PROJECT: dcf-prod-buckets
MAX_WORKERS: 80
RELEASE: DR43
MANIFEST_FILE: gs://replication-input/GDC_full_sync_active_manifest_20190326_post_DR43.0.tsv
IGNORED_FILE: gs://replication-input/ignored_files_manifest.csv
LOG_BUCKET: datarefresh-log
awsBucketReplicateJob:
THREAD_NUM: 20
CHUNK_SIZE: 1
GDC_BUCKET_NAME: test-gdc-bucket
LOG_BUCKET: test-data-replication-manifest
RELEASE: DR1
QUICK_TEST: true
MANIFEST_FILE: s3://test-data-replication-manifest/DR1/short_manifest.tsv
frontend-framework:
# image:
# tag: main
# repository:
customConfig:
enabled: true
enabled: true
resources:
requests:
memory: "256Mi"
cpu: "15m"
hatchery:
externalSecrets:
createK8sStataSecret: true
resources:
requests:
memory: "105Mi"
cpu: "15m"
image:
tag: master
hatchery:
sidecarContainer:
image: quay.io/cdis/gen3fuse-sidecar:master
command:
- /bin/bash
- /sidecarDockerrun.sh
containers:
- target-port: 8888
cpu-limit: "2"
memory-limit: 3Gi
name: "(Tutorials) Example Analysis Jupyter Lab Notebooks"
image: quay.io/cdis/jupyter-superslim:1.0.5
env:
FRAME_ANCESTORS: https://{{ .Values.global.hostname }}
args:
- "--NotebookApp.base_url=/lw-workspace/proxy/"
- "--NotebookApp.default_url=/lab"
- "--NotebookApp.password=''"
- "--NotebookApp.token=''"
- "--NotebookApp.shutdown_no_activity_timeout=5400"
- "--NotebookApp.quit_button=False"
command:
- start-notebook.sh
path-rewrite: "/lw-workspace/proxy/"
use-tls: "false"
ready-probe: "/lw-workspace/proxy/"
lifecycle-post-start:
- "/bin/sh"
- "-c"
- export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; rm -rf /home/$IAM/pd/lost+found;
ln -s /data /home/$IAM/pd/; true
user-uid: 1000
fs-gid: 100
user-volume-location: "/home/jovyan/pd"
gen3-volume-location: "/home/jovyan/.gen3"
portal:
# Disable portal by default
enabled: false
#
# resources:
# requests:
# cpu: "15m"
# memory: 100Mi
image:
repository: quay.io/cdis/data-portal
tag: master
etl:
enabled: true
etlMapping:
mappings:
- name: mmrf_case
doc_type: case
type: aggregator
root: case
props:
- name: project_id
- name: submitter_id
- name: batch_id
- name: disease_type
- name: index_date
- name: primary_site
- name: mmrf_data_file
doc_type: data_file
type: collector
root: None
category: data_file
props:
- name: source_node
- name: project_id
- name: submitter_id
- name: object_id
- name: md5sum
- name: file_name
- name: file_size
- name: data_format
- name: data_type
- name: data_category
- name: experimental_strategy
- name: platform
# image:
# tube:
#repository: tube
# tag: master
esEndpoint: "gen3-elasticsearch-master"
guppy:
enabled: false
resources:
requests:
memory: "105Mi"
cpu: "15m"
image:
repository: quay.io/cdis/guppy
tag: master
esEndpoint: http://elasticsearch:9200
indexd:
image:
tag: master
resources:
requests:
memory: "105Mi"
cpu: "15m"
defaultPrefix: dev/
externalSecrets:
createK8sServiceCredsSecret: true
metadata:
externalSecrets:
createK8sMetadataSecret: true
resources:
requests:
memory: "105Mi"
cpu: "15m"
# image:
# repository:
# tag:
enabled: true
useAggMds: "True"
# -- (string) Namespace to use if AggMds is enabled.
aggMdsNamespace: default
aggMdsConfig: |
{
"gen3_commons": {
"HEAL": {
"mds_url": "https://data.midrc.org/",
"commons_url" : "data.midrc.org",
"adapter": "gen3",
"config" : {
"guid_type": "discovery_metadata",
"study_field": "gen3_discovery"
},
"keep_original_fields": false,
"field_mappings" : {
"authz": "path:authz",
"tags": "path:tags",
"_unique_id": "path:_unique_id",
"study_id": "path:_unique_id",
"study_description": "path:data_description",
"full_name": "path:full_name",
"short_name": "path:short_name",
"commons": "Medical Imaging and Data Resource Center (MIDRC)",
"study_url": "path:data_url",
"_subjects_count" : {"path":"cases_count", "default" : 0 },
"__manifest": "path:__manifest",
"commons_url" : "data.midrc.org"
}
}
},
"adapter_commons": {}
}
manifestservice:
resources:
requests:
memory: "105Mi"
cpu: "15m"
externalSecrets:
createK8sManifestServiceSecret: true
ssjdispatcher:
enabled: false
sower:
enabled: false
peregrine:
resources:
requests:
memory: "105Mi"
cpu: "15m"
image:
revproxy:
resources:
requests:
memory: "105Mi"
cpu: "15m"
ingress:
aws:
# Do not change- this will break DNS for your env.
group: devplanetv2-internal
sheepdog:
resources:
requests:
memory: "105Mi"
cpu: "15m"
image:
tag: master
requestor:
enabled: true
wts:
image:
tag: master
resources:
requests:
memory: "105Mi"
cpu: "15m"
externalSecrets:
createWtsOidcClientSecret: true
createK8sWtsSecret: true
# Database configuration
elasticsearch:
persistence:
enabled: true
# -- (map) To configure postgresql subchart
postgresql:
primary:
persistence:
# -- (bool) Option to persist the dbs data.
enabled: true
fence:
externalSecrets:
createK8sFenceConfigSecret: false
createK8sJwtKeysSecret: true
createK8sGoogleAppSecrets: true
fenceConfig: "devplanetv2-generic-fence-config"
usersync:
usersync: true
userYamlS3Path: s3://cdis-gen3-users/dev/user.yaml
FENCE_CONFIG_PUBLIC:
# Prefix to namespace Google Groups on a single Cloud Identity
# This will be dynamically replaced by env_setup.sh script.
GOOGLE_GROUP_PREFIX:
# Prefix to namespace Google Service Accounts in a single Google Cloud Platform Project.
# This will be dynamically replaced by env_setup.sh script.
GOOGLE_SERVICE_ACCOUNT_PREFIX:
# -- (string) Name of the Fence app
APP_NAME: "fence"
# -- (map) Debug and security settings
DEBUG: false
# -- (bool) if true, will automatically login a user with username "test"
MOCK_AUTH: false
# -- (bool) if true, will fake a successful login response from Google in /login/google
# NOTE: this will also modify the behavior of /link/google endpoints
# will login as the username set in cookie DEV_LOGIN_COOKIE_NAME
MOCK_GOOGLE_AUTH: true
# -- (str) the name of the cookie set by mock authentication (used for testing only)
DEV_LOGIN_COOKIE_NAME: "dev_login"
# -- (bool) if true, will ignore anything configured in STORAGE_CREDENTIALS
MOCK_STORAGE: false
# -- (bool) allow OIDC traffic on http for development. By default it requires https.
AUTHLIB_INSECURE_TRANSPORT: true
# -- (bool) enable Prometheus Metrics for observability purposes
ENABLE_PROMETHEUS_METRICS: false
# -- (bool) set if you want browsers to only send cookies with requests over HTTPS
SESSION_COOKIE_SECURE: true
# -- (bool) enable CSRF protection
ENABLE_CSRF_PROTECTION: true
# -- (str) signing key for WTForms to sign CSRF tokens with
WTF_CSRF_SECRET_KEY: "{{ENCRYPTION_KEY}}"
# -- (bool) fence (at the moment) attempts a migration on startup. setting this to false will disable that
ENABLE_DB_MIGRATION: true
# -- (list) These are the *possible* scopes a client can be given, NOT scopes that are given to all clients. You can be more restrictive during client creation
CLIENT_ALLOWED_SCOPES:
- "openid"
- "user"
- "data"
- "google_credentials"
- "google_service_account"
- "google_link"
- "ga4gh_passport_v1"
# -- (list) these are the scopes that CAN be included in a user's own access_token
USER_ALLOWED_SCOPES:
- "fence"
- "openid"
- "user"
- "data"
- "admin"
- "google_credentials"
- "google_service_account"
- "google_link"
- "ga4gh_passport_v1"
# -- (list) these are the scopes that a browser session can create for a user (very similar to USER_ALLOWED_SCOPES, as the session will actually create access_tokens for an actively logged in user)
SESSION_ALLOWED_SCOPES:
- "openid"
- "user"
- "credentials"
- "data"
- "admin"
- "google_credentials"
- "google_service_account"
- "google_link"
- "ga4gh_passport_v1"
# //////////////////////////////////////////////////////////////////////////////////////
# LOGIN
# //////////////////////////////////////////////////////////////////////////////////////
# List of enabled login options (used by data-portal to display login buttons).
LOGIN_OPTIONS:
- name: 'Login from Google'
idp: google
# -- (string) Default login provider. - must be configured in LOGIN_OPTIONS and OPENID_CONNECT - - if several options in LOGIN_OPTIONS are defined for this IDP, will default to the first one
DEFAULT_LOGIN_IDP: google
# `LOGIN_REDIRECT_WHITELIST` is a list of extra whitelisted URLs which can be redirected
# to by the `/login/*` endpoints.
LOGIN_REDIRECT_WHITELIST: [".", "/login"]
# //////////////////////////////////////////////////////////////////////////////////////
# LIBRARY CONFIGURATION (authlib & flask)
# //////////////////////////////////////////////////////////////////////////////////////
# authlib-specific configs for OIDC flow and JWTs
OAUTH2_JWT_ALG: "RS256"
OAUTH2_JWT_ENABLED: true
OAUTH2_JWT_ISS: "{{BASE_URL}}"
OAUTH2_PROVIDER_ERROR_URI: "/api/oauth2/errors"
# used for flask, "path mounted under by the application / web server"
APPLICATION_ROOT: "/user"
# //////////////////////////////////////////////////////////////////////////////////////
# Tokens, Lifetimes, & Expirations
# //////////////////////////////////////////////////////////////////////////////////////
# The name of the browser cookie in which the access token will be stored.
ACCESS_TOKEN_COOKIE_NAME: "access_token"
# The name of the browser cookie in which the session token will be stored.
# Note that the session token also stores information for the
# ``flask.session`` in the ``context`` field of the token.
SESSION_COOKIE_NAME: "fence"
# The domain of the browser cookie in which the session token will be stored.
# Leave unset (not empty string!) for normal single-site deployment.
SESSION_COOKIE_DOMAIN:
OAUTH2_TOKEN_EXPIRES_IN:
"authorization_code": 1200
"implicit": 1200
# The number of seconds after an access token is issued until it expires.
ACCESS_TOKEN_EXPIRES_IN: 1200
# The number of seconds after a refresh token is issued until it expires.
REFRESH_TOKEN_EXPIRES_IN: 2592000
# The number of seconds after which a browser session is considered stale.
SESSION_TIMEOUT: 1800
# The maximum session lifetime in seconds.
SESSION_LIFETIME: 28800
# The number of seconds the user's Google service account key used for
# url signing will last before being expired/rotated
# 30 days: 2592000 seconds
GOOGLE_SERVICE_ACCOUNT_KEY_FOR_URL_SIGNING_EXPIRES_IN: 2592000
# The number of seconds after a User's Google Service account is added to bucket
# access until it expires.
# 7 days: 604800 seconds
GOOGLE_USER_SERVICE_ACCOUNT_ACCESS_EXPIRES_IN: 604800
# The number of seconds after a User's Google account is added to bucket
# access until it expires.
GOOGLE_ACCOUNT_ACCESS_EXPIRES_IN: 86400
# The number of seconds after a pre-signed url is issued until it expires.
MAX_PRESIGNED_URL_TTL: 3600
# The number of seconds after an API KEY is issued until it expires.
MAX_API_KEY_TTL: 2592000
# The number of seconds after an access token is issued until it expires.
MAX_ACCESS_TOKEN_TTL: 3600
# TEMPORARY: The maximum number of projects allowed in token claims.
# This config var should be removed after sheepdog and peregrine support
# auth checks against Arborist, and no longer check the token.
TOKEN_PROJECTS_CUTOFF: 10
# If set to true, will generate an new access token each time when a browser session update happens
RENEW_ACCESS_TOKEN_BEFORE_EXPIRATION: false
# The maximum lifetime of a Gen3 passport in seconds
GEN3_PASSPORT_EXPIRES_IN: 43200
########################################################################################
# OPTIONAL CONFIGURATIONS #
########################################################################################
# For displaying a privacy policy to users, we can either link to the URL specified by
# PRIVACY_POLICY_URL, or default to the `static/privacy_policy.md` file in fence.
PRIVACY_POLICY_URL: null
# //////////////////////////////////////////////////////////////////////////////////////
# RELIABILITY OPTS
# //////////////////////////////////////////////////////////////////////////////////////
# Configurations related to resiliency, fault-tolerance and availability
# This is the number of requests per second that the Nginx proxy will accept before reaching fence
# The value defined in fence-config-public.yaml takes precedence over this one
# In the absence of this OVERRIDE prefixed config, the legacy NGINX_RATE_LIMIT from the k8s deployment yaml is applied
OVERRIDE_NGINX_RATE_LIMIT: 18
# //////////////////////////////////////////////////////////////////////////////////////
# SUPPORT INFO
# //////////////////////////////////////////////////////////////////////////////////////
# If you want an email address to show up when an unhandled error occurs, provide one
# here. Something like: support@example.com
SUPPORT_EMAIL_FOR_ERRORS: null
# //////////////////////////////////////////////////////////////////////////////////////
# SHIBBOLETH
# - Support using `shibboleth` in LOGIN_OPTIONS
# - Contains defaults for using NIH's Login.
# //////////////////////////////////////////////////////////////////////////////////////
# assumes shibboleth is deployed under {{BASE_URL}}/shibboleth
SHIBBOLETH_HEADER: "persistent_id"
SSO_URL: "https://auth.nih.gov/affwebservices/public/saml2sso?SPID={{BASE_URL}}/shibboleth&RelayState="
ITRUST_GLOBAL_LOGOUT: "https://auth.nih.gov/siteminderagent/smlogout.asp?mode=nih&AppReturnUrl="
DBGAP_ACCESSION_WITH_CONSENT_REGEX: "(?P<phsid>phs[0-9]+)(.(?P<version>v[0-9]+)){0,1}(.(?P<participant_set>p[0-9]+)){0,1}.(?P<consent>c[0-9]+)"
# //////////////////////////////////////////////////////////////////////////////////////
# STORAGE BACKENDS AND CREDENTIALS
# - Optional: Used for `/admin` & `/credentials` endpoints for user management.
# Also used during User Syncing process to automate managing Storage
# access for users.
# //////////////////////////////////////////////////////////////////////////////////////
# When true, this modifies usersync (not fence service itself) such that when syncing user
# access to a Google storage backend happens in "bulk" by doing a diff *per google group*
# between what's in Google and what's expected.
GOOGLE_BULK_UPDATES: true
# Configuration for various storage systems for the backend
STORAGE_CREDENTIALS:
'google':
backend: google
# this should be the project id where the Google Groups for data access are managed
google_project_id: dcf-integration
# //////////////////////////////////////////////////////////////////////////////////////
# AWS BUCKETS AND CREDENTIALS
# - Support `/data` endpoints
# //////////////////////////////////////////////////////////////////////////////////////
# the cred values should be keys in section `AWS_CREDENTIALS`.
S3_BUCKETS:
cdis-presigned-url-test:
region: 'us-east-1'
cred: 'cdistest'
gen3-helm-data-upload-bucket:
region: 'us-east-1'
cred: 'cdistest'
DATA_UPLOAD_BUCKET: 'gen3-helm-data-upload-bucket'
# //////////////////////////////////////////////////////////////////////////////////////
# PROXY
# - Optional: If the api is behind firewall that needs to set http proxy
# //////////////////////////////////////////////////////////////////////////////////////
# this is only used by the Google Oauth2Client at the moment if provided
HTTP_PROXY:
host: 'cloud-proxy.internal.io'
port: 3128
# //////////////////////////////////////////////////////////////////////////////////////
# MICROSERVICE PATHS
# - Support `/data` endpoints & authz functionality
# //////////////////////////////////////////////////////////////////////////////////////
# url where indexd microservice is running (for signed urls primarily)
INDEXD: http://indexd-service
# this is the username which fence uses to make authenticated requests to indexd
INDEXD_USERNAME: "fence"
# this is the password which fence uses to make authenticated requests to indexd
INDEXD_PASSWORD: ""
# url where authz microservice is running
ARBORIST: http://arborist-service
# url where the audit-service is running
# This will be dynamically replaced by env_setup.sh script.
AUDIT_SERVICE: "http://audit-service"
ENABLE_AUDIT_LOGS:
presigned_url: true
login: true
# `PUSH_AUDIT_LOGS_CONFIG.type` is one of: [api, aws_sqs].
# - if type == api: logs are created by hitting the log creation endpoint.
# - if type == aws_sqs: logs are pushed to an SQS and `aws_sqs_config` fields
# `sqs_url` and `region` are required. Field `aws_cred` is optional and it
# should be a key in section `AWS_CREDENTIALS`.
PUSH_AUDIT_LOGS_CONFIG:
type: aws_sqs
aws_sqs_config:
# This will be dynamically replaced by env_setup.sh script.
sqs_url: https://sqs.us-east-1.amazonaws.com/707767160287/audit-service-sqs
region: us-east-1
aws_cred: 'cdistest'
# A Google Project identitifier representing the default project to bill to for
# accessing Google Requester Pays buckets (for signed urls and/or temporary service account
# credentials).
BILLING_PROJECT_FOR_SIGNED_URLS:
BILLING_PROJECT_FOR_SA_CREDS:
# Setting this to `true` will make Fence automatically attempt to create a Custom Role
# in the billing project and give the necessary Google Service Account that role
# (which will allow it to bill to the project).
ENABLE_AUTOMATIC_BILLING_PERMISSION_SIGNED_URLS: false
ENABLE_AUTOMATIC_BILLING_PERMISSION_SA_CREDS: false
# //////////////////////////////////////////////////////////////////////////////////////
# DATA ACCESS: GOOGLE LINKING & SERVICE ACCOUNT REGISTRATION
# - Support `/google/service_accounts` endpoints
# //////////////////////////////////////////////////////////////////////////////////////
# whether or not to allow access to the /link/google endpoints
ALLOW_GOOGLE_LINKING: true
# A Google Project with controlled data access will be determined INVALID if
# if it has a parent organization UNLESS that parent organization's ID is in this
# whitelist.
WHITE_LISTED_GOOGLE_PARENT_ORGS: []
# Service account email domains that represent a service account that Google owns.
# These are usually created when a sepcific GCP service is enabled.
# This is used for Service Account Validation for Data Access.
GOOGLE_MANAGED_SERVICE_ACCOUNT_DOMAINS:
- "dataflow-service-producer-prod.iam.gserviceaccount.com"
- "cloudbuild.gserviceaccount.com"
- "cloud-ml.google.com.iam.gserviceaccount.com"
- "container-engine-robot.iam.gserviceaccount.com"
- "dataflow-service-producer-prod.iam.gserviceaccount.com"
- "sourcerepo-service-accounts.iam.gserviceaccount.com"
- "dataproc-accounts.iam.gserviceaccount.com"
- "gae-api-prod.google.com.iam.gserviceaccount.com"
- "genomics-api.google.com.iam.gserviceaccount.com"
- "containerregistry.iam.gserviceaccount.com"
- "container-analysis.iam.gserviceaccount.com"
- "cloudservices.gserviceaccount.com"
- "stackdriver-service.iam.gserviceaccount.com"
- "appspot.gserviceaccount.com"
- "partnercontent.gserviceaccount.com"
- "trifacta-gcloud-prod.iam.gserviceaccount.com"
- "gcf-admin-robot.iam.gserviceaccount.com"
- "compute-system.iam.gserviceaccount.com"
- "gcp-sa-websecurityscanner.iam.gserviceaccount.com"
- "storage-transfer-service.iam.gserviceaccount.com"
- "firebase-sa-management.iam.gserviceaccount.com"
- "firebase-rules.iam.gserviceaccount.com"
- "gcp-sa-cloudbuild.iam.gserviceaccount.com"
- "gcp-sa-automl.iam.gserviceaccount.com"
- "gcp-sa-datalabeling.iam.gserviceaccount.com"
- "gcp-sa-cloudscheduler.iam.gserviceaccount.com"
# The types of service accounts that are allowed to be registered at
# /google/service_accounts endpoints
ALLOWED_USER_SERVICE_ACCOUNT_DOMAINS:
# compute engine default service account
- "developer.gserviceaccount.com"
# app engine default service account
- "appspot.gserviceaccount.com"
# user-managed service account
- "iam.gserviceaccount.com"
# Role caching for generating presigned urls if max role session increase is true
# then we can increase the amount of time that a session is valid for
MAX_ROLE_SESSION_INCREASE: false
ASSUME_ROLE_CACHE_SECONDS: 1800
# Optional user registration feature: Ask users to register (provide firstname/lastname/org/email) on login.
# If user registers, add them to configured Arborist group; idea is that the Arborist group
# will have access to download data.
REGISTER_USERS_ON: true
REGISTERED_USERS_GROUP: ""
# RAS refresh_tokens expire in 15 days
RAS_REFRESH_EXPIRATION: 1296000
# List of JWT issuers from which Fence will accept GA4GH visas
GA4GH_VISA_ISSUER_ALLOWLIST:
- "{{BASE_URL}}"
- "https://sts.nih.gov"
- "https://stsstg.nih.gov"
# Number of projects that can be registered to a Google Service Accont
SERVICE_ACCOUNT_LIMIT: 6
# Global sync visas during login
# None(Default): Allow per client i.e. a fence client can pick whether or not to sync their visas during login with parse_visas param in /authorization endpoint
# True: Parse for all clients i.e. a fence client will always sync their visas during login
# False: Parse for no clients i.e. a fence client will not be able to sync visas during login even with parse_visas param
GLOBAL_PARSE_VISAS_ON_LOGIN: false
# Settings for usersync with visas
USERSYNC:
sync_from_visas: false
# fallback to dbgap sftp when there are no valid visas for a user i.e. if they're expired or if they're malformed
fallback_to_dbgap_sftp: false
visa_types:
ras: ["https://ras.nih.gov/visas/v1", "https://ras.nih.gov/visas/v1.1"]
RAS_USERINFO_ENDPOINT: "/openid/connect/v1.1/userinfo"