Migrate Fluentbit EK Specific Config from Package Values to Conditional BigBang Passthrough Values
Currently the fluent-bit chart hard-codes in the support for the OG ECK output so we will need to split out this support to me more conditional and easier to configure similar to the other Minimize Config issues the core/security team has been working on.
To start this migration, we will need to focus on these handful of values most importantly:
- elasticsearch
- storage_buffer
- env
- extraVolumes
- extraVolumeMounts
The first two should be set to empty values within the package eg: ""
and the values moved to be set within BigBang as passthrough values with the elasticsearch
value conditional on logging.enabled
.
The latter should all be set in BigBang and pulled out of the package all together, set back to {}
.
Lastly we will need to move this es
outputs section to BigBang passthrough values for fluentbit conditional on logging.enabled
AC:
-
Empty out elasticsearch
andstorage_buffer
values in package and move to BigBang passthrough values -
Migrate env
,extraVolumes
, &extraVolumeMounts
from package values to conditional BigBang passthrough values -
Migrate es output in config.outputs from package values to conditional BigBang passthrough values -
Test existing ECK+FLB stack works as expected (can go off Logging release testing steps) -
Test with logging disabled and Loki+FLB enabled and ensure all pods/deployments are successful and flb is outputting to loki successfully