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 {{- if .Values.service.annotations }}
22 {{ toYaml .Values.service.annotations | indent 4 }}
24 name: {{ include "common.fullname.influxdb" . }}-meta
26 {{- include "common.influxdb.labels" . | nindent 4 }}
27 app.kubernets.io/component: meta
31 # publishNotReadyAddresses is used for service discovery of meta and data nodes by querying the service's SRV record.
32 publishNotReadyAddresses: true
35 port: {{ include "common.serviceport.influxdb.meta.bind_address" . | default 8091 }}
38 {{- include "common.influxdb.selectorLabels" . | nindent 4 }}
39 app.kubernets.io/component: meta