diff --git a/src/components/Agents/InstalAgentInstruction/CLIInstallAgent.tsx b/src/components/Agents/InstalAgentInstruction/CLIInstallAgent.tsx index b260919be..cc28559f5 100644 --- a/src/components/Agents/InstalAgentInstruction/CLIInstallAgent.tsx +++ b/src/components/Agents/InstalAgentInstruction/CLIInstallAgent.tsx @@ -25,7 +25,7 @@ helm install mc-agent flanksource/mission-control-agent -n "mission-control-agen {{#if kubeOptions}} helm install mc-agent-kubernetes flanksource/mission-control-kubernetes -n "mission-control-agent" \\ --set scraper.clusterName="{{agentFormValues.name}}" \\ - --set scraper.interval="{{kubeOptions.interval}}" + --set scraper.schedule="{{kubeOptions.schedule}}" {{/if}} `; @@ -63,7 +63,7 @@ export default function CLIInstallAgent({ backendUrl, kubeOptions: kubeOptions ? { - interval: kubeOptions?.interval, + schedule: kubeOptions?.schedule, exclusions: `{${kubeOptions?.exclusions?.join(",")}}` } : undefined