mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add nodePort configuration for Fluentd (#9071)
Statically assign nodePort Signed-off-by: Johnathan Rodgers <jrodgers@powerhrg.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
37bfb62560
commit
08bee4b999
@@ -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: 1.2.0
|
||||
version: 1.3.0
|
||||
appVersion: v2.3.1
|
||||
home: https://www.fluentd.org/
|
||||
sources:
|
||||
|
||||
@@ -16,6 +16,9 @@ spec:
|
||||
targetPort: {{ $port.containerPort }}
|
||||
protocol: {{ $port.protocol }}
|
||||
{{- end }}
|
||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{ end }}
|
||||
selector:
|
||||
app: {{ template "fluentd.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
|
||||
@@ -21,6 +21,7 @@ env: {}
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
# type: nodePort:
|
||||
externalPort: 80
|
||||
ports:
|
||||
- name: "monitor-agent"
|
||||
|
||||
Reference in New Issue
Block a user