Skip to content

Commit

Permalink
no finilazers for vmi
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Feb 11, 2020
1 parent dda815c commit c90e8f8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function getMetadata(
namespace: string,
name?: string,
cloudinit?: string,
finalizers?: [string],
) {
const vmName = name || `${provisionSource.toLowerCase()}-${namespace.slice(-5)}`;
const metadata = {
Expand All @@ -133,7 +134,7 @@ function getMetadata(
'name.os.template.kubevirt.io/rhel7.6': 'Red Hat Enterprise Linux 7.6',
description: namespace,
},
finalizers: ['k8s.v1.cni.cncf.io/kubeMacPool'],
finalizers,
namespace,
labels: {
app: vmName,
Expand Down Expand Up @@ -316,6 +317,7 @@ export function getVMManifest(
namespace,
name,
cloudinit,
['k8s.v1.cni.cncf.io/kubeMacPool'],
);

const vmResource = {
Expand Down

0 comments on commit c90e8f8

Please sign in to comment.