Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions kubernetes/helm/templates/rnacentral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ spec:
{{- end }}
env:
- name: RNACENTRAL_ENV
value: {{ .Values.setEnv }}
value: {{ .Values.setEnv | quote }}
{{- if .Values.allowedHosts }}
- name: ALLOWED_HOSTS
value: {{ .Values.allowedHosts }}
value: {{ .Values.allowedHosts | quote }}
{{- end }}
{{- if .Values.djangoDebug }}
- name: DJANGO_DEBUG
value: {{ .Values.djangoDebug }}
value: {{ .Values.djangoDebug | quote }}
{{- end }}
- name: DOORBELL_API_KEY
valueFrom:
Expand Down
6 changes: 6 additions & 0 deletions kubernetes/helm/values.fallback.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ proxy: proxy-hx

# RNAcentral
rnacentralReplicas: 1

# Allowed hosts (in addition to rnacentral.org domains hardcoded in settings.py)
allowedHosts: ".caas.ebi.ac.uk"

# Disable SSL redirect so the site is accessible over plain HTTP on NodePort
djangoDebug: "True"
6 changes: 6 additions & 0 deletions kubernetes/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ sitemaps: "true"
# Add environment variable
setEnv: "prod"

# Allowed hosts (in addition to rnacentral.org domains hardcoded in settings.py)
allowedHosts: ".caas.ebi.ac.uk"

# Disable SSL redirect so the site is accessible over plain HTTP on NodePort
djangoDebug: "True"

# Memcached
# Using only 1 because no data is shared between replicas.
# This link explains a little more: https://github.com/helm/charts/issues/11773
Expand Down
Loading