Files
kustomize/cmd/config
Frank Farzan f4e6816338 Expand documentation of annotations used in manifests and KRM functions API (#3995)
* Expand documentation of annotations used in manifests and KRM function wire format.

- Reserve `internal.config.kubernetes.io` for control annotations
- Document `local-config` annotation in a seperate document (It's
  orthogonal to KRM functions).
- There is a internal annotation that uses `config.k8s.io` instead of
  `config.kubernetes.io` used by other annotations. See [1] and [2]. We
  should avoid using two seperate annotation prefixes and audit the
  codebase for any other annotation. Given the `id` control annotation is used
  for comment preservation (no existing function should be modifying
  it), I suggest moving this over to use
  `fn-ctrl.config.kubernets.io/id`.

[1]: 7e8ba62e9f/kyaml/fn/runtime/runtimeutil/runtimeutil.go (L195)
[2]: https://github.com/kubernetes-sigs/kustomize/pull/2465

* Move path/index annotation to use internal prefix

* Clarify MUST NOT vs SHOULD NOT for internal annotations

* Update cmd/config/docs/api-conventions/functions-spec.md

Co-authored-by: Katrina Verey <kn.verey@gmail.com>

* Update cmd/config/docs/api-conventions/functions-spec.md

Co-authored-by: Katrina Verey <kn.verey@gmail.com>

* Update cmd/config/docs/api-conventions/manifest-annotations.md

Co-authored-by: Katrina Verey <kn.verey@gmail.com>

* Remove kusotmization as example

Co-authored-by: Katrina Verey <kn.verey@gmail.com>
2021-07-13 11:58:00 -07:00
..
2021-06-05 09:43:13 +10:00
2020-10-19 12:26:15 -07:00
2020-09-21 17:30:36 -07:00
2020-11-16 23:03:56 -08:00
2020-05-06 08:59:54 -07:00
2021-07-02 14:10:05 -07:00
2021-06-30 11:59:03 -07:00
2021-02-10 14:06:29 +08:00

cmd/config

This package exists to expose config filters directly as cli commands for the purposes of development of the kyaml package and as a reference implementation for using the libraries.

Docs

All documentation is also built directly into the config command group using kustomize help cfg.

Build Command

Build the config command under GOBIN

$ make

Run Tests

Run all tests, linting, etc and build

$ make all