Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: optional construct metadata in charts #721

Merged
merged 10 commits into from
Sep 28, 2022
Merged

Conversation

iliapolo
Copy link
Member

Resolves #688

Signed-off-by: iliapolo <[email protected]>
@iliapolo iliapolo added the backport-to-1.x Backport a PR to the 1.x branch label Aug 30, 2022
@iliapolo iliapolo requested a review from a team August 30, 2022 16:15
src/chart.ts Outdated Show resolved Hide resolved
src/chart.ts Outdated Show resolved Hide resolved
@iliapolo iliapolo marked this pull request as ready for review August 30, 2022 16:21
@Naumel
Copy link
Contributor

Naumel commented Sep 12, 2022

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Sep 12, 2022

update

✅ Branch has been successfully updated

src/api-object.ts Outdated Show resolved Hide resolved
@iliapolo
Copy link
Member Author

@vinayak-kukreja I switched the implementation to write a construct-metadata.json file in the output directory instead of piggy backing on the manifests with a ConfigMap. The reason is that the previous approach didn't work for all synth output types, and its actually quite messy, polluting the user's manifest.

Instead, we write a new file for the CLI to optionally consume. Let me know what you think, if you don't have any blocking comments, please approve and add a do-not-merge label so I can have a look and merge it during my working hours.

@vinayak-kukreja
Copy link
Contributor

This looks really nice. 🚀

@mergify mergify bot merged commit 4b71d6c into 2.x Sep 28, 2022
@mergify mergify bot deleted the epolon/construct-metadata branch September 28, 2022 20:07
@cdk8s-automation
Copy link
Contributor

💔 All backports failed

Status Branch Result
1.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

backport --pr 721

Questions ?

Please refer to the Backport tool documentation

iliapolo added a commit that referenced this pull request Sep 28, 2022
Resolves #688

(cherry picked from commit 4b71d6c)
Signed-off-by: Eli Polonsky <[email protected]>

# Conflicts:
#	test/chart.test.ts
@iliapolo
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
1.x

Questions ?

Please refer to the Backport tool documentation

iliapolo added a commit that referenced this pull request Sep 28, 2022
* feat: optional construct metadata in charts (#721)

Resolves #688

(cherry picked from commit 4b71d6c)
Signed-off-by: Eli Polonsky <[email protected]>

# Conflicts:
#	test/chart.test.ts

* use Node.of instead of .node

Signed-off-by: iliapolo <[email protected]>

Signed-off-by: iliapolo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-1.x Backport a PR to the 1.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Construct path for cdk8s generated resources
4 participants