Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Implements adding values files for a image bundle #2283

Merged

Conversation

jpmcb
Copy link
Contributor

@jpmcb jpmcb commented Oct 20, 2021

What this PR does / why we need it

All changes related to the standalone cluster overhaul

  • Bumps ytt to v0.37.0
  • Implements AddYttYamlValuesBytes method to TkrImageReader
  • Implements AddYttKVsFromYAML method to TkrImageReader
  • Uses a null logger for imgpkg so logging is suppressed

A user can now specify

myImageBundle.AddYttYamlValuesBytes(myBytesSlice)

which will be used when rendering the ytt for that bundle

Which issue(s) this PR fixes

related to proposal #2266

Describe testing done for PR

Build with make build-cli-plugins-local and ran the binary.

With the changes made in create.go, we now can fully use the TkrImageReader interface to download the bundle, add values, and render the ytt. many of those changes are temporary and were made for testing purposes

Special notes for your reviewer

N/a

- Bumps ytt to v0.37.0
- Implements AddYttYamlValuesBytes method to TkrImageReader
- Implements AddYttKVsFromYAML method to TkrImageReader
- Uses a null logger for imgpkg so logging is surpressed

Signed-off-by: John McBride <jmcbride@vmware.com>
@jpmcb jpmcb requested a review from a team as a code owner October 20, 2021 15:52
@joshrosso joshrosso merged commit 851445a into vmware-tanzu:standalone-overhaul Oct 20, 2021
joshrosso pushed a commit that referenced this pull request Jan 18, 2022
- Bumps ytt to v0.37.0
- Implements AddYttYamlValuesBytes method to TkrImageReader
- Implements AddYttKVsFromYAML method to TkrImageReader
- Uses a null logger for imgpkg so logging is surpressed

Signed-off-by: John McBride <jmcbride@vmware.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants