Skip to content

Reference the Defaults dict #73

@mihai-stancu

Description

@mihai-stancu

Hello,

Thank you for this tool, it's awesome.

Is there a way to reference the full list of Defaults to achieve something like:

apiVersion: v1
kind: ConfigMap

metadata:
  namespace: !Var namespace
  name: !Var name

data: !Var AllTheDefaults

I've been trying

  • !LookupAll "$" -- this should be the reference to the root dict but it errors out with "maximum recursion depth exceeded"
  • !LookupAll "*" -- this would likely create a new list of values from the root dict (I want the names too)
  • !Index {over: !LookupAll "$", ...} -- maximul recursion again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions