kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Function spec docs needs to clarify the path annotation details

Open droot opened this issue 4 years ago • 0 comments

This came up in a PR --> https://github.com/GoogleContainerTools/kpt/pull/1699#discussion_r608874780

Copying the content from the PR:

We need to fully specify the API here, it's part of the Functions Spec. Current docs:

https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/config-io.md

This is ambiguous:

When writing Resources to a directory, the Resource SHOULD be written to the corresponding path relative to that directory.

We need to define which directory this refers to.

droot avatar Apr 08 '21 17:04 droot