From 478e6ff7fe9c755652b986f8b1fefd6e6e7daf3f Mon Sep 17 00:00:00 2001 From: omribarouch Date: Sun, 24 Nov 2024 11:21:28 +0200 Subject: [PATCH] Added missing crdsToDiscover and overwriteCrdsActions config options to initIntegration config mapping --- pkg/defaults/init.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/defaults/init.go b/pkg/defaults/init.go index f1b4d0c..1f5f284 100644 --- a/pkg/defaults/init.go +++ b/pkg/defaults/init.go @@ -21,6 +21,8 @@ func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config) existingIntegration, err := integration.GetIntegration(portClient, applicationConfig.StateKey) defaultIntegrationConfig := &port.IntegrationAppConfig{ Resources: applicationConfig.Resources, + CRDSToDiscover: applicationConfig.CRDSToDiscover, + OverwriteCRDsActions: applicationConfig.OverwriteCRDsActions, DeleteDependents: applicationConfig.DeleteDependents, CreateMissingRelatedEntities: applicationConfig.CreateMissingRelatedEntities, }