docker-postfix/helm/test.sh
Bojan Čekrlić 7fbed47e82 Initial commit of the helm chart
This is the initial commit of the helm chart.

TO-DO:

* write usage documentation
* add job which will automatically add the chart to `gh-pages` on
  creating a new release
2020-10-24 21:26:07 +02:00

9 lines
335 B
Bash
Executable file

#!/usr/bin/env bash
set -e
mkdir -p fixtures
for i in `find -maxdepth 1 -type f -name test\*yml | sort`; do
echo "☆☆☆☆☆☆☆☆☆☆ $i ☆☆☆☆☆☆☆☆☆☆"
helm template -f $i --dry-run postfix > fixtures/demo.yaml
docker run -it -v `pwd`/fixtures:/fixtures garethr/kubeval fixtures/demo.yaml
done