mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
5ad8f50f9d
commit
55e6907b3b
@@ -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:
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user