jregan
b4f9e9ae56
Make plugin utils package.
2020-05-22 18:17:36 -07:00
jregan
75d8492c51
Remove flakey test optimization.
2020-05-22 16:58:03 -07:00
Prachi Pendse
06174fb52f
Add Cluster as not namespaceable kind
...
The Cluster object from the clusterregistry api is always cluster scoped.
2020-05-21 14:31:18 -07:00
jregan
006953265f
Make a test more relocatable.
2020-05-20 17:00:08 -07:00
jregan
8f5a55f89b
Upgrade to kyaml v0.1.11
2020-05-20 15:42:10 -07:00
jregan
cf6fd30c73
Fix nondeterminstic failure
2020-05-20 08:30:30 -07:00
jregan
07b679955e
Beef up test.
2020-05-19 18:26:37 -07:00
jregan
e28af71b6f
Add coverage for kusttarget.Load
2020-05-19 17:26:18 -07:00
Jeff Regan
f9822c014f
Merge pull request #2468 from wendorf/numeric-common-labels
...
Test coverage for numeric-looking commonLabels strings
2020-05-18 14:06:23 -07:00
Phillip Wittrock
77b5a4a215
kustomize transformers to create fields if they are null
2020-05-15 12:30:59 -07:00
Dan Wendorf
214b5bcfb9
Test coverage for numeric-looking commonLabels strings
...
There is a regression in 72c7db39f2 where
commonLabels that are numeric-looking strings lose their quotation,
changing the value type from string to integer. This will cause the
resource to fail validation.
2020-05-15 12:26:10 -07:00
Kubernetes Prow Robot
dd3a79bcf7
Merge pull request #2487 from pwittrock/master
...
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:54:59 -07:00
Phillip Wittrock
b622306ff7
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:05:41 -07:00
jregan
d0425791ca
Add more labelling tests.
2020-05-14 17:54:13 -07:00
Phillip Wittrock
0866e2a54b
Set common labels and annotations as strings
2020-05-13 16:58:38 -07:00
Asad Ali
74b45392fc
Relative Order of Mutating/Validating WebhookConfigs
...
MutatingWebhookConfig may have similar dependencies as the
ValidatingWebhookConfig. eg. a k8s cluster service. Therefore, it should
be ordered last as well.
This PR preserves the implicit ordering between CustomResources and the
webhook while introducing a relative order between the two webhooks.
i.e. MutatingWebhook should be created prior to the ValidatingWebhook
The change is an enhancement of #1104
2020-05-11 13:08:07 -07:00
jregan
e54455705d
ValueAddTransformer
2020-05-10 17:49:46 -07:00
jregan
1a89d09f40
add value add filter
2020-05-10 16:59:43 -07:00
jregan
39cb87cf2b
Define global const for metadata/namespace field
2020-05-09 18:00:26 -07:00
Jeff Regan
3c6d3845ec
Merge pull request #2452 from monopole/filePathJoin
...
Add filesys.InsertPathPart function
2020-05-09 17:39:04 -07:00
jregan
51e3e0ff29
add filesys.InsertPathPart function
2020-05-09 17:21:31 -07:00
jregan
065f70705d
Upgrade to latest kyaml, cmd/config
2020-05-09 16:31:24 -07:00
Phani Teja Marupaka
7d600c1c5a
Do not modify CM and Secrets Generator
2020-05-06 09:38:33 -07:00
Jeff Regan
31e5ab1e6d
Merge pull request #2428 from thephw/update-exampe-tests-link-in-docs
...
Update link to travis pre-commit hook in docs
2020-04-30 15:44:47 -07:00
Jeff Regan
a9e998d27d
Merge pull request #2424 from monopole/fixErrorMessage
...
Improve config failure error message.
2020-04-30 15:41:04 -07:00
Patrick Wiseman
cae8fd0013
Update link to travis pre-commit hook in docs
2020-04-30 12:03:47 -04:00
jregan
de9f80c41b
Improve config failure error message.
2020-04-29 19:42:56 -07:00
Jeff Regan
d67c03af12
Merge pull request #2421 from Shell32-Natsu/2392-codeClean
...
Remove inventory transformer
2020-04-29 11:03:54 -07:00
Dominik Münch
499246a4a4
add test to demonstrate kubernetes-sigs/kustomize#1835
2020-04-29 09:27:23 +02:00
Jeff Regan
bd3d413ffd
Merge pull request #2420 from ian-howell/replaceVars-panic
...
Fix a panic when doing variable replacement.
2020-04-28 11:25:42 -07:00
Donny Xia
63f7495e88
Remove inventory transformer #2392
2020-04-28 17:36:44 +00:00
Ian Howell
1d46edccb5
Fix a panic when doing variable replacement.
...
This fixes an issue where Kustomize expects a []string, but gets a slice
of something else instead, which causing a runtime panic.
This fixes 2241
2020-04-27 15:54:04 -05:00
jregan
7feb873ef6
Remove MapTransformer.
2020-04-25 13:27:01 -07:00
jregan
72c7db39f2
Migrate the label transformer.
2020-04-24 17:39:52 -07:00
jregan
c852bb00f2
Special treatment for core apiVersions.
2020-04-24 15:40:44 -07:00
jregan
0636368c8c
More GVK tests before GV treatment changes.
2020-04-24 15:10:59 -07:00
jregan
d5ba8533fa
Isolate apiVersion parsing.
2020-04-24 13:56:41 -07:00
jregan
c777a3805d
Bug hunting; add more tests high and low.
2020-04-23 16:52:12 -07:00
jregan
3786db2dba
Remove time guessing.
2020-04-22 13:20:10 -07:00
jregan
2c615d78a2
Remove static cling in plugin development flow.
2020-04-20 08:29:01 -07:00
jregan
504029281a
Add compiler utils test.
2020-04-19 17:44:01 -07:00
jregan
1653a70693
Plugin loader improvements.
2020-04-18 18:29:10 -07:00
Jeffrey Regan
9c75afca58
PatchTransfomer readability mods.
2020-04-15 18:48:59 -07:00
Jeff Regan
636167ac7f
Merge pull request #2359 from mortent/PatchTransformerFilter
...
Update PatchTransformer to use kyaml filters
2020-04-15 17:11:29 -07:00
Jeffrey Regan
d15a573544
Add Generator Test
2020-04-15 16:00:06 -07:00
Morten Torkildsen
ef592606a0
Update PatchTransformer to use kyaml filters
2020-04-13 21:25:02 -07:00
jregan
20643c933e
More documentation for field.
2020-04-10 13:54:25 -07:00
jregan
c4db0f9a60
checkpoint
2020-04-10 11:01:31 -07:00
Morten Torkildsen
d051588789
Add json6902 patch filter based on kyaml libraries
2020-04-06 18:59:10 -07:00
Kubernetes Prow Robot
e00d0b98de
Merge pull request #2229 from boylee1111/boyil/priorityclass_ref
...
Add namereference for PriorityClass
2020-04-06 08:51:47 -07:00