punchplatform / punchbox

the punchbox tool to deploy servers, kubernetes or punch
Apache License 2.0
4 stars 2 forks source link

pp-10 secured platform deployement, provide --security option #17

Closed KaioKei closed 4 years ago

KaioKei commented 4 years ago

Pull Request

Issue

Testing

  1. Compile a v6.0.x Punchplatform
  2. In this Punchbox project, merge the branch 6-0-10-secured-deployment inside 6.0
  3. Use the punchbox security feature:
cd $PUNCHBOX_DIR
# generate configuration model and vagrant file
make clean
make install
bin/punchbox --config configurations/complete_punch_32G.json \
    --punch-conf /home/user/punchplatform-standalone-6.0.1-SNAPSHOT-linux/conf/ \
    --deployer $PP_PUNCH_DIR/pp-packaging/punchplatform-deployer/target/punchplatform-deployer-6.0.1-SNAPSHOT.zip \
    --security \
    --generate-vagrantfile
# mount VMs
cd vagrant
vagrant up
# generate configuration
cd ..
punchplatform-deployer.sh -gc --templates-dir punch/platform_template/ --model punch/build/model.json
# check configuration and deploy
punchplatform-deployer.sh -gi
punchplatform-deployer.sh deploy -kK
  1. Test ES security with curl :
curl -v GET https://server2:9200/_cat/indices -k -u admin:admin
  1. In a browser, onnect to kibana with address https://server1:5601 and login with admin:admin

Author's checklist (You)

Before submitting merge request:

Reviewer's checklist (Reviewer)