Skip to content

Commit 90f9adc

Browse files
authored
fix(core): resources_create_or_update forces SSA (#802)
Signed-off-by: Calum Murray <cmurray@redhat.com>
1 parent 707e194 commit 90f9adc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/kubernetes/resources.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func (c *Core) resourcesCreateOrUpdate(ctx context.Context, resources []*unstruc
188188
}
189189
resources[i], rErr = c.DynamicClient().Resource(*gvr).Namespace(namespace).Apply(ctx, obj.GetName(), obj, metav1.ApplyOptions{
190190
FieldManager: version.BinaryName,
191+
Force: true,
191192
})
192193
if rErr != nil {
193194
return nil, rErr

0 commit comments

Comments
 (0)