Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 23, 2024
1 parent 82fd50c commit bbeded6
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions doc/kustomize.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*kustomize.nvim.txt* For Neovim >= 0.9.0 Last change: 2024 March 02
*kustomize.nvim.txt* For Neovim >= 0.9.0 Last change: 2024 March 23

==============================================================================
Table of Contents *kustomize.nvim-table-of-contents*
Expand Down Expand Up @@ -92,11 +92,12 @@ This is the default configuration that can be (partially) overwritten by you.

>lua
{
enable_key_mappings = true,
enable_lua_snip = false,
validate = { kubeconform_args = { "--strict", "--ignore-missing-schemas" } }
deprecations = { kube_version = "1.25" },
kinds = { show_filepath = true, show_line = true, exclude_pattern = {} },
enable_key_mappings = true,
enable_lua_snip = false,
validate = { kubeconform_args = { "--strict", "--ignore-missing-schemas" } },
build = { additional_args = {} },
deprecations = { kube_version = "1.25" },
kinds = { show_filepath = true, show_line = true, exclude_pattern = "" },
}
<

Expand Down Expand Up @@ -127,6 +128,24 @@ closed by just typing `q`. This allows me to quickly inspect the YAML that
Kustomize generates (and ultimately is applied to the cluster). In addition, I
get fast feedback on any errors in my YAML sources.

You can add additional arguments to the build call via config file:

>lua
build = {
additional_args = {"--enable-helm", "--load-restrictor=LoadRestrictionsNone"}
},
<

You can also dynamically overwrite the values of your config file with

>
lua require("kustomize").build({additional_args={"--enable-helm", "--load-restrictor=LoadRestrictionsNone"}})
<

>
:KustomizeBuild additional_args={"--enable-helm", "--load-restrictor=LoadRestrictionsNone"}
<


LIST “KINDS” ~

Expand Down

0 comments on commit bbeded6

Please sign in to comment.