Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fleet: use header with main configuration settings. #8102

Merged
merged 7 commits into from
Dec 11, 2023

Commits on Dec 1, 2023

  1. in_calyptia_fleet: add functions to better handle the different confi…

    …guration versions.
    
    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    501c63a View commit details
    Browse the repository at this point in the history
  2. fleet: fix return value handling for fwrite.

    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    418899f View commit details
    Browse the repository at this point in the history
  3. in_calyptia_fleet: download and load fleet files.

    Download fleet files to a sub-directory with the timestamp of the relevant
    configuration and allow it to be loaded by changing to that directory
    when fluent-bit is reloaded.
    
      * Recurse through fleet files and download each one.
      * Change to the fleet files directory on reload so they can be referred
        to from the main fleet configuration file.
      * Delete old fleet file directories when the configuration is deleted.
    
    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    54bad8d View commit details
    Browse the repository at this point in the history
  4. in_calyptia_fleet: improve config_commit/add/rollback.

    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    11e8dd1 View commit details
    Browse the repository at this point in the history
  5. in_calyptia_fleet: finish read_glob for files on windows.

    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    68c89c9 View commit details
    Browse the repository at this point in the history
  6. in_calyptia_fleet: fix memory leak from configuration file name.

    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    3550dd5 View commit details
    Browse the repository at this point in the history
  7. in_calyptia_fleet: use a single header file to store the base configu…

    …ration.
    
    Use a header.conf file that is refreshed on each invocation of fluent-bit
    to track the main configuration for the fleet agent. This file is then
    included by the downloade fleet configuration files.
    
    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    e617c7b View commit details
    Browse the repository at this point in the history