feat: associate matching authentication info to a given autoscaler

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-03-06 03:39:11 -05:00
1 parent b3b3a93789
commit f23cdffe49
2 files changed
+38 -10

No files matched your search

+6 -1
View File
@@ -354,7 +354,12 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
return fmt.Errorf("Error getting process labels: %w", err)
}
autoscaling, err := getAutoscaling(appName, processType, int(processCount))
autoscaling, err := getAutoscaling(GetAutoscalingInput{
AppName: appName,
ProcessType: processType,
Replicas: int(processCount),
KedaValues: kedaValues,
})
if err != nil {
return fmt.Errorf("Error getting autoscaling: %w", err)
}