-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add gen-kustomize-res #841
Conversation
Signed-off-by: Fiachra Corcoran <[email protected]>
import ( | ||
"testing" | ||
|
||
"github.com/GoogleContainerTools/kpt-functions-sdk/go/fn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these not in the kptdev project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunatley no.
https://github.com/GoogleContainerTools/kpt-functions-sdk
package main | ||
|
||
import ( | ||
"github.com/GoogleContainerTools/kpt-functions-sdk/go/fn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DItto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunatley no.
https://github.com/GoogleContainerTools/kpt-functions-sdk
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liamfallon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
** NOTE: **
Main review focus is on - https://github.com/nephio-project/nephio/pull/841/files#diff-29fd056fb0053f017fa95b29a5cacf982bbece2204a6c735297f99e20db258c1
80%+ code coverage from tests.
README - https://github.com/nephio-project/nephio/pull/841/files#diff-e1b41770c42c56af2ef1643ac198fe104b1e9917a426dc8783dd575fb20ca8c7
README Overview
...
Insert a Kustomize KRM, or if the resource already exists, update it's resources list to include the paths of all non local-config KRM resources. The function provides the ability to generate a kustomization.yaml, containing the KRM to be applied to a cluster by a gitops tool.