mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Introduce resmap.ApplyFilter.
This commit is contained in:
@@ -54,6 +54,10 @@ var buildAnnotations = []string{
|
||||
buildAnnotationAllowKindChange,
|
||||
}
|
||||
|
||||
func NewResource(rn *kyaml.RNode) *Resource {
|
||||
return &Resource{node: rn}
|
||||
}
|
||||
|
||||
func (r *Resource) AsRNode() *kyaml.RNode {
|
||||
return r.node.Copy()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user