File tree Expand file tree Collapse file tree
deployment/kubernetes/charts/cogstack-helm-ce Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{- if .Values.provisioning.enabled }}
12apiVersion : v1
23kind : Pod
34metadata :
@@ -27,15 +28,16 @@ spec:
2728 - name : CONFIG_DIR
2829 value : /etc/config/opensearch-provisioning-config
2930 - name : PROVISION_OPENSEARCH_DASHBOARDS_ENABLED
30- value : " true "
31+ value : " {{ .Values.provisioning.opensearchDashboards.createDashboards }} "
3132 - name : PROVISION_OPENSEARCH_INDEX_TEMPLATE_ENABLED
32- value : " true "
33+ value : " {{ .Values.provisioning.opensearch.createIndexTemplate }} "
3334 - name : PROVISION_OPENSEARCH_EXAMPLE_DOCUMENTS_ENABLED
34- value : " true "
35+ value : " {{ .Values.provisioning.opensearch.createExampleDocuments }} "
3536 volumeMounts :
3637 - name : opensearch-provisioning-config
3738 mountPath : /etc/config/opensearch-provisioning-config
3839 volumes :
3940 - name : opensearch-provisioning-config
4041 configMap :
41- name : opensearch-provisioning-config
42+ name : opensearch-provisioning-config
43+ {{- end }}
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ medcat-trainer:
3434 env :
3535 CSRF_TRUSTED_ORIGINS : " http://localhost:8080"
3636
37+ provisioning :
38+ enabled : true
39+ opensearch :
40+ createIndexTemplate : true
41+ createExampleDocuments : true
42+ opensearchDashboards :
43+ createDashboards : true
44+
3745opensearch :
3846 enabled : true
3947 extraEnvs :
You can’t perform that action at this time.
0 commit comments