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

Add "resources" to helm_release attribute #1183

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

chaaz
Copy link
Contributor

@chaaz chaaz commented Jul 12, 2023

Spitballing a "resources" attribute for helm_release data, which will contain roughly the same data as doing a helm status --show-resources call. This allows us to do things like find a service hostname using e.g. jsondecode(helm_release.mychart.resources)["v1/Service"][0].status.loadBalancer.ingress[0].hostname or similar tricks that require actual resource lookups.

@chaaz chaaz requested a review from a team as a code owner July 12, 2023 06:59
@BBBmau
Copy link
Contributor

BBBmau commented Jul 19, 2023

Hello, thank you for opening this PR @chaaz! When it comes to adding this it would make more sense to add this into the data source of helm_resource rather than it's resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants