github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/addons/elasticsearch-addon.yaml (about)

     1  # copy from opsearch
     2  apiVersion: extensions.kubeblocks.io/v1alpha1
     3  kind: Addon
     4  metadata:
     5    name: elasticsearch
     6    labels:
     7      {{- include "kubeblocks.labels" . | nindent 4 }}
     8      "kubeblocks.io/provider": community
     9    {{- if .Values.keepAddons }}
    10    annotations:
    11      helm.sh/resource-policy: keep
    12    {{- end }}
    13  spec:
    14    description: 'Elasticsearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.'
    15  
    16    type: Helm
    17  
    18    helm:
    19      {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "elasticsearch" "version" (default .Chart.Version .Values.versionOverride) "values" .Values) | indent 4 }}
    20      {{- include "kubeblocks.addonChartsImage" . | indent 4 }}
    21  
    22      installOptions:
    23        {{- if hasPrefix "oci://" .Values.addonChartLocationBase }}
    24        version: {{ default .Chart.Version .Values.versionOverride }}
    25        {{- end }}
    26  
    27    installable:
    28      autoInstall: false
    29  
    30    defaultInstallValues:
    31      - enabled: false
    32        {{- with .Values.tolerations }}
    33        tolerations: {{ toJson . | quote }}
    34        {{- end }}