Skip to content

kpt live apply: "Multiple ResourceGroup objects found" #3468

@justinsb

Description

@justinsb

I'm iterating on a few packages locally and trying to use kpt live apply (because kubectl apply doesn't ignore local-config annotations, also pruning is nice)

However, when I nest packages and try to apply a "parent" package, I get:

Error: Multiple ResourceGroup objects found. Please make sure at most one ResourceGroup object exists within the package.

That makes sense, but there doesn't appear a workaround (that I found).

I would expect kpt live apply to either apply a set of ResourceGroups or restrict to the "top" ResourceGroup (and not recurse down)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions