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

Add gen-kustomize-res #841

Merged
merged 7 commits into from
Feb 4, 2025
Merged

Conversation

efiacor
Copy link
Collaborator

@efiacor efiacor commented Jan 30, 2025

** 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.

import (
"testing"

"github.com/GoogleContainerTools/kpt-functions-sdk/go/fn"
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

package main

import (
"github.com/GoogleContainerTools/kpt-functions-sdk/go/fn"
Copy link
Member

Choose a reason for hiding this comment

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

DItto

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@liamfallon
Copy link
Member

/approve
/lgtm

Copy link
Contributor

nephio-prow bot commented Feb 4, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot added the approved label Feb 4, 2025
@nephio-prow nephio-prow bot merged commit e25fa46 into nephio-project:main Feb 4, 2025
12 checks passed
nephio-prow bot pushed a commit that referenced this pull request Feb 4, 2025
@efiacor efiacor deleted the add_gen_kustomize_fn branch February 4, 2025 15:33
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.

2 participants