opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
170 stars 228 forks source link

multiple config files #541

Open scandinavianpengue opened 4 months ago

scandinavianpengue commented 4 months ago

Hello,

i'm trying to override some keys in the opensearch_dashboards.yml (located in /usr/share/opensearch-dashboards/config/) I have seen i can create the config: key in the custom values file, but in there i can create only the whole file, either as multistring with the |, either as configmap.

I've also seen that opensearch-dashboard can be executed giving multiple config files on the command line (ops-d -c file1 -c file2 ... ) It is not clear how can i add just some keys and not having to include the whole file in the config: key. Specifically i'm trying to change:

opensearchDashboards.branding:
  logo:
    defaultUrl: URL
    darkModeUrl: URL
  mark:
    defaultUrl: URL
    darkModeUrl: URL
  loadingLogo:
    defaultUrl: URL
    darkModeUrl:URL
  faviconUrl: URL
  applicationTitle: TITLE

Could you please point in the right direction? Thank you

prudhvigodithi commented 4 months ago

[Triage] Hey @scandinavianpengue thanks for opening the issue, yes you are right. Also if the setting can be passed via an environment values then you are leverage extraEnvs for this. Adding @TheAlgo @DandyDeveloper @peterzhuamazon for more inputs. Thanks @bbarani