Using the Javascript client it watches pods running in a cluster and evaluates the following rules:
- Image prefix includes 'bitnami/'
- Label contains key 'team"
- Recent start time (not older than 7 days)
Make sure that the cluster is running (minikube start
).
npm install
node index.js
Tests are written using Mocha, Chai and Sinon.
npm run test