EOX GitLab Instance

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

browses removal at registrar config with a removeBrowsesFromConfig flag

parent 929e691c
No related branches found
No related tags found
No related merge requests found
Pipeline #24063 passed
......@@ -42,6 +42,9 @@ backends:
instance_name: {{ .Values.config.eoxserverInstanceName }}
product_types:
{{- range $prod_type_val := .Values.global.productTypes -}}
{{- if ( $.Values.config.removeBrowsesFromConfig ) }}
{{- $prod_type_val := unset $prod_type_val "browses" }}
{{- end }}
{{- $prod_type_val := unset $prod_type_val "defaultBrowse" }}
-{{- toYaml $prod_type_val | nindent 10 -}}
{{- end -}}
......
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