Skip to content

Remove CONNECTION_*_RECIPE environment variable on containers #10874

@zachcasper

Description

@zachcasper

Steps to reproduce

If a container has a connection to another resource, a PostgreSQL database for example, environment variables are automatically created for each property. For the PostgreSQL resource, these environment variables are created:

CONNECTION_POSTGRESQL_DATABASE
CONNECTION_POSTGRESQL_HOST
CONNECTION_POSTGRESQL_PASSWORD*
CONNECTION_POSTGRESQL_PORT
CONNECTION_POSTGRESQL_RECIPE
CONNECTION_POSTGRESQL_SIZE
CONNECTION_POSTGRESQL_USERNAME*

All of the environment variables above are properties in the resource type definition except Recipe. Recipe is not developer-relevant and should be removed.

Observed behavior

No response

Desired behavior

CONNECTION_POSTGRESQL_RECIPE should not be an environment variable.

Workaround

No response

rad Version

0.53

Operating system

No response

Additional context

No response

AB#17800

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or not working as expectedtriagedThis issue has been reviewed and triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions