Skip to content

Secret sync for Render doesn't support secret referencing for more than 1 level #877

@ask4fusora

Description

@ask4fusora

Describe the bug

Secret sync for Render doesn't support secret referencing for more than 1 level.

What it looks like in local development

> phase secrets export --env Preview | from env | select LEVEL0 LEVEL1 LEVEL2
╭────────┬──────────────────────╮
│ LEVEL0 │ LEVEL0               │
│ LEVEL1 │ LEVEL0+LEVEL1        │
│ LEVEL2 │ LEVEL0+LEVEL1+LEVEL2 │
╰────────┴──────────────────────╯
Image

What it looks like on Render secrets sync

Image

To Reproduce

Steps to reproduce the behavior:

  1. Create 3 levels of secret referencing.
Image
  1. Sync it with a service of Render.
  2. See error.

Expected behavior

Render secrets sync should support recursive references.

Screenshots

Phase.dev setup

Image

Local machine

Image

What it looks like on Render

Image

Platform you are having the issue on: Render

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions