From 8ff2fa66b6a1046193722ac6a2ecb71301e23f15 Mon Sep 17 00:00:00 2001 From: Dakota Walsh <101994734+dakota-portainer@users.noreply.github.com> Date: Mon, 8 Aug 2022 14:06:10 +1200 Subject: [PATCH] fix(kube): update kubectl agent install instructions (#7421) --- .../WizardKubernetes/DeploymentScripts.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/DeploymentScripts.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/DeploymentScripts.tsx index abf7fba91..6c88fa98f 100644 --- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/DeploymentScripts.tsx +++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/DeploymentScripts.tsx @@ -73,13 +73,13 @@ export function DeploymentScripts() { function kubeNodePortCommand(agentVersion: string) { const agentShortVersion = getAgentShortVersion(agentVersion); - return `curl -L https://downloads.portainer.io/ee${agentShortVersion}/portainer-agent-k8s-nodeport.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml`; + return `kubectl apply -f https://downloads.portainer.io/ce${agentShortVersion}/portainer-agent-k8s-nodeport.yaml`; } function kubeLoadBalancerCommand(agentVersion: string) { const agentShortVersion = getAgentShortVersion(agentVersion); - return `curl -L https://downloads.portainer.io/ee${agentShortVersion}/portainer-agent-k8s-lb.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml`; + return `kubectl apply -f https://downloads.portainer.io/ce${agentShortVersion}/portainer-agent-k8s-lb.yaml`; } interface LoadBalancerProps {