Skip to content

resource template merge & strategic patch error about using both -f and -p #13279

Closed Answered by agilgur5
djquiambao18 asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed in #13317.
This discussion also effectively ends up as a duplicate of the now fixed #11248

More details:
--patch-file universally doesn't quite work and has the same problem as -p.

When a full manifest is given, effectively both -f and --patch-file are needed, pointing to the same manifest. -f gets the kind and name from the manifest (the "header") and --patch-file uses the manifest as a patch file.

So I instead used the strategy I outlined above to infer a "full" manifest with a header by inspecting if it has a kind.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@agilgur5
Comment options

@agilgur5
Comment options

@agilgur5
Comment options

@agilgur5
Comment options

Answer selected by agilgur5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type/bug solution/workaround There's a workaround, might not be great, but exists area/templates/resource P2 Important. All bugs with >=3 thumbs up that aren’t P0 or P1, plus: Any other bugs deemed important solution/duplicate This issue or PR is a duplicate of an existing one type/support User support issue - likely not a bug
2 participants