natasha41575
c659306ee2
don't surface entire node content in error message
2021-12-22 16:56:02 -08:00
natasha41575
6dfc238aa2
improve gvk and resid strings for error messages
2021-12-22 11:39:07 -08:00
Natasha Sarkar
a84badb834
replace Resource.refBy with annotations
2021-07-07 15:22:36 -07:00
monopole
660847225d
Simplify gvk, speed up cluster-scoped checks.
2021-05-02 13:17:33 -07:00
monopole
c8dddac5b9
Move resid package from api to kyaml
2021-04-30 20:39:32 -07:00
monopole
839fd2b971
Remove branching on kyaml enablement
2021-03-09 14:29:27 -08:00
monopole
aae2be1a79
Add tests in support of Issue 3489.
2021-02-02 18:35:46 -08:00
monopole
64644643d4
Improve name reference transformer testing.
2021-01-31 08:40:47 -08:00
monopole
4287e28ff4
Add test for issue 3489 and improve error messages.
2021-01-29 06:55:23 -08:00
monopole
2cb972de3b
Rename id annotations to build annotations.
2021-01-15 06:43:13 -08:00
Natasha Sarkar
bd4580d73a
Manage name changes (prefix/suffix) via YAML annotations rather than via in-memory-only fields.
2021-01-11 13:08:45 -08:00
Antonin Bas
e819a2ba9d
Add Role / ClusterRole resourceNames to ConfigMap nameref resolver
...
While it is possible to use a kustomizeconfig.yml for this, with a
custom namereference, this functionality should probably be built-in.
This is similar to previous PRs, like this one:
https://github.com/kubernetes-sigs/kustomize/pull/592
2020-12-21 21:02:19 -08:00
jregan
a5f3d5c823
Use DepProvider in tests to access kyaml impls.
2020-11-21 14:49:44 -08:00
Donny Xia
62a8a8c57d
check Gvk in roleRef when update name reference
2020-10-19 14:01:13 -07:00
Donny Xia
a563169461
refactor namereftransformer with kyaml
2020-07-27 10:56:13 -07:00
Jeffrey Regan
75b8103215
Raise the golinter bar.
2019-11-14 16:37:49 -08:00
jregan
9fa0391ce9
Remove remaining plugins packages from external API.
2019-11-06 19:32:53 -08:00
Jeffrey Regan
46524d3b6a
Introduce API module.
2019-10-21 13:30:31 -07:00
jregan
c88e8cc057
Make new nesting place for generated builtin code.
2019-10-20 17:41:09 -07:00
jregan
fddde81f9c
Move ks8deps to api for now.
2019-10-20 16:49:53 -07:00
jregan
dee1c425da
Drain the top level internal.
2019-10-20 15:51:04 -07:00