start.sh
script does the following:
- Runs
conjur/deploy.sh
:- Deploys a Conjur pod (Conjur OSS environment: Conjur, Postgres, Nginx)
- Deploys a Conjur CLI pod
- Initilaizes Conjur account and Conjur CLI with admin credentials
- Runs
loadPolicies.sh
- Loads policies from
./policies
folder - Populates variable values
- Enables
authn-k8s/prod
authenticator
- Loads policies from
- Builds
test-app
docker image - Runs
test-app/deploy.sh
- Deploys test-app POD with
cyberark/conjur-kubernetes-authenticator
andtest-app
containers
- Deploys test-app POD with
Once start.sh
finishes check that test-app sucessully fetches the secrets: kubectl logs <test-app-pod-name> test-app
stop.sh
deletes all pods and related resources