1# Copyright OpenSearch Contributors
2# SPDX-License-Identifier: Apache-2.0
4# Default values for opensearch-dashboards.
5# This is a YAML-formatted file.
6# Declare variables to be passed into your templates.
8opensearchHosts: "https://opensearch-cluster-master:9200"
11 repository: chainreg.biz/chainguard-private/opensearch-dashboards
12 # override image tag, which is .Chart.AppVersion by default
13 tag: latest@sha256:2f569e4a419cc82a2da7cab12a830ae600988cad5d5e7aeeeae02771c6b7816e
14 pullPolicy: "IfNotPresent"
22 initialDelaySeconds: 10
30 initialDelaySeconds: 10
38 initialDelaySeconds: 10
43 # Specifies whether a service account should be created
45 # Annotations to add to the service account
47 # The name of the service account to use.
48 # If not set and create is true, a name is generated using the fullname template
50 # Controls whether the ServiceAccount API token is automatically mounted on pod
51 automountServiceAccountToken: true
54# A list of secrets and their paths to mount inside the pod
55# This is useful for mounting certificates for security and for mounting
59# secretName: dashboard-certs
60# path: /usr/share/dashboards/certs
63# Deployment annotations
64dashboardAnnotations: {}
66# - name: "NODE_OPTIONS"
67# value: "--max-old-space-size=1800"
76# mountPath: /usr/share/extras
79extraInitContainers: ""
86 # readOnlyRootFilesystem: true
90# Default OpenSearch Dashboards configuration from docker image of Dashboards
92# opensearch_dashboards.yml: |
95# host: "{{ .Values.serverHost }}"
97# opensearch_dashboards.yml:
100# host: "{{ .Values.serverHost }}"
102# Dashboards TLS Config (Ensure the cert files are present before enabling SSL
105# key: /usr/share/opensearch-dashboards/certs/dashboards-key.pem
106# certificate: /usr/share/opensearch-dashboards/certs/dashboards-crt.pem
108# determines how dashboards will verify certificates (needs to be none for default opensearch certificates to work)
111# certificateAuthorities: /usr/share/opensearch-dashboards/certs/dashboards-root-ca.pem
112# if utilizing custom CA certs for connection to opensearch, provide the CA here
113opensearchDashboardsYml:
115 # value should be 0-0777
131 # The IP family and IP families options are to set the behaviour in a dual-stack environment
132 # Omitting these values will let the service fall back to whatever the CNI dictates the defaults
135 # ipFamilyPolicy: SingleStack
144 loadBalancerSourceRanges: []
147 metricsPortName: metrics
150 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
151 # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
152 # ingressClassName: nginx
154 # kubernetes.io/ingress.class: nginx
155 # kubernetes.io/tls-acme: "true"
158 - host: chart-example.local
165 # - secretName: chart-example-tls
167 # - chart-example.local
176 # This requires metrics server to be installed, to install use kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
177 # See https://github.com/kubernetes-sigs/metrics-server
181 # The legacy `targetCPUUtilizationPercentage` key has been deprecated in favor of `targetCPU`
189# This is the pod topology spread constraints
190# https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
191topologySpreadConstraints: []
192# -- Array of extra K8s manifests to deploy
194# - apiVersion: secrets-store.csi.x-k8s.io/v1
195# kind: SecretProviderClass
197# name: argocd-secrets-store
202# - objectName: "argocd"
203# objectType: "secretsmanager"
206# objectAlias: "client_id"
207# - path: "client_secret"
208# objectAlias: "client_secret"
212# objectName: client_id
213# - key: client_secret
214# objectName: client_secret
215# secretName: argocd-secrets-store
218# app.kubernetes.io/part-of: argocd
220# apiVersion: policy/v1
221# kind: PodDisruptionBudget
223# name: {{ template "opensearch-dashboards.fullname" . }}
225# {{- include "opensearch-dashboards.labels" . | nindent 4 }}
230# {{- include "opensearch-dashboards.selectorLabels" . | nindent 6 }}
232# pod lifecycle policies as outlined here:
233# https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
237# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
245# curl -I "http://admin:admin@127.0.0.1:5601/status -H "kbn-xsrf: true" -H 'kbn-xsrf: true' -H "Content-Type: application/json"
247## Enable to add 3rd Party / Custom plugins not offered in the default OpenSearchDashboards image.
251 # - example-fake-plugin-downloadable-url
253 # - examplePluginName
254# ServiceMonitor Configuration for Prometheus
255# Enabling this option will create a ServiceMonitor resource that allows Prometheus to scrape metrics from the OpenSearch service.
257 # Set to true to enable the ServiceMonitor resource for OpenSearch Dashboards
259 # HTTP path where metrics are exposed by OpenSearch Dashboards.
260 # Ensure this path is correctly set in your service.
261 path: /_prometheus/metrics
262 # Frequency at which Prometheus will scrape metrics.
263 # Modify as needed for your monitoring requirements.
265 # additional labels to be added to the ServiceMonitor
267 # k8s.example.com/prometheus: kube-prometheus