[stable/fluent-bit] Add configmap override option (#3573)

* [stable/fluent-bit] Add configmap override option

* Rename override value to existingConfigMap

* Drop release name prefix
This commit is contained in:
Márk Sági-Kazár
2018-02-07 22:43:44 -08:00
committed by k8s-ci-robot
parent 5ad8f50f9d
commit 55e6907b3b
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluent-bit
version: 0.2.7
version: 0.2.8
appVersion: 0.12.11
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+2
View File
@@ -1,3 +1,4 @@
{{- if (empty .Values.existingConfigMap) -}}
apiVersion: v1
kind: ConfigMap
metadata:
@@ -59,3 +60,4 @@ data:
{{- end }}
Format {{ .Values.backend.http.format }}
{{- end }}
{{- end -}}
+1 -1
View File
@@ -51,7 +51,7 @@ spec:
path: /var/lib/docker/containers
- name: config
configMap:
name: {{ template "fluent-bit.fullname" . }}-config
name: {{ if .Values.existingConfigMap }}{{ .Values.existingConfigMap }}{{- else }}{{ template "fluent-bit.fullname" . }}-config{{- end }}
{{ if .Values.on_minikube }}
- name: mnt
hostPath:
+6
View File
@@ -29,6 +29,12 @@ backend:
env: []
## ConfigMap override where fullname is {{.Release.Name}}-{{.Values.existingConfigMap}}
## Defining existingConfigMap will cause templates/config.yaml
## to NOT generate a ConfigMap resource
##
existingConfigMap: ""
resources:
limits:
memory: 100Mi