EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit ae29f16a authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

add chart option to not create default covtypes

parent e7c9e979
No related branches found
No related tags found
No related merge requests found
Pipeline #20989 passed
......@@ -88,10 +88,11 @@
{{- if .Values.global.collections }}
if python3 manage.py id check {{ index (keys $.Values.global.collections | sortAlpha) 0 | quote }}; then
echo "Initializing database"
{{- if .Values.config.createDefaultCoverageTypes }}
python3 manage.py coveragetype import /opt/core/rgbnir_definition.json --traceback
python3 manage.py coveragetype import /opt/core/def-sentinel-2-l1c-l2a.json --traceback
{{- end }}
{{- if $.Values.global.coverageTypes }}
{{- range $coverageType := $.Values.global.coverageTypes }}
......
......@@ -28,6 +28,7 @@ config:
pathBackends: []
preHandlers: []
postHandlers: []
createDefaultCoverageTypes: true
global:
env:
......
......@@ -88,10 +88,11 @@
{{- if .Values.global.collections }}
if python3 manage.py id check {{ index (keys $.Values.global.collections | sortAlpha) 0 | quote }}; then
echo "Initializing database"
{{- if .Values.config.createDefaultCoverageTypes }}
python3 manage.py coveragetype import /opt/core/rgbnir_definition.json --traceback
python3 manage.py coveragetype import /opt/core/def-sentinel-2-l1c-l2a.json --traceback
{{- end }}
{{- if $.Values.global.coverageTypes }}
{{- range $coverageType := $.Values.global.coverageTypes }}
......
......@@ -46,6 +46,7 @@ ingress:
config:
enableHttpAccess: false
createDefaultCoverageTypes: true
global:
env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment