Skip to content

Commit

Permalink
removed service from defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 25, 2023
1 parent 0de6337 commit 1566804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
11 changes: 0 additions & 11 deletions assets/defaults/appConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,5 @@ resources:
relations:
Namespace: .metadata.namespace + "-" + env.CLUSTER_NAME
title: .metadata.name
selector:
query: .metadata.namespace | startswith("kube") | not
- kind: apps/v1/deployments
port:
entity:
mappings:
- blueprint: '"service"'
icon: '"Deployment"'
identifier: .metadata.name + "-Deployment-" + .metadata.namespace + "-" + env.CLUSTER_NAME
properties: {}
title: .metadata.name
selector:
query: .metadata.namespace | startswith("kube") | not
3 changes: 2 additions & 1 deletion pkg/defaults/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func getEventListenerConfig(eventListenerType string) *port.EventListenerSetting
func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config) error {
existingIntegration, err := integration.GetIntegration(portClient, applicationConfig.StateKey)
defaultIntegrationConfig := &port.IntegrationAppConfig{
Resources: applicationConfig.Resources,
Resources: applicationConfig.Resources,
CreateMissingRelatedEntities: true,
}

if err != nil {
Expand Down

0 comments on commit 1566804

Please sign in to comment.