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

WIP: dumps resources that do not have labels #176

Closed
wants to merge 1 commit into from

Conversation

paulczar
Copy link

This is a very naive solution to #160 that I'm using in the interim. Probably too naive to be merged in, but could be useful for folks in the meantime.

Signed-off-by: Paul Czarkowski username.taken@gmail.com

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
// as they cannot be kapp resources
var newResources []Resource
for _, res := range resources {
if len(res.Labels()) > 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this would break usage of kapp -a label: or other negative-matching variants.

@cari-lynn cari-lynn linked an issue Jan 28, 2021 that may be closed by this pull request
@gcheadle-vmware
Copy link
Contributor

Closing due to fix in #198

@github-actions github-actions bot added the carvel triage This issue has not yet been reviewed for validity label Mar 8, 2021
@aaronshurley aaronshurley removed the carvel triage This issue has not yet been reviewed for validity label Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kapp should double check that k8s api returns labeled resources
5 participants