From 374c47b2440657988375fb9e64600b9137b7d2de Mon Sep 17 00:00:00 2001 From: marcel-dempers Date: Tue, 28 Jun 2022 09:44:21 +1000 Subject: [PATCH] updates and helm --- kubernetes/datree/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/kubernetes/datree/README.md b/kubernetes/datree/README.md index 00366d3..041d9bc 100644 --- a/kubernetes/datree/README.md +++ b/kubernetes/datree/README.md @@ -226,3 +226,33 @@ webhook-example-deploy-Deployment.tmp.yaml +-----------------------------------+-----------------------+ ``` + +## Helm + +Let's install `helm` in our container + +``` +apk add tar +curl -L https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz -o /tmp/helm.tar.gz && \ +tar -xzf /tmp/helm.tar.gz -C /tmp && \ +chmod +x /tmp/linux-amd64/helm && \ +mv /tmp/linux-amd64/helm /usr/local/bin/helm + +``` + +Let's install the `helm` plugin for `datree` + +``` +helm plugin install https://github.com/datreeio/helm-datree + +``` + +Now we can test a `helm` chart we have in our repo from my `helm` tutorial
+ +``` + +cd kubernetes/helm + +helm datree test example-app \ +-- --values ./example-app/example-app-01.values.yaml +``` \ No newline at end of file