-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvalues.yaml
More file actions
393 lines (349 loc) · 12 KB
/
values.yaml
File metadata and controls
393 lines (349 loc) · 12 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
# Default values for appstore.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
# -- repository where image is located
repository: containers.renci.org/helxplatform/appstore
# -- pull policy
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
# Set to "" before release!
tag:
imagePostgresql:
# -- repository where postgresql image is located
repository: containers.renci.org/bitnami/postgresql
# -- pull policy
pullPolicy: IfNotPresent
# -- Image tag for postgresql, coordinate this with postgresql dependency.
tag: 17.6.0-debian-12-r0
# An empty string equates to false, anything else is true. If debug is true the logLevel is also set to DEBUG.
debug: ""
fetcherImage:
# -- repository where image is located
repository: helxplatform/url-fetch
# -- pull policy
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# -- credentials for a private repo
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
networkPolicyLabels: {"role": "appstore"}
podAnnotations: {}
# -- Set the log level for the application. (DEBUG INFO WARNING ERROR CRITICAL)
logLevel: "WARNING"
ldap:
enabled: false
uri: "ldap://openldap"
groupDN: "cn=users,ou=groups,dc=example,dc=org"
searchBase: "ou=users,dc=example,dc=org"
updateStrategy:
# -- 'RollingUpdate' or 'Recreate'. Must use Recreate if mounting PVCs due to multi-attach errors.
type: Recreate
serviceAccount:
# -- specifies whether a service account should be created
create: true
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
podSecurityContext: {}
service:
type: ClusterIP
port: 80
name: http
resources:
limits:
cpu: 500m
memory: 1024Mi
requests:
cpu: 200m
memory: 300Mi
security:
isolatedApps: true
# -- Choose http or https for the protocol that is used by external users to access
# the appstore web service.
ACCOUNT_DEFAULT_HTTP_PROTOCOL: http
# -- Set environment variables from a file.
SET_BUILD_ENV_FROM_FILE: false
nodeSelector: {}
tolerations: []
affinity: {}
ambassador:
# -- register appstore with ambassador flag: <True or False>
flag: true
# -- set the theme for appstore (bdc, braini, restartr, scidas)
djangoSettings: helx
# -- Allow for a custom entrypoint command via the values file.
appstoreEntrypointArgs: "make start"
gunicorn:
# -- Set the number of gunicorn workers. (2*CPU)+1 is recommended.
workers: 5
graderApiUrl: ""
django:
# -- Note that these only run on a user's primary alias.
# If a user has primary@cs.unc.edu as their primary alias,
# and secondary@renci.org as a secondary alias, they will only
# be whitelisted automatically if cs.unc.edu emails are allowed.
# ex. Whitelist all RENCI emails - "^[A-Za-z0-9._%+-]+@renci\\.org$"
# ex. Whitelist all UNC emails - "^[A-Za-z0-9._%+-]+@([A-Za-z0-9.-]+\\.)?unc\\.edu$"
# ex. Whitelist CS dept. (grad./prof.) UNC emails - "^[A-Za-z0-9._%+-]+@cs\\.unc\\.edu$"
AUTO_WHITELIST_PATTERNS: []
# -- user emails for oauth providers
AUTHORIZED_USERS: ""
# -- user emails to remove from an already-existing database
REMOVE_AUTHORIZED_USERS: ""
# -- Specify the git branch to use for HeLx app specifications. When
# declaring 'tycho.externalAppRegistryRepo' leave this as an empty string.
DOCKSTORE_APPS_BRANCH: "v1.6.0"
###################################################
APPSTORE_DJANGO_USERNAME: "admin"
APPSTORE_DJANGO_PASSWORD: ""
# -- show Django log in fields (true | false)
ALLOW_DJANGO_LOGIN: ""
# -- show SAML log in fields (true | false)
ALLOW_SAML_LOGIN: ""
# -- Email Server host ie relay.unc.edu | relay.renci.org
EMAIL_HOST: ""
# -- Email Server port ie 25 or other.
EMAIL_PORT: ""
# -- Does the Email Server require TLS connection or not? Boolean (true | false)
EMAIL_USE_TLS: False
# -- email of account to use for outgoing emails
EMAIL_HOST_USER: ""
# -- password of account to use for outgoing emails
EMAIL_HOST_PASSWORD: ""
# -- Specify URL to use for the "Image Download" link on the top part of website.
IMAGE_DOWNLOAD_URL: ""
# -- idle timeout for user web session
SESSION_IDLE_TIMEOUT: "2592000" # 30 days
# -- list of appstore registration emails
RECIPIENT_EMAILS: ""
# -- should be 'live' unless you are doing some kind of development
DEV_PHASE: "live"
# -- allowed domains to make post requests to the appstore
CSRF_DOMAINS: "https://*.renci.org,https://*.renci.unc.edu"
oauth:
# -- oauth providers separated by commas (google, github)
OAUTH_PROVIDERS: ""
GITHUB_NAME: ""
GITHUB_CLIENT_ID: ""
GITHUB_SECRET: ""
GOOGLE_NAME: ""
GOOGLE_CLIENT_ID: ""
GOOGLE_SECRET: ""
CILOGON_NAME: ""
CILOGON_CLIENT_ID: ""
CILOGON_SECRET: ""
OIDC_NAME: ""
OIDC_CLIENT_ID: ""
OIDC_SECRET: ""
OIDC_SERVER_URL: ""
saml:
cache:
enabled: false
claimName: "saml-cache"
storageSize: "20M"
storageClass: ""
FETCH_FILE: "/data/saml_metadata.xml"
FETCH_INTERVAL: "60000"
APPSTORE_DIRECTORY: "/saml"
APPSTORE_FILE: "saml_metadata.xml"
AUTHORITY_URL: ""
ASSERTION_URL: ""
ENTITY_ID: ""
irods:
# -- enable irods support (true | false)
enabled: false
BRAINI_RODS: ""
NRC_MICROSCOPY_IRODS: ""
RODS_USERNAME: ""
RODS_PASSWORD: ""
IROD_COLLECTIONS: ""
IROD_ZONE: ""
irodsUnbranded:
enabled: false
RODS_USERNAME: ""
RODS_PASSWORD: ""
IROD_ZONE: ""
IROD_PORT: ""
IROD_HOST: ""
IROD_USER_VALUES: {}
NFSRODS_HOST: ""
atlas:
# -- Disabling will turn off the creation of secrets/configmaps for Atlas
enabled: true
imagej:
# -- Disabling will turn off the creation of secrets/configmaps for ImageJ
enabled: true
octave:
# -- Disabling will turn off the creation of secrets/configmaps for Octave
enabled: true
pgadmin:
# -- Disabling will turn off the creation of secrets/configmaps for PgAdmin
enabled: true
webtop:
# -- Disabling will turn off the creation of secrets/configmaps for Webtop
enabled: true
apps:
DICOMGH_GOOGLE_CLIENT_ID: ""
DATASOURCE_CONNECTION_URL: ""
DATASOURCE_PASSWORD: ""
FLYWAY_DATASOURCE_CONNECTION_URL: ""
FLYWAY_DATASOURCE_PASSWORD: ""
DATASOURCE_USERNAME: "ohdsi"
FLYWAY_DATASOURCE_USERNAME: "ohdsi"
# -- PUID variable in webtop specifies the UID to switch the user to after
# initialization.
WEBTOP_PUID: "1000"
# -- PGID variable in webtop specifies the GID to switch the user to after
# initialization.
WEBTOP_PGID: "1000"
# -- Specify email for pgAdmin user.
PGADMIN_EMAIL: "user@domain.com"
# -- Specify the database hostname used for pgAdmin's clients to connect to.
# If specified this replaces 'mimic-postgresql' in the pgadmin4.db
# configuration file.
HELX_DB_HOSTNAME: ""
PGADMIN_DISABLE_POSTFIX: "true"
PGADMIN_LISTEN_PORT: "80"
replicaCount: 1
# -- Settings for django sqlite3 db file persistence, if postgresql is not enabled (postgresql.enabled: false).
sqliteStorage:
# -- If a claim name is not specified, it defaults to appstore-oauth-pvc.
claimName:
storageClass:
# -- Settings for django logs persistence.
logsStorageAppstore:
createPVC: false
# -- Set to true if a claim has been created outside of the appstore chart.
existingClaim: false
# -- Specify the claim name if it pre-exists or it defaults to appstore-logs-pvc.
claimName:
storageSize: 2Gi
storageClass:
userStorage:
# -- Create a PVC for user's files. If false then the PVC needs to be created
# outside of the appstore chart.
createPVC: true
retain: true
storageSize: 10Gi
storageClass:
nfs:
createPV: false
path:
server:
# Add any extra environment variables not already defined in the chart.
extraEnv: {}
# -- Set to true, when using blackbalsam.
useSparkServiceAccount: false
tycho:
# -- Application processes launched will run as this user.
runAsUser: 0
# -- Application processes launched will have this group permissions.
runAsGroup: 0
# -- Application processes launched will also be part of this supplimentary group.
fsGroup: 0
# -- Enable trash-cli functionality in tycho-launched apps
enableTrashCli: false
# -- Start the init container to take care of any needed tasks before the
# main container is started. This can be to create certain directories or
# set file permissions.
enableInitContainer: true
# -- The image repository to use for HeLx app init containers.
initImageRepository: busybox
# -- The image tag to use for HeLx app init containers.
initImageTag: latest
# -- Init processes will run as this user.
initRunAsUser: 0
# -- Init processes will have this group permissions.
initRunAsGroup: 0
# -- "Userless" init processes will run as this user.
initRunAsNobodyUser: 524288
# -- "Userless" init processes will have these group permissions.
initRunAsNobodyGroup: 524288
# -- Create Home and shared directories for users.
createHomeDirs: true
# -- directory that will be used to mount user's home directories in
parent_dir: "/home"
# -- Name of directory to use for a user's home directory. If null then the
# user's username will be used.
subpath_dir: null
# -- name of directory to use for shared data
shared_dir: "shared"
# -- Resource for Tycho init container. Defaults cpus|250m memory|250Mi
init:
resources:
cpus: 250m
memory: 250Mi
# -- The GPU resource name that a container can utilize. Typically this is
# "nvidia.com/gpu", but other types exist, such as "nvidia.com/mig-1g.5gb"
# and other manufacturers have their own types.
GPUResourceName: "nvidia.com/gpu"
# -- Enable/disable the external app registry file for Tycho. Set
# 'django.DOCKSTORE_APPS_BRANCH' to an empty string when when using an
# external app registry.
externalAppRegistryEnabled: false
# -- Can be set to a git repo URL for fetching the app registry file or
# defaults file. Something in the form of
# 'https://github.com/helxplatform/helx-apps/raw'.
externalAppRegistryRepo: "https://github.com/helxplatform/helx-apps/raw"
# -- The branch that would be appended to 'externalAppRegistryRepo' to
# retrieve the app registry and defaults files. The full URL, if using the
# externalAppRegistryRepo example for the app registry file would be
# 'https://github.com/helxplatform/helx-apps/raw/master/app-registry.yaml'.
# The default value is the AppVersion of this chart prefixed with a 'v'
# (ex. v2.0.0).
externalAppRegistryBranch:
externalAppRegistryAppSpecsDir: "app-specs"
global:
# -- container image registry to use for Bitnami images
imageRegistry: "containers.renci.org"
security:
# -- load container images from non-Bitnami container registry servers
allowInsecureImages: true
# -- the name of the PVC to use for user's files
stdnfsPvc: stdnfs
# -- specify the id of the ambassador for Tycho-launched services.
ambassador_id:
# -- specify the service name for ambassador
ambassador_service_name: ambassador
# -- specify the mapping name for ambassador
ambassador_mapping_name: appstore-mapping
#############################################################################
# -- appstore database settings
db:
name: appstore
port: 5432
# -- postgresql settings
postgresql:
enabled: true
global:
# -- postgresql credentials
postgresql:
auth:
database: "appstore-oauth"
username: "renci"
password: "renciAdmin"
postgresPassword: "adminPass"
# -- postgresql labels
primary:
labels: {"np-label": "appstore-db"}
podLabels: {"np-label": "appstore-db"}
# -- postgresql logs
audit:
logHostname: true
logConnections: true
# -- postgresql persistence storage
persistence:
existingClaim: "appstore-postgresql-pvc"
storageClass:
volumePermissions:
enabled: true
# -- enable/disable postgresql network policy, allows traffic to and from appstore pod only.
networkPolicyEnabled: true
# -- gitea settings
gitea:
enabled: false
# -- specify to display a link to the gitea instance in the UI navbar
baseUrl: ""