mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
make generated configmaps composable
This commit is contained in:
@@ -61,6 +61,11 @@ func (r *Resource) Behavior() GenerationBehavior {
|
||||
return r.b
|
||||
}
|
||||
|
||||
// ChangeBehavior changes the resource to the new behavior
|
||||
func (r *Resource) ChangeBehavior(b GenerationBehavior) {
|
||||
r.b = b
|
||||
}
|
||||
|
||||
// Id returns the ResId for the resource.
|
||||
func (r *Resource) Id() ResId {
|
||||
return NewResId(r.GroupVersionKind(), r.GetName())
|
||||
|
||||
Reference in New Issue
Block a user