Skip to content

Variables inside secret files are not interpolated #52

@FabioNappi

Description

@FabioNappi

Describe the bug
MLP does not interpolate variables when they are used inside a secret file.

E.g.

{
  "aKey": "{{VAR_TO_BE_INTERPOLATED}}"
}

Expected behavior
I expect that variables are correctly interpolated

To Reproduce
Steps to reproduce the behavior:

  1. Add a secret file with interpolated variables in mlp.yaml of a Console project configuration.
  2. Deploy
  3. Get secret from k8s and notice that variables have not been interpolated

Machine information (please complete the following information):

  • Version 1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue or pull request needs to be categorized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions