Move LABELS_TO_IGNORE_REGEX to harvester pkg and update imports

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-24 11:34:52 +02:00
parent 94a08a7e38
commit d15adeb8cf
3 changed files with 10 additions and 4 deletions
@@ -1,3 +1,11 @@
const CATTLE_REGEX = /cattle\.io\//;
const VM_MAINTENANCE_MODE_STRATEGY = /harvesterhci\.io\/maintain-mode-strategy/;
export const LABELS_TO_IGNORE_REGEX = [
CATTLE_REGEX,
VM_MAINTENANCE_MODE_STRATEGY
];
export const HCI = {
CLOUD_INIT: 'harvesterhci.io/cloud-init-template',
CURRENT_IP: 'rke2.io/internal-ip',