fix agent configuration creation command

pull/94/head
deviantony 2022-02-14 03:27:27 +00:00 committed by Chaim Lev-Ari
parent 7130564333
commit 0d35a8434b
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ main() {
cmd=$cmd$tmp
done
$($cmd)
eval $cmd || errorAndExit "Unable to create agent configuration"
info "Creating agent secret..."
kubectl create secret generic portainer-agent-edge-key "--from-literal=edge.key=$EDGE_KEY" -n portainer

View File

@ -75,7 +75,7 @@ main() {
cmd=$cmd$tmp
done
$($cmd)
eval $cmd || errorAndExit "Unable to create agent configuration"
info "Creating agent secret..."
kubectl create secret generic portainer-agent-edge-key "--from-literal=edge.key=$EDGE_KEY" -n portainer