Skip to content

[Feature Request]: use random passwords by default #329

@jekader

Description

@jekader

This helm chart currently deploys a very insecure devlake instance by default: authentication for the UI is disabled, DB passwords are hardcoded while the user is asked to generate the cumbersome encryption key manually which is exported as an env var and lost immediately anyways.

This makes the setup quite vulnerable by so I propose populating all access credentials with random values if they are not explicitly set and have the user retrieve them from the created secret objects if needed. This is already the workflow for Grafana and works just fine.

Specifically:

Value Current default Proposed default
lake.encryptionSecret.secret manually provided by user random
mysql.username merico random
mysql.password merico random
ui.basicAuth.enabled false true
ui.basicAuth.password - random

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