Katrina Verey
79a9154cf8
Improve error message when namespace transformer is given invalid fieldspecs
...
Also remove invalid+ignored fieldspecs from the defaults
2022-08-16 18:18:44 -04:00
Katrina Verey
0c37ee89af
Option to customize NamespaceTransfomer role binding subject handling
2022-07-27 23:12:55 -04:00
Katrina Verey
0c6e827ab8
Option to customize NamespaceTransformer overwrite behaviour ( #4708 )
...
* Option to customize NamespaceTransformer overwrite behaviour
* Code review feedback
2022-07-14 12:00:58 -07:00
Katrina Verey
14947e449b
Address new linter complaints
2022-03-31 11:37:26 -04:00
Shoshana Malfatto
7b0ec99d90
retain quotes in namespace transformer filter ( #4421 )
...
* check tag values for double quoting
* reuse setentry
* don't override single quotes in merge and fix cm generator immutable val
* get rid of comment
* starlark annotation tests
* don't commit test image changes
* set network to bool
* isSet bool
* updating e2e config tool
* leave createtag
* fn command failing unmarshal test
* fn command test
* don't set style in run-fs
* use setentry to set tag
* remove e2e test changes and make IsStringValue an RNode method
2022-03-23 14:25:19 -07:00
Sam Dowell
51b767b06e
feat: implement TrackableFilter for namespace
...
This change updates the namespace filter to implement the TrackableFilter
interface. This provides the functionality for the user to track which
fields were updated by the namespace filter.
2022-01-28 21:25:34 +00:00
monopole
660847225d
Simplify gvk, speed up cluster-scoped checks.
2021-05-02 13:17:33 -07:00
monopole
235101a614
Drop uses of 'unstructured' terminology.
2021-03-15 15:59:06 -07:00
Natasha Sarkar
49dced2e01
removed hardcoded list of namespaceable resources
2020-10-23 11:47:29 -07:00
Justin SB
5c60285f25
Replace language with more inclusive & accurate "hard-coded"
...
hard-coded is probably more helpful to understanding the limitations
of the current approach.
2020-09-09 08:41:33 -04:00
jregan
31c59bd7f2
Drop all calls to IsEmpty.
2020-08-09 10:47:06 -07:00
jregan
873c8c1d17
Move to new constants.
2020-08-07 12:18:24 -07:00
jregan
71b7b00bd8
Switch prefix transformer to kyaml.
2020-07-17 16:08:41 -07:00
Phillip Wittrock
77b5a4a215
kustomize transformers to create fields if they are null
2020-05-15 12:30:59 -07:00
jregan
39cb87cf2b
Define global const for metadata/namespace field
2020-05-09 18:00:26 -07:00
Phillip Wittrock
96926fecce
kyaml implementation of the PrefixSuffixTransformer
2020-03-30 13:07:11 -07:00
Jeffrey Regan
2be48ca96a
Function to set labels.
2020-03-27 17:53:28 -07:00
Phillip Wittrock
7629a03dd6
namespace transformer implementation using kyaml
2020-03-24 20:44:28 -07:00