Skip to content

feat(outputs.sql): Support Secrets for outputs.sql DataSourceName #16626

@LarsStegman

Description

@LarsStegman

Use Case

I want to hide the password to connect to my SQL server

[[outputs.sql]]
  driver = "mssql"
  data_source_name = "@{k8s_secrets:conn_string_sql}"

Expected behavior

Reads secret for data_source_name.

Actual behavior

Tries to use the secret notation to connect to a database.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions