UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 30b52c4a authored by Micah Nagel's avatar Micah Nagel Committed by Ryan Garcia
Browse files

Move EK values out of package level for FLB

parent 3711343e
No related branches found
No related tags found
2 merge requests!1658Draft: Merge branch 'tempo_tracing_updates' into 'master',!1393Move EK values out of package level for FLB
......@@ -3,10 +3,61 @@
{{- end }}
{{- define "bigbang.defaults.fluentbit" -}}
elasticsearch:
host: "logging-ek-es-http"
password:
secret: "logging-ek-es-elastic-user"
{{- $disableDefault := dig "additionalOutputs" "disableDefault" false .Values.fluentbit.values }}
{{- if and (not $disableDefault) .Values.logging.enabled }}
env:
- name: FLUENT_ELASTICSEARCH_PASSWORD
valueFrom:
secretKeyRef:
name: logging-ek-es-elastic-user
key: elastic
extraVolumes:
- hostPath:
path: /var/log/flb-storage/
type: DirectoryOrCreate
name: flb-storage
- secret:
secretName: logging-ek-es-http-certs-public
name: elasticsearch-certs
extraVolumeMounts:
- mountPath: /var/log/flb-storage/
name: flb-storage
- mountPath: /etc/elasticsearch/certs/
name: elasticsearch-certs
config:
outputs: |
[OUTPUT]
Name es
Match kube.*
Host {{ dig "elasticsearch" "name" "logging-ek" .Values.fluentbit.values }}-es-http
HTTP_User elastic
HTTP_Passwd ${FLUENT_ELASTICSEARCH_PASSWORD}
Logstash_Format On
Retry_Limit False
Replace_Dots On
tls On
tls.verify On
tls.ca_file /etc/elasticsearch/certs/ca.crt
storage.total_limit_size {{ dig "storage" "total_limit_size" "10G" .Values.fluentbit.values }}
[OUTPUT]
Name es
Match host.*
Host {{ dig "elasticsearch" "name" "logging-ek" .Values.fluentbit.values }}-es-http
HTTP_User elastic
HTTP_Passwd ${FLUENT_ELASTICSEARCH_PASSWORD}
Logstash_Format On
Logstash_Prefix node
Retry_Limit False
tls On
tls.verify On
tls.ca_file /etc/elasticsearch/certs/ca.crt
storage.total_limit_size {{ dig "storage" "total_limit_size" "10G" .Values.fluentbit.values }}
{{- end }}
imagePullSecrets:
- name: private-registry
......@@ -18,7 +69,6 @@ networkPolicies:
enabled: {{ .Values.networkPolicies.enabled }}
controlPlaneCidr: {{ .Values.networkPolicies.controlPlaneCidr }}
istio:
enabled: {{ .Values.istio.enabled }}
......
......@@ -448,7 +448,7 @@ fluentbit:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/fluentbit.git
path: "./chart"
tag: "0.19.19-bb.2"
tag: "0.19.19-bb.3"
# -- Flux reconciliation overrides specifically for the Fluent-Bit Package
flux: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment