Commit 105ae150 authored by sysC0D's avatar sysC0D Committed by k8s-ci-robot

[stable/influxdb] Add service variables to influx (#4419)

* Add service spec * Update Chart.yaml
parent 6a77d31c
name: influxdb
version: 0.8.4
version: 0.9.0
appVersion: 1.4
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
......
......@@ -13,6 +13,20 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- if .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
{{- end }}
ports:
{{- if .Values.config.http.enabled }}
- name: api
......
......@@ -13,6 +13,14 @@ service:
## Add annotations to service
# annotations: {}
type: ClusterIP
## Add IP Cluster
# clusterIP: ""
## Add external IPs that route to one or more cluster nodes
# externalIPs: []
## Specify LoadBalancer IP (only allow on some cloud provider)
# loadBalancerIP: ""
## Allow source IPs to access on service (if empty, any access allow)
# loadBalancerSourceRanges: []
## Persist data to a persistent volume
##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment