1 ################################################################################
2 # Copyright (c) 2021 HCL Technolgies Limited. #
4 # Licensed under the Apache License, Version 2.0 (the "License"); #
5 # you may not use this file except in compliance with the License. #
6 # You may obtain a copy of the License at #
8 # http://www.apache.org/licenses/LICENSE-2.0 #
10 # Unless required by applicable law or agreed to in writing, software #
11 # distributed under the License is distributed on an "AS IS" BASIS, #
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
13 # See the License for the specific language governing permissions and #
14 # limitations under the License. #
15 ################################################################################
16 {{ if .Values.enterprise.enabled -}}
20 name: {{ include "common.fullname.influxdb" . }}-meta
22 {{- include "common.influxdb.labels" . | nindent 4 }}
23 app.kubernetes.io/component: meta
25 influxdb-meta.conf: |+
26 reporting-disabled = {{ .Values.config.reporting_disabled | default false }}
27 bind-address = ":{{ include "common.serviceport.influxdb.meta.bind_address" . | default 8091 }}"
30 license-key = {{ .Values.enterprise.licensekey | quote }}
33 dir = "/var/lib/influxdb/meta"
34 {{- range $key, $value := index .Values.config.meta }}
35 {{ $key }} = {{ $value }}
37 {{- if .Values.enterprise.enabled }}
38 meta-auth-enabled = {{ .Values.config.meta.authEnabled }}
42 {{- range $key, $value := index .Values.config.logging }}
43 {{ $key }} = {{ $value }}
47 {{- range $key, $value := index .Values.config.tls }}
48 {{ $key }} = {{ $value }}