mirror of https://github.com/portainer/k8s.git
fix agent configuration creation command
parent
7130564333
commit
0d35a8434b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue