Context
Don't want to add much complexity, but it could be useful for the example app to more gracefully handle when certain features aren't enabled or default config tweaked.
Implementation
/health check should handle no DB situations
- Possibly configurably? Because if a service is configured with
has_database=true then part of its health should be the ability to connect.
/secrets should handle not having the manual secret, for when we want to skip dealing with that on initial set up
- Maybe show “Manual secret: not configured (intentional or not)”
Context
Don't want to add much complexity, but it could be useful for the example app to more gracefully handle when certain features aren't enabled or default config tweaked.
Implementation
/healthcheck should handle no DB situationshas_database=truethen part of its health should be the ability to connect./secretsshould handle not having the manual secret, for when we want to skip dealing with that on initial set up