mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Signed-off-by: László Kondás <laszlo.kondas@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
95e8f1091a
commit
7cb24caa54
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: fluent-bit
|
||||
version: 2.7.1
|
||||
version: 2.7.2
|
||||
appVersion: 1.2.2
|
||||
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
|
||||
keywords:
|
||||
|
||||
@@ -65,3 +65,14 @@ Return the appropriate apiGroup for PodSecurityPolicy.
|
||||
{{- print "policy" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the appropriate apiVersion for DaemonSet.
|
||||
*/}}
|
||||
{{- define "daemonSet.apiVersion" -}}
|
||||
{{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- print "extensions/v1beta1" -}}
|
||||
{{- else -}}
|
||||
{{- print "apps/v1" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: {{ template "daemonSet.apiVersion" . }}
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ template "fluent-bit.fullname" . }}
|
||||
@@ -8,6 +8,13 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "fluent-bit.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{ toYaml .Values.podLabels | indent 6 }}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user