|
| 1 | +# Copyright OpenSearch Contributors |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +# Default values for opensearch-dashboards. |
| 5 | +# This is a YAML-formatted file. |
| 6 | +# Declare variables to be passed into your templates. |
| 7 | + |
| 8 | +opensearchHosts: "https://opensearch-cluster-leader:9200" |
| 9 | +replicaCount: 3 |
| 10 | + |
| 11 | +image: |
| 12 | + repository: "opensearchproject/opensearch-dashboards" |
| 13 | + # override image tag, which is .Chart.AppVersion by default |
| 14 | + tag: "" |
| 15 | + pullPolicy: "IfNotPresent" |
| 16 | + |
| 17 | +imagePullSecrets: [] |
| 18 | +nameOverride: "" |
| 19 | +fullnameOverride: "" |
| 20 | + |
| 21 | +serviceAccount: |
| 22 | + # Specifies whether a service account should be created |
| 23 | + create: true |
| 24 | + # Annotations to add to the service account |
| 25 | + annotations: {} |
| 26 | + # The name of the service account to use. |
| 27 | + # If not set and create is true, a name is generated using the fullname template |
| 28 | + name: "" |
| 29 | + |
| 30 | +rbac: |
| 31 | + create: true |
| 32 | + |
| 33 | +# A list of secrets and their paths to mount inside the pod |
| 34 | +# This is useful for mounting certificates for security and for mounting |
| 35 | +# the X-Pack license |
| 36 | +secretMounts: [] |
| 37 | + |
| 38 | +podAnnotations: {} |
| 39 | + |
| 40 | +extraEnvs: [] |
| 41 | + |
| 42 | +envFrom: [] |
| 43 | + |
| 44 | +extraVolumes: [] |
| 45 | + |
| 46 | +extraVolumeMounts: [] |
| 47 | + |
| 48 | +extraInitContainers: "" |
| 49 | + |
| 50 | +extraContainers: "" |
| 51 | + |
| 52 | +podSecurityContext: {} |
| 53 | + |
| 54 | +securityContext: |
| 55 | + capabilities: |
| 56 | + drop: |
| 57 | + - ALL |
| 58 | + # readOnlyRootFilesystem: true |
| 59 | + runAsNonRoot: true |
| 60 | + runAsUser: 1000 |
| 61 | + |
| 62 | +config: |
| 63 | + # Default OpenSearch Dashboards configuration from docker image of Dashboards |
| 64 | + opensearch_dashboards.yml: |
| 65 | + opensearch.hosts: [https://localhost:9200] |
| 66 | + opensearch.ssl.verificationMode: none |
| 67 | + opensearch.username: kibanaserver |
| 68 | + opensearch.password: kibanaserver |
| 69 | + opensearch.requestHeadersWhitelist: [authorization, securitytenant] |
| 70 | + opensearch_security.auth.anonymous_auth_enabled: true |
| 71 | + opensearch_security.multitenancy.enabled: false |
| 72 | + opensearch_security.multitenancy.tenants.preferred: [Global, Private] |
| 73 | + opensearch_security.readonly_mode.roles: [kibana_read_only] |
| 74 | + # Use this setting if you are running opensearch-dashboards without https |
| 75 | + opensearch_security.cookie.secure: false |
| 76 | + server.host: '0.0.0.0' |
| 77 | + # Use the consolidated menu and global header bar |
| 78 | + opensearchDashboards.branding.useExpandedHeader: false |
| 79 | + |
| 80 | +priorityClassName: "" |
| 81 | + |
| 82 | +opensearchAccount: |
| 83 | + secret: "" |
| 84 | + keyPassphrase: |
| 85 | + enabled: false |
| 86 | + |
| 87 | +labels: {} |
| 88 | + |
| 89 | +hostAliases: [] |
| 90 | + |
| 91 | +serverHost: "0.0.0.0" |
| 92 | + |
| 93 | +service: |
| 94 | + type: ClusterIP |
| 95 | + port: 5601 |
| 96 | + loadBalancerIP: "" |
| 97 | + nodePort: "" |
| 98 | + labels: {} |
| 99 | + annotations: {} |
| 100 | + loadBalancerSourceRanges: [] |
| 101 | + # 0.0.0.0/0 |
| 102 | + httpPortName: http |
| 103 | + |
| 104 | +ingress: |
| 105 | + enabled: false |
| 106 | + # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName |
| 107 | + # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress |
| 108 | + # ingressClassName: nginx |
| 109 | + annotations: {} |
| 110 | + hosts: |
| 111 | + - host: chart-example.local |
| 112 | + paths: |
| 113 | + - path: / |
| 114 | + backend: |
| 115 | + serviceName: chart-example.local |
| 116 | + servicePort: 80 |
| 117 | + tls: [] |
| 118 | + |
| 119 | +resources: |
| 120 | + requests: |
| 121 | + cpu: "1" |
| 122 | + memory: "8G" |
| 123 | + limits: |
| 124 | + cpu: "3" |
| 125 | + memory: "24G" |
| 126 | + |
| 127 | +autoscaling: |
| 128 | + # 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 |
| 129 | + # See https://github.com/kubernetes-sigs/metrics-server |
| 130 | + enabled: false |
| 131 | + minReplicas: 2 |
| 132 | + maxReplicas: 10 |
| 133 | + targetCPUUtilizationPercentage: 80 |
| 134 | + |
| 135 | +updateStrategy: |
| 136 | + type: "Recreate" |
| 137 | + |
| 138 | +nodeSelector: {} |
| 139 | + |
| 140 | +tolerations: [] |
| 141 | + |
| 142 | +affinity: {} |
| 143 | + |
| 144 | +# -- Array of extra K8s manifests to deploy |
| 145 | +extraObjects: [] |
0 commit comments