File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ locals {
41
41
excluded_namespaces = var.fluent_bit_excluded_namespaces,
42
42
s3_bucket_name = var.fluent_bit_enable_s3_output ? module.fluentbit_s3_bucket[0 ].s3_bucket_id : null ,
43
43
cw_enable = var.fluent_bit_enable_cw_output
44
+ kube_api_endpoint = var.fluent_bit_kube_api_endpoint
44
45
})
45
46
46
47
fluent_bit_helm_config = merge (
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ config:
92
92
[FILTER]
93
93
Name kubernetes
94
94
Match kube.*
95
- Kube_URL https://kubernetes.default.svc.cluster.local:443
95
+ Kube_URL ${kube_api_endpoint}
96
96
Merge_Log On
97
97
Keep_Log Off
98
98
K8S-Logging.Parser On
Original file line number Diff line number Diff line change @@ -1571,6 +1571,12 @@ variable "fluent_bit_tolerations" {
1571
1571
]
1572
1572
}
1573
1573
1574
+ variable "fluent_bit_kube_api_endpoint" {
1575
+ description = " Kube API endpoint for fluent-bit"
1576
+ type = string
1577
+ default = " https://kubernetes.default.svc.cluster.local:443"
1578
+ }
1579
+
1574
1580
variable "ip_dual_stack_enabled" {
1575
1581
description = " Enable essentials to support EKS dual stack cluster"
1576
1582
type = bool
You can’t perform that action at this time.
0 commit comments