mia-platform / mia-platform/mlp

Variables inside secret files are not interpolated

Open
#52 1 comment 1 reaction 0 assignees View on GitHub
needs triage
Dominant language
Go
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

E.g.
```json
{
"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

Contributor guide

Open the contributing guide

Research direction

Start with the secret-file configuration in mlp.yaml and trace how it is handled during deployment to Kubernetes. Reproduce the Console project configuration described in the issue, then verify the generated Kubernetes secret. Done means placeholders such as {{VAR_TO_BE_INTERPOLATED}} are replaced with their variable values.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.