From 285af8a317e984320f24a6e88ebb5aac00e525a0 Mon Sep 17 00:00:00 2001 From: Erin Call Date: Thu, 19 Dec 2019 16:37:04 -0800 Subject: [PATCH] Rough draft of an example lint stanza [#8] --- docs/lint_example.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/lint_example.yml diff --git a/docs/lint_example.yml b/docs/lint_example.yml new file mode 100644 index 0000000..677726b --- /dev/null +++ b/docs/lint_example.yml @@ -0,0 +1,36 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: lint + image: pelotech/drone-helm3 + settings: + # Helm_command must be set to "lint" in order to lint :) + helm_command: lint + + # Mandatory; must be a path to a chart directory. + chart: ./charts/bloge + + # Produce debug output from drone-helm itself and send --debug to all helm commands. + debug: true + + # The string given here will be passed verbatim to --set. + values: some=local,helm=values + + # The string given here will be passed verbatim to --set-string. + string_values: "notAnInt=5" + + # Each file will be passed to --values. Filenames must not contain commas. + values_files: "values/underrides.yml,values/overrides.yml" + + # Call `helm dependency update` before linting. + update_dependencies: true + + # Call `helm repo add` for each repo before linting. Repo names and urls must not contain commas. + repos: "eDeath=https://github.com/bug/e-death,idMaker=https://github.com/nmarks/id-maker" + + # Give the --namespace flag to all helm commands. + # TODO: I don't think this setting has any effect on linting; should it be documented? + namespace: my_kube_subset