Skip to content

Commit

Permalink
refactors opensearch dashboard to accept extra packages (#2337)
Browse files Browse the repository at this point in the history
Signed-off-by: Mritunjay <[email protected]>
  • Loading branch information
mritunjaysharma394 authored Mar 11, 2024
1 parent a20b086 commit b494fee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
18 changes: 17 additions & 1 deletion images/opensearch-dashboards/config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@ terraform {

variable "extra_packages" {
description = "The additional packages to install (e.g. opensearch-dashboards-2)."
default = []
default = [
"opensearch-dashboards-2",
"opensearch-dashboards-2-config",
"opensearch-dashboards-2-dashboards-observability",
"opensearch-dashboards-2-dashboards-reporting",
"opensearch-dashboards-2-dashboards-visualizations",
"opensearch-dashboards-2-dashboards-query-workbench",
"opensearch-dashboards-2-dashboards-maps",
"opensearch-dashboards-2-anomaly-detection-dashboards-plugin",
"opensearch-dashboards-2-ml-commons-dashboards",
"opensearch-dashboards-2-index-management-dashboards-plugin",
"opensearch-dashboards-2-dashboards-notifications",
"opensearch-dashboards-2-alerting-dashboards-plugin",
"opensearch-dashboards-2-security-analytics-dashboards-plugin",
"opensearch-dashboards-2-security-dashboards-plugin",
"opensearch-dashboards-2-dashboards-search-relevance",
]
}

data "apko_config" "this" {
Expand Down
15 changes: 0 additions & 15 deletions images/opensearch-dashboards/config/template.apko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ contents:
- bash
- busybox
- dumb-init
- opensearch-dashboards-2-config
- opensearch-dashboards-2
- opensearch-dashboards-2-dashboards-observability
- opensearch-dashboards-2-dashboards-reporting
- opensearch-dashboards-2-dashboards-visualizations
- opensearch-dashboards-2-dashboards-query-workbench
- opensearch-dashboards-2-dashboards-maps
- opensearch-dashboards-2-anomaly-detection-dashboards-plugin
- opensearch-dashboards-2-ml-commons-dashboards
- opensearch-dashboards-2-index-management-dashboards-plugin
- opensearch-dashboards-2-dashboards-notifications
- opensearch-dashboards-2-alerting-dashboards-plugin
- opensearch-dashboards-2-security-analytics-dashboards-plugin
- opensearch-dashboards-2-security-dashboards-plugin
- opensearch-dashboards-2-dashboards-search-relevance
- nss # required by reporting
- fontconfig # required by reporting
- freetype # required by reporting
Expand Down

0 comments on commit b494fee

Please sign in to comment.