mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/fluentd] Added service.loadBalancerIP (#18498)
Added conditional to the service template and documentation to both the values file and the readme for setting custom load balancer IP address. Signed-off-by: Austin Orth <aorth@niche.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6d22112751
commit
96b8887d69
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: A Fluentd Elasticsearch Helm chart for Kubernetes.
|
||||
icon: https://raw.githubusercontent.com/fluent/fluentd-docs/master/public/logo/Fluentd_square.png
|
||||
name: fluentd
|
||||
version: 2.1.3
|
||||
version: 2.2.0
|
||||
appVersion: v2.4.0
|
||||
home: https://www.fluentd.org/
|
||||
sources:
|
||||
|
||||
@@ -71,6 +71,7 @@ Parameter | Description | Default
|
||||
`serviceAccount.create` | Specifies whether a service account should be created. | `true`
|
||||
`serviceAccount.name` | Name of the service account.
|
||||
`priorityClassName` | priorityClassName | `nil`
|
||||
`service.loadBalancerIP` | If `service.type` is `LoadBalancer` set custom IP load balancer IP address | `nil`
|
||||
`service.ports` | port definition for the service | See [values.yaml](values.yaml)
|
||||
`service.type` | type of service | `ClusterIP`
|
||||
`service.annotations` | list of annotations for the service | `{}`
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{ if (and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP))) }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{ end }}
|
||||
ports:
|
||||
{{- range $port := .Values.service.ports }}
|
||||
- name: {{ $port.name }}
|
||||
|
||||
@@ -34,6 +34,7 @@ plugins:
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
# loadBalancerIP:
|
||||
# type: NodePort
|
||||
# nodePort:
|
||||
# Used to create Service records
|
||||
|
||||
Reference in New Issue
Block a user