-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for custom index name prefix for sidecar logging (#2045)
* add support for custom index name prefix for sidecar logging * add sidecar logging custom index prefix * fix pre-commit * fix kibana index job conditionals * fix typo error * index config rework fluentd and sidecar * fix pre-commit failures * code cleanp for helm templates * add index prefix override for fluentd service * fluentd test case cleanup * update test cases for fluentd * move conditionals to templates * added relavent test cases index prefix overrides * fix houston configmap and update test cases * fix pre-commit * fix fluentd config issue * move code duplicates to common helper template * fix pre-commit failures * Update tests/chart_tests/test_houston_configmap.py Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com> * Update tests/chart_tests/test_houston_configmap.py Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com> * Update tests/chart_tests/test_houston_configmap.py Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com> * Update tests/chart_tests/test_houston_configmap.py Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com> * fix failing tests and updates * Update charts/astronomer/templates/_helpers.yaml Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com> * add extra test cases for fluentd flag in houston --------- Co-authored-by: Daniel Hoherd <daniel.hoherd@gmail.com>
- Loading branch information
1 parent
dfbfb1b
commit 67c8bdf
Showing
16 changed files
with
523 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- define "logging.indexNamePrefix" -}} | ||
{{- if .Values.global.logging.indexNamePrefix -}} | ||
{{- .Values.global.logging.indexNamePrefix -}} | ||
{{- else -}} | ||
{{- if .Values.global.loggingSidecar.enabled -}} | ||
vector | ||
{{- else -}} | ||
fluentd | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.