POST storage limit to Hub and better error handling

This commit is contained in:
M. Mert Yildiran
2023-02-06 07:58:43 +03:00
parent 43e9e90f7d
commit 5d15667a03
2 changed files with 15 additions and 8 deletions

View File

@@ -426,6 +426,9 @@ func postHubStarted(ctx context.Context, kubernetesProvider *kubernetes.Provider
log.Error().Err(err).Send()
}
// Storage Limit
connector.PostStorageLimitToHub(config.Config.Tap.StorageLimitBytes())
// Pod regex
connector.PostRegexToHub(config.Config.Tap.PodRegexStr, state.targetNamespaces)