SAP-archive / karydia

Kubernetes Security Walnut
Other
77 stars 10 forks source link

Make "deploy-dev" is bugged #264

Open Neumann-Nils opened 4 years ago

Neumann-Nils commented 4 years ago

Description

Running make deploy-dev does not execute the command anymore, it just prints it.

Steps to reproduce

  1. Run make deploy-dev
  2. Check if the Karydia pods were re-deployed

Expected behavior

make deploy-dev should re-deploy all pods of Karydia.

Logs / console output / screenshots / affected lines of code

$ make deploy-dev

for i in karydia-5f76ccc469-9h272 karydia-5f76ccc469-bdjhq karydia-5f76ccc469-k9vgz; do \
        echo "(" $i ")" \
        kubectl cp bin/karydia -n karydia $i:/usr/local/bin/karydia-dev; \
    done
( karydia-5f76ccc469-9h272 ) kubectl cp bin/karydia -n karydia karydia-5f76ccc469-9h272:/usr/local/bin/karydia-dev
( karydia-5f76ccc469-bdjhq ) kubectl cp bin/karydia -n karydia karydia-5f76ccc469-bdjhq:/usr/local/bin/karydia-dev
( karydia-5f76ccc469-k9vgz ) kubectl cp bin/karydia -n karydia karydia-5f76ccc469-k9vgz:/usr/local/bin/karydia-dev

Environment