Skip to content

Offload Database and keycloak Initializations to Init containers #85

Description

@harisudarsan1

As of now, the application initializes Keycloak and checks for the existence of required database tables during startup in the main() function. If any of these steps fail, the application panics and exits. This tightly couples critical infrastructure setup with the main runtime logic, making it harder to manage failures and increasing startup complexity. To improve reliability, separation of concerns, and observability, this initialization logic should be offloaded to a dedicated init container.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions