Skip to content

Commit 00556f5

Browse files
authored
Merge pull request #53 from NFDI4Chem/development
fix:[coconut-app]-update values.yml
2 parents 21b532c + d170f64 commit 00556f5

File tree

4 files changed

+90
-57
lines changed

4 files changed

+90
-57
lines changed

charts/coconut-app/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.4.0
18+
version: 0.4.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/coconut-app/templates/configmap.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,14 @@ data:
6666
DOI_HOST: {{ .Values.doi.doiHost }}
6767
DOI_PROVIDER: {{ .Values.doi.doiProvider }}
6868

69+
#Datacite Properties
70+
DATACITE_PREFIX: "{{ .Values.datacite.prefix }}"
71+
DATACITE_ENDPOINT: {{ .Values.datacite.endpoint }}
72+
73+
#OAuth Properties
74+
{{ if .Values.oauthProperties.github.enabled }}
75+
GITHUB_REDIRECT_URL: {{ .Values.oauthProperties.github.redirectURL }}
76+
{{ end }}
77+
{{ if .Values.oauthProperties.google.enabled }}
78+
GOOGLE_REDIRECT_URL: {{ .Values.oauthProperties.google.redirectURL }}
79+
{{ end }}

charts/coconut-app/templates/secret.yml

+16
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,20 @@ data:
3434
{{- if .Values.larabug.enabled }}
3535
LB_KEY: {{ .Values.larabug.lbKey |b64enc | quote }}
3636
LB_PROJECT_KEY: {{ .Values.larabug.lbProjectKey |b64enc | quote }}
37+
{{- end -}}
38+
39+
#OAuth Properties Secrets
40+
{{- if .Values.oauthProperties.github.enabled }}
41+
GITHUB_CLIENT_ID: {{ .Values.oauthProperties.github.clientID |b64enc | quote }}
42+
GITHUB_CLIENT_SECRET: {{ .Values.oauthProperties.github.clientSecret |b64enc | quote }}
43+
{{- end -}}
44+
{{- if .Values.oauthProperties.google.enabled }}
45+
GOOGLE_CLIENT_ID: {{ .Values.oauthProperties.google.clientID |b64enc | quote }}
46+
GOOGLE_CLIENT_SECRET: {{ .Values.oauthProperties.google.clientSecret |b64enc | quote }}
47+
{{- end -}}
48+
49+
{{- if .Values.datacite.enabled }}
50+
#Datacite Secrets
51+
DATACITE_USERNAME: {{ .Values.datacite.username |b64enc | quote }}
52+
DATACITE_SECRET: {{ .Values.datacite.secret |b64enc | quote }}
3753
{{- end -}}

charts/coconut-app/values.yaml

+62-56
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ replicaCount: 1
77
# Default app properties for laravel.
88
appProperties:
99
name: coconut
10-
key:
11-
env: development
10+
key: base64:88Td66VUaLDIea0DEgJQVdoXU1WolK+kdoEPBepQYH0=
11+
env: production
1212
debug: true
13-
url: https://coconut2.nmrxiv.org
13+
url: https://coconut.naturalproducts.net/
1414
queueConnection: sync
1515
schemaVersion: 1.0
1616
description: |
17-
COCONUT Online is an open-source project that stores, searches, and analyzes Natural Products (NPs).
18-
The database contains over 50 open NP resources, and the data is accessible free of charge and without any restrictions.
19-
Each entry corresponds to a "flat" NP structure and is associated with their known stereochemical forms,
17+
COCONUT Online is an open-source project that stores, searches, and analyzes Natural Products (NPs).
18+
The database contains over 50 open NP resources, and the data is accessible free of charge and without any restrictions.
19+
Each entry corresponds to a "flat" NP structure and is associated with their known stereochemical forms,
2020
literature, organisms that produce them, natural geographic presence, and precomputed molecular properties if available.
2121
2222
webservices:
@@ -26,13 +26,13 @@ webservices:
2626
orcidIdSearchApi: https://pub.orcid.org/v2.1/search
2727
orcidIdEmploymentApi: https://pub.orcid.org/v3.0/{orcid_id}/employments
2828
orcidIdPersonApi: https://pub.orcid.org/v3.0/{orcid_id}/person
29-
cmApi: https://dev.api.naturalproducts.net/v1/
29+
cmApi: https://api.naturalproducts.net/v1/
3030

3131
logProperties:
3232
logChannel: stack
3333
logLevel: debug
3434

35-
#DB Properties
35+
# DB Properties
3636
rdkitcatridgepostgres:
3737
enabled: true
3838
auth:
@@ -45,14 +45,14 @@ rdkitcatridgepostgres:
4545

4646
appImage:
4747
name: php
48-
repository: europe-west3-docker.pkg.dev/coconut-366808/coconut-dev/coconut-app
48+
repository: nfdi4chem/coconut
4949
pullPolicy: Always
5050
# Overrides the image tag whose default is the chart appVersion.
5151
tag: latest
5252

5353
nginxImage:
5454
name: nginx
55-
repository: europe-west3-docker.pkg.dev/coconut-366808/coconut-dev/coconut-nginx
55+
repository: nfdi4chem/coconut
5656
pullPolicy: Always
5757
# Overrides the image tag whose default is the chart appVersion.
5858
tag: latest
@@ -110,7 +110,7 @@ ingress:
110110
# hosts:
111111
# - chart-example.local
112112

113-
resources:
113+
resources:
114114
# We usually recommend not to specify default resources and to leave this as a conscious
115115
# choice for the user. This also increases chances charts run on environments with little
116116
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -136,7 +136,7 @@ mail:
136136
host: 'smtp.uni-jena.de'
137137
port: 587
138138
from: info.coconut@uni-jena.de
139-
fromName: "coconut-dev"
139+
fromName: "coconut"
140140
user: test
141141
password: secret
142142
mailer: smtp
@@ -145,44 +145,25 @@ cheminfo-microservice:
145145
enabled: false
146146
image:
147147
name: chem-py-microservice
148-
repository: europe-west3-docker.pkg.dev/coconut-366808/cheminformatics-python-microservice/chem-py-microservice
148+
repository: nfdi4chem/cheminformatics-microservice
149149
pullPolicy: Always
150150
tag: latest
151151
service:
152152
type: ClusterIP
153153
port: 80
154154

155-
# oauthProperties:
156-
# enabled: false
157-
# twitterClientID:
158-
# twitterClientSecret:
159-
# twitterRedirectUrl:
160-
# githubClientID:
161-
# githubClientSecret:
162-
# githubRedirectUrl:
163-
# orcidClientID:
164-
# orcidClientSecret:
165-
# orcidRedirectUrl:
166-
# orcidEnvironment:
167-
168-
#Enable this properties for Single Sign-On follow the documentation for more info https://docs.coconut.org/docs/developer-guides/configurations/oauth
169-
# oauthProperties:
170-
# twitter:
171-
# enabled: false
172-
# clientID:
173-
# clientSecret:
174-
# redirectURL:
175-
# github:
176-
# enabled: false
177-
# clientID:
178-
# clientSecret:
179-
# redirectURL:
180-
# orcid:
181-
# enabled: false
182-
# clientID:
183-
# clientSecret:
184-
# redirectURL:
185-
# environment:
155+
# Enable this properties for Single Sign-On follow the documentation for more info https://docs.coconut.org/docs/developer-guides/configurations/oauth
156+
oauthProperties:
157+
google:
158+
enabled: false
159+
clientID:
160+
clientSecret:
161+
redirectURL:
162+
github:
163+
enabled: false
164+
clientID:
165+
clientSecret:
166+
redirectURL:
186167

187168
# storage:
188169
# pvc:
@@ -221,23 +202,22 @@ worker:
221202

222203
redis:
223204
enabled: false
224-
#architecture: standalone
205+
# architecture: standalone
225206
auth:
226207
enabled: true
227208
password: secret
228209
global:
229210
storageClass: standard
230-
#host: nmrxiv-redis-master
211+
# host: nmrxiv-redis-master
231212
port: 6379
232-
replica:
233-
replicaCount: 1
234213
master:
235214
persistence:
236215
enabled: true
237216
size: 1Gi
238217
service:
239218
type: LoadBalancer
240219
replica:
220+
replicaCount: 1
241221
persistence:
242222
enabled: true
243223
size: 1Gi
@@ -270,21 +250,47 @@ scheduler:
270250

271251
larabug:
272252
enabled: false
273-
lbKey:
253+
lbKey:
274254
lbProjectKey:
275255

256+
datacite:
257+
enabled: false
258+
host:
259+
username:
260+
secret:
261+
prefix:
262+
endpoint: https://api.test.datacite.org
263+
264+
rabbitmq:
265+
enabled: false
266+
queueConnection: sync
267+
port: 5672
268+
# host: nmrxiv-rabbitmq
269+
auth:
270+
username: 'rabbitmq_user'
271+
password: 'password'
272+
# erlangCookie: 'erlangCookieerlangCookie'
273+
global:
274+
storageClass: 'standard'
275+
metrics:
276+
enabled: false
277+
ingress:
278+
enabled: false
279+
path: '/'
280+
hostname: ''
281+
276282
fileStorage:
277283
# Below values are for file storage configuration.
278284
# You can have desired S3 compatible driver of your choice. Follow to read more https://laravel.com/docs/9.x/filesystem
279285
enabled: false
280-
fileSystemDriver:
281-
fileSystemDriverPublic:
282-
awsAccessKeyID:
283-
awsSecretAccessKey:
284-
awsDefaultRegion:
285-
awsBucket:
286+
fileSystemDriver:
287+
fileSystemDriverPublic:
288+
awsAccessKeyID:
289+
awsSecretAccessKey:
290+
awsDefaultRegion:
291+
awsBucket:
286292
awsEndpoint:
287-
awsURL:
293+
awsURL:
288294

289295
nodeSelector: {}
290296

0 commit comments

Comments
 (0)