mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-08 00:57:19 +00:00
Add merge support for serviceaccounts
All properties from a backup will be merged into the ServiceAccount except for the default token secret. Signed-off-by: Nolan Brubaker <nolan@heptio.com>
This commit is contained in:
@@ -64,3 +64,8 @@ func (c *FakeDynamicClient) Get(name string, opts metav1.GetOptions) (*unstructu
|
||||
args := c.Called(name, opts)
|
||||
return args.Get(0).(*unstructured.Unstructured), args.Error(1)
|
||||
}
|
||||
|
||||
func (c *FakeDynamicClient) Patch(name string, data []byte) (*unstructured.Unstructured, error) {
|
||||
args := c.Called(name, data)
|
||||
return args.Get(0).(*unstructured.Unstructured), args.Error(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user