Jeff Regan
7f8da385c0
Merge pull request #3392 from monopole/isolateQuoting
...
Isolate scalar int and bool quoting oddities to one test set.
2020-12-23 18:26:52 -08:00
jregan
1426137883
Isolate scalar quoting oddities to one test set.
...
The apimachinery code path, in its final marshalling
for output, calls Marshall
https://github.com/go-yaml/yaml/blob/v2/yaml.go#L199
This code path (via apimachinery Unstructured types)
has no JSON schema tags
https://yaml.org/spec/1.2/spec.html#id2803311
so it adds quotes to values that smell like
booleans and ints (e.g. `false` becomes `"false"`).
The kyaml code path, OTOH, uses such tags,
so generally does not quote ints and booleans.
This PR isolates this difference in behavior to
one set of tests (using data fields in configmaps
in api/krusty/configmaps_test.go) so that
they don't confuse other tests that cover
completely different behaviors.
2020-12-23 17:08:25 -08:00
Kubernetes Prow Robot
d90d77cdaf
Merge pull request #3366 from natasha41575/QuotedScalarValueWithColon
...
if setter value ends in colon, treat it as a string
2020-12-23 11:54:26 -08:00
Jeff Regan
1ffd790cfb
Merge pull request #3388 from Shell32-Natsu/secret-type
...
Fix type ignored in secret generator
2020-12-22 17:51:07 -08:00
Jeff Regan
454906d093
Merge pull request #3389 from monopole/moreMergeTests
...
More merge tests, clearer method names.
2020-12-22 17:49:26 -08:00
jregan
8b97274af3
More merge tests, clearer method names.
2020-12-22 17:26:12 -08:00
Donny Xia
b1056b43cb
Merge pull request #3383 from antoninbas/add-role-resourceNames-to-configMap-builtin-nameref-resolver
...
Add Role / ClusterRole resourceNames to ConfigMap nameref resolver
2020-12-22 14:43:19 -08:00
Donny Xia
e411942a74
Fix type ignored in secret generator
2020-12-22 14:37:13 -08:00
Kubernetes Prow Robot
6b30b72ebc
Merge pull request #3385 from monopole/elimateExtraneousEmtpyMaps
...
Eliminate extraneous label and anno maps.
2020-12-22 08:54:26 -08:00
jregan
9ddf0fe304
Eliminate extraneous label and anno maps.
2020-12-22 08:37:40 -08:00
Jeff Regan
8a952a1b26
Merge pull request #3384 from monopole/badBlank
...
Fix roleref test failing under enableKyaml
2020-12-22 06:47:55 -08:00
jregan
fff484e98b
Fix test failing under enableKyaml
2020-12-22 06:24:27 -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
Natasha Sarkar
4908654c09
if setter value ends in colon, treat it as a string
2020-12-21 11:54:30 -08:00
Jeff Regan
586515ebc4
Merge pull request #3379 from monopole/messingWithMerge
...
Fix configmap merge problem under kyaml.
2020-12-21 09:22:02 -08:00
jregan
735befef19
Add kunstruct impl of Get/SetDataMap, replace Resource.Merge
2020-12-21 07:22:03 -08:00
jregan
35087ed0cc
Add RNode.Set/GetDataMap to ease configmap generation.
2020-12-21 07:18:51 -08:00
Jeff Regan
f84f8f28fd
Merge pull request #3376 from monopole/oops
...
Drop another go.mod version replacement omission.
2020-12-20 17:07:36 -08:00
jregan
45e118458c
Drop another go.mod version replacement omission.
2020-12-20 17:06:26 -08:00
Jeff Regan
1102153ae3
Merge pull request #3375 from monopole/removeVersionNumbers
...
In module replacements, drop specific version numbers.
2020-12-20 16:45:54 -08:00
jregan
338910d36c
In module replacements, drop specific version numbers.
2020-12-20 16:23:23 -08:00
Kubernetes Prow Robot
38e9770f40
Merge pull request #3374 from monopole/deleteOldChartInflator
...
Delete old example helm chart inflator.
2020-12-20 11:24:25 -08:00
Kubernetes Prow Robot
20a4153893
Merge pull request #3373 from monopole/unpinKyaml
...
Unpin kyaml
2020-12-20 11:00:24 -08:00
jregan
51fba009b3
Delete old example helm chart inflator.
2020-12-20 10:45:43 -08:00
jregan
002215d719
Unpin kyaml
2020-12-20 10:31:17 -08:00
Kubernetes Prow Robot
f9d1e800e4
Merge pull request #3371 from mortent/UseIndexForOrderingFunctions
...
Multiple declarative functions in the same file should execute in order
2020-12-17 17:24:25 -08:00
Jeff Regan
82db6cd73d
Merge pull request #3370 from monopole/fixAnotherNit
...
Fix formatting nit with enableKyaml
2020-12-17 12:49:25 -08:00
Morten Torkildsen
3c25584658
Multiple declarative functions in the same file should execute in order
2020-12-17 12:13:42 -08:00
jregan
c32a809dbd
Fix formatting nit with enableKyaml
2020-12-17 11:21:46 -08:00
Jeff Regan
02be687778
Merge pull request #3369 from monopole/unpinApi
...
Unpin api module.
2020-12-17 10:02:20 -08:00
jregan
c0a754e7b0
Unpin api module.
2020-12-17 09:38:14 -08:00
Jeff Regan
63e441a673
Merge pull request #3368 from monopole/fixSlash
...
Fix apiversion slash
2020-12-17 09:20:00 -08:00
jregan
bd27d5f8bb
Fix apiversion slash
2020-12-17 08:42:15 -08:00
Kubernetes Prow Robot
0aa250c6e2
Merge pull request #3359 from Shell32-Natsu/resmap-from-rnodes
...
Avoid error when the node has local-config
2020-12-16 11:00:30 -08:00
Jeff Regan
e269ad4a80
Merge pull request #3356 from JaredTan95/update_extension_version
...
upgrade admissionregistration.k8s.io/v1beta1 version to v1
2020-12-16 10:44:08 -08:00
Jeff Regan
9db6b37b88
Merge pull request #3357 from yuvalk/yuvalk/master
...
add curl timeout to install script
2020-12-16 10:43:13 -08:00
JaredTan95
2361b70967
fix unit test
2020-12-16 10:05:04 +08:00
Donny Xia
d016326877
avoid error when the node has local-config
2020-12-15 13:29:19 -08:00
Donny Xia
67e445c10b
Merge pull request #3353 from epcim/helmValuesOnInflatorConfig-plugin
...
Helm values on inflator config plugin
2020-12-15 10:21:47 -08:00
Jeff Regan
76970a6b05
Merge pull request #3354 from Shell32-Natsu/set-image
...
describe the format of image tag that is allowed
2020-12-15 09:44:20 -08:00
Kubernetes Prow Robot
66db1df79a
Merge pull request #3346 from Shell32-Natsu/ynode-iszero
...
Add function to check is YNode zero
2020-12-15 09:43:48 -08:00
Yuval Kashtan
6442047e52
add curl timeout to install script
...
This is important to improve reliency of other automations/scripts that are using this script internally. Otherwise install script might stall forever in some cases.
2020-12-15 12:01:15 +02:00
Petr Michalec
8ac6954de1
helm values on inflator config - test
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:39:17 +01:00
Petr Michalec
494977b9d0
helm values on inflator config - builtin
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:38:59 +01:00
Petr Michalec
0a0a6e1018
helm values on inflator config - plugin
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:38:37 +01:00
Petr Michalec
fa69d4ba9d
helm values on inflator config - types
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:37:34 +01:00
JaredTan95
36bdcca735
update plugin api version.
...
Signed-off-by: JaredTan95 <jian.tan@daocloud.io >
2020-12-15 12:22:57 +08:00
JaredTan95
c71a4534a0
update kyaml api version.
2020-12-15 12:21:27 +08:00
JaredTan95
97402f1136
update crd_test.go api version.
2020-12-15 12:20:10 +08:00
JaredTan95
1329afa3ca
update imagetag_test.go api version.
2020-12-15 12:19:37 +08:00