punchplatform / punchbox

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

22 secured validation #23

Closed KaioKei closed 3 years ago

KaioKei commented 3 years ago

Related Issue

22 Platform validation use resolver for ES security

How was it tested ?

  1. Use a fresh 6.0.2 punchplatform deployer archive
  2. Generate security configurations then deploy :
# fresh installation
make clean
make install
source activate.sh
# Mount vms and generate configurations
punchbox --config configurations/complete_punch_32G.json \
        --security
        --punch-conf <path_to_your_punchplatform_config_folder> \
        --deployer <path_to_your_punchplatform_deployer_zip> \
        --generate-vagrantfile \
        --start-vagrant
source activate 
punchplatform-deployer.sh --generate-platform-config --templates-dir punch/platform_template/ --model punch/build/model.json
# copy conf inside the shared folders
cp $PUNCHPLATFORM_CONF_DIR/punchplatform.properties $PUNCHBOX_DIR/punch/build/pp-conf
# deploy
punchplatform-deployer.sh deploy -u vagrant
  1. Launch validation on server 1:
pp-conf/check_platform.sh
  1. Verify that the validation ended well and check in Kibana the results of aggregations and validations

Author's checklist (You)

Before submitting merge request:

After success review :

Reviewer's checklist (Reviewer)