carvel-dev / carvel-dev/ytt

ytt outputs to several files

Open
#194 3 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

I would like 1 command line to generate several yaml files to make sure they are consistent.

Use case: I am using envoy with a master ytt configuration (in a docker compose environment also under ytt control but different file). Now I want my envoy ytt config to generate a static config. Easy, that's a one to one mapping. But if I want a dynamic configuration (aka xDS) that's a different story. With envoy, you can do xDS with yaml files (basically the envoy process reads its configuration file and sees that it should monitor other yaml files at a given path). So I would like in one command and from one master ytt config, to spit out (1) master envoy configuration (2) cds.yaml, lds.yaml, sds,yaml, rds.yaml (or xDS files) which could in theory each be in a different directories.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing ytt's command-line output behavior and how a single rendered configuration is currently emitted. Determine the interface for mapping one master configuration to multiple named files and directories, then verify done by generating the Envoy configuration plus the requested xDS YAML files in one command.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, yaml
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.