Skip to content

Example app tweaks to better handle configurable features #1003

@doshitan

Description

@doshitan

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)”

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions