Shawn Maddock09/08/2022, 2:41 PM
, I’m getting:
fleet serve --config /etc/fleet/fleet.yml
If instead I specify the password with a CLI flag, it works fine. The config file is fairly simple:
mysql="could not connect to db: Error 1045: Access denied for user 'fleet'@'localhost' (using password: NO), sleeping 0s"
Anyone know why fleet would seem to be ignoring my config file?
apiVersion: v1 kind: config spec: mysql: password: '<my password>' server: address: 0.0.0.0:443 cert: '/etc/letsencrypt/live/<my domain>/fullchain.pem' key: '/etc/letsencrypt/live/<my domain>/privkey.pem'
Lucas Rodriguez09/08/2022, 2:47 PM
mysql: password: '<my password>' server: address: 0.0.0.0:443 cert: '/etc/letsencrypt/live/<my domain>/fullchain.pem' key: '/etc/letsencrypt/live/<my domain>/privkey.pem'
Shawn Maddock09/08/2022, 2:51 PM
Lucas Rodriguez09/08/2022, 2:52 PM
Shawn Maddock09/08/2022, 2:53 PM
Lucas Rodriguez09/08/2022, 2:54 PM
Shawn Maddock09/08/2022, 2:57 PM
Lucas Rodriguez09/08/2022, 3:03 PM
Shawn Maddock09/08/2022, 3:11 PM
type settings be specified in the one passed by
, or are there some that can only be set via
Lucas Rodriguez09/08/2022, 3:30 PM
, like queries, packs, osquery agent settings. These settings are defined here: https://fleetdm.com/docs/using-fleet/configuration-files
ones are more operational settings (which cannot be changed by
like MySQL connection settings, etc.)
Shawn Maddock09/08/2022, 3:49 PM
and other places
… same with other section names. Are these interchangeable?
but that only includes what I have in the
which only includes what was set in the UI. It looks like
fleetctl get config
moved from the
config, making it even more confusing.
Kathy Satterlee09/09/2022, 1:48 PM
. I'm sorry about the weirdness in the docs, I'll dig in to that and make sure everything is up to date.
fleetctl get config --include-server-config
Shawn Maddock09/09/2022, 1:58 PM
Kathy Satterlee09/09/2022, 4:15 PM