create static docs site with module options

This commit is contained in:
Bryton Hall 2022-08-28 15:22:43 -04:00 committed by GitHub
parent e3127e8c14
commit e75b801a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 448 additions and 19 deletions

View file

@ -1,9 +1,9 @@
{ jq
, kubectl
, kubernetes-helm
, nix
, writeShellScriptBin
,
{
jq,
kubectl,
kubernetes-helm,
nix,
writeShellScriptBin,
}:
writeShellScriptBin "kubenix" ''
set -Eeuo pipefail
@ -53,7 +53,7 @@ writeShellScriptBin "kubenix" ''
render)
cat $MANIFESTS;;
*)
${kubectl}/bin/kubectl $@ -f $MANIFESTS;;
${kubectl}/bin/kubectl $@ -f $MANIFESTS || true;;
esac
}