fleet
fleet copied to clipboard
Change flag variables to take the contents instead of a file path
Related user story
#37029
Task
Following @lucasmrod 's comment: https://github.com/fleetdm/fleet/pull/37759#discussion_r2653773118: we should follow-up on the community PR so that we pass the contents of the files instead of the path to the files for these flags:
- FLEET_NATS_CRED_FILE
- FLEET_NATS_NKEY_FILE
- FLEET_NATS_TLS_CLIENT_CRT_FILE
- FLEET_NATS_TLS_CLIENT_KEY_FILE
Condition of satisfaction
docs/Configuration/fleet-server-configuration.mdis updated to reflect the new changes.- fleet can be started with NATS as a logging destination specifying the contents of each of the files mentioned in the section above, instead of specifying the paths to the actual files.
Flags take content, not paths, Fleet evolves, user tasks ease. Like a cloud city, softly adapts.