Files
charts/bitnami/dremio/templates/headless-service.yaml
Javier J. Salmerón-García 6c83fe915c [bitnami/dremio] feat: 🎉 Add chart (#27453)
Description of the change

This PR adds the chart for Dremio OSS, based on the upstream dremio chart. Features:

 - BItnami standards
 - Full configuration using the upstream Dremio configuration
 - Use of indirect environment variables in configuration
 - Master coordinator, Coordinator and Executor (with multiple engines)
 - TLS for the web interface (the only one allowed in Dremio OSS)


---------

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
2024-06-25 12:15:10 +02:00

51 lines
1.9 KiB
YAML

{{- /*
Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-headless" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: dremio
{{- if or .Values.commonAnnotations .Values.service.headless.annotations }}
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.service.headless.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
publishNotReadyAddresses: true
clusterIP: None
ports:
- name: http-web
port: {{ .Values.dremio.containerPorts.web }}
targetPort: web
protocol: TCP
- name: tcp-client
port: {{ .Values.dremio.containerPorts.client }}
targetPort: client
protocol: TCP
- name: tcp-flight
port: {{ .Values.dremio.containerPorts.flight }}
targetPort: flight
protocol: TCP
- name: tcp-fabric
port: {{ .Values.dremio.containerPorts.fabric }}
targetPort: fabric
protocol: TCP
- name: tcp-conduit
port: {{ .Values.dremio.containerPorts.conduit }}
targetPort: conduit
protocol: TCP
- name: tcp-liveness
port: {{ .Values.dremio.containerPorts.liveness }}
targetPort: conduit
protocol: TCP
- name: tcp-jmx
port: {{ .Values.dremio.containerPorts.jmx }}
targetPort: jmx
protocol: TCP
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: dremio