Skip to content

v1.4.0: Major code refactoring

Choose a tag to compare

@EvSecDev EvSecDev released this 10 Nov 22:01
· 187 commits to main since this release
4b82fee

Added

  • Controller option to enable/disable the git post-commit hook upon request
  • Controller option to create a git repository
  • Controller option to only deploy specific files in repository
  • Controller configuration option to ignore deployment for specified directories in repository
  • Additional failure modes to failtracker parsing
  • Additional deployer apparmor file operations profile permissions for sysctl reload command

Changed

  • Controller pre-deployment function to dedicated function based on type (mode) of deployment
  • Controller git parsing section to validate committed files in dedicated function
  • Controller git commit file actions parsing to more explicit logic
  • Controller functions to use global repository path variable rather than retrieve from config
  • Controller failtracker to record failed files by repository path instead of target path
  • Controller DeployerEndpoints struct to a named struct
  • Controller commit file deduplication function to refactored simpler logic
  • Controller updater and version check functions to more separated functions
  • Controller template naming from 'template' to 'universal' to more accurately describe its purpose
  • Build scripts to use more unified version names for output files
  • Now syncing controller version with release tag

Removed

  • Controller journald custom log fields
  • Controller installer repository and example metadata file creation

Fixed

  • Deleted or symbolic link files were not getting deployed (fixed by populating the file action map prior to starting go routines)
  • Files in the root of the repository were not getting ignored if the file was copied into a host directory
  • Deleted files would not be processed and controller would exit with error about host not matching the config deployerendpoints (fixed by using correct variable name used in host directory name extraction during parsing)

Instructions

  • Please refer to the README.md file for instructions