Kubernetes Prow Robot
e646bba1ff
Merge pull request #1396 from Liujingfang1/delete
...
support strategic merge patch with $patch: delete
2019-07-25 12:24:45 -07:00
Kubernetes Prow Robot
99a21b0a3c
Merge pull request #1308 from keleustes/varequal
...
Demonstrate need for Var.DeepEqual method equivalent
2019-07-25 11:26:06 -07:00
Kubernetes Prow Robot
e7a22b6bc5
Merge pull request #1398 from keleustes/doc
...
Update v3.1.0 release notes.
2019-07-25 10:43:28 -07:00
Jerome Brette
d783bbc0bc
DeepEqual method seems cleaner than adding Defaulting before every
...
reflect.DeepEqual call
2019-07-25 03:52:25 +00:00
Jerome Brette
b7405f3872
Test new types.Var.DeepEqual method.
2019-07-25 03:50:28 +00:00
Jerome Brette
abc419b5f9
Add Absorb method to VarSet and DeepEqual to Var
2019-07-25 03:42:40 +00:00
Jerome Brette
336378b114
Update release notes
2019-07-25 00:12:51 +00:00
jingfangliu
29959551da
release note for v3.1.0
2019-07-24 14:16:09 -07:00
jingfangliu
fc78917191
support strategic merge patch with $patch: delete
2019-07-24 12:46:33 -07:00
Kubernetes Prow Robot
ffd95ef5a9
Merge pull request #1378 from keleustes/nameprefix
...
Name Prefix and Suffix Transformation for multi level level kustomize context
2019-07-24 11:33:21 -07:00
Jerome Brette
230090d790
Fix namereference and stacked kustomization contexts (3/3)
...
- Update unit and integration tests.
2019-07-24 18:02:29 +00:00
Jerome Brette
8fa3861ba3
Fix namereference and stacked kustomization contexts (2/3)
...
- Leverage nameprefix and namesuffix contextual data
2019-07-24 18:02:23 +00:00
Jerome Brette
69c90e3427
Fix namereference and stacked kustomization contexts (1/3)
...
- Update PrefixSuffixTransfomer to add empty prefix and suffix
2019-07-24 10:59:07 -05:00
Kubernetes Prow Robot
5a73f345fd
Merge pull request #1388 from Liujingfang1/patch
...
add example for extended patches
2019-07-23 17:04:16 -07:00
jingfangliu
0e62d759f0
address comments
2019-07-23 16:55:58 -07:00
jingfangliu
b2967d2f77
add example for extended patches
2019-07-23 15:54:25 -07:00
Kubernetes Prow Robot
c23039c07a
Merge pull request #1379 from keleustes/namespace
...
Update Namespace and Name simultaneously
2019-07-23 14:10:14 -07:00
Kubernetes Prow Robot
5747c417c4
Merge pull request #1363 from Liujingfang1/patch
...
update edit fix to convert the old patches to patchesStrategicMerge
2019-07-23 13:16:14 -07:00
jingfangliu
8c53d77111
update edit fix to convert the old patches to patchesStrategicMerge
2019-07-23 10:38:48 -07:00
Jerome Brette
01667cabde
Update Namespace and Name simultaneously (2/2)
...
Add tests combining prefixsuffix and namespace transformers.
2019-07-23 11:04:59 -05:00
Jerome Brette
f649b62629
Update Namespace and Name simultaneously (1/2)
...
- Removed RoleBinding and Webhook specific code in the namespacetransformer.
That code was attempting to perform the task of the namereference
- Updated namereference transformer configuration to suppport the
Webhooks.
- Prevent the namereference from wiping out the namespace value if
no referral candidate was selected
- Added unit tests.
2019-07-23 11:04:52 -05:00
Kubernetes Prow Robot
3a4d025b5c
Merge pull request #1371 from keleustes/nsvar
...
Add namespace to variable definition
2019-07-22 11:04:53 -07:00
Ace Eldeib
c2cc93a009
fix: tempfile(?)
2019-07-19 17:38:24 -07:00
Ace Eldeib
af29855802
fix: windows builds
2019-07-19 12:58:06 -07:00
Jerome Brette
99eb08eb1e
Add Namespace to var definition to allow disambiguation
2019-07-19 12:08:38 -05:00
Kubernetes Prow Robot
d3f8c0d87f
Merge pull request #1327 from keleustes/residrequals-variables
...
ResId.Equals usable for VariableRef.
2019-07-19 09:41:12 -07:00
Jerome Brette
0bec7b996b
Code review implementation for namespace needed in vars
2019-07-18 19:20:10 -05:00
Jerome Brette
dd5674fe6b
ResId.Equals usable for VariableRef.
...
- Namespace need objRef field in variable declaration
- Add namespace conflict test for variables
The replacement of ResId.GkvnEquals reference by ResId.Equals
highligthed the fact it is no possible yet when looking for
variable targets because the namespace field is not allowed yet.
This commit adds two tests to the namespaces_test.go regarding
that use case.
2019-07-18 19:20:10 -05:00
Kubernetes Prow Robot
33159c26df
Merge pull request #1369 from Liujingfang1/order
...
add ResourceQuota to the order list
2019-07-18 16:35:51 -07:00
Kubernetes Prow Robot
afc7dbebe5
Merge pull request #1326 from keleustes/residequals-patchtransformer
...
Residequals patchtransformer
2019-07-18 13:14:19 -07:00
Jerome Brette
f363acf839
Implement code review changes for ResId.Equals instead of ResId.GkvnEquals
2019-07-18 14:13:51 -05:00
Kubernetes Prow Robot
96d5a7401d
Merge pull request #1365 from richardmarshall/fix_integration_test
...
Fix kustomize install in integration test
2019-07-18 11:56:26 -07:00
jingfangliu
403fa20546
add ResourceQuota and LimitRange to the order list
2019-07-18 11:44:46 -07:00
Richard Marshall
ba4d7ddca8
test: Fix kustomize install in integration test
2019-07-17 20:28:47 -07:00
Jerome Brette
5116e2f210
Improve Transformer with Namespace tests.
...
- Reorganize test into test tables.
- Ensure that every test case, convers SMP and JSONPatch by
using Deployment as kind first and then "MyCRD" as kind.
- Add tests involving namespaces.
- Add tests involving reordering of patches.
2019-07-17 15:44:44 -05:00
Jerome Brette
9e0f198227
Start to phase out usage ResId.GvknEquals where possible
2019-07-17 15:44:44 -05:00
Kubernetes Prow Robot
30b378a924
Merge pull request #1325 from keleustes/residequals-namereference
...
NameReference Transformer needs to account for namespace and cluster wide objects.
v3.0.3
2019-07-17 13:20:13 -07:00
Kubernetes Prow Robot
3a843f1eca
Merge pull request #1362 from Liujingfang1/doc
...
update the latest version in readme
2019-07-17 13:04:14 -07:00
Jerome Brette
9b40f8ab47
Implement code review comments to NameReferenceTransformer changes.
...
- Add comments where code with potentially misleading.
- Rename functions according to comments
2019-07-17 14:10:01 -05:00
jingfangliu
dc6dcd8150
update the latest version in readme
2019-07-17 12:05:12 -07:00
Kubernetes Prow Robot
3cb6c7f1f4
Merge pull request #1349 from yujunz/faq
...
Add FAQ about how to customize configuration
2019-07-17 11:26:11 -07:00
Kubernetes Prow Robot
7632839bc8
Merge pull request #1350 from yujunz/docs/plugins
...
Convert go plugin example to GPG based
2019-07-17 10:40:37 -07:00
Yujun Zhang
c3ea109b59
Update goPluginGuidedExample.md
2019-07-17 08:19:50 +08:00
Jerome Brette
579995dc8a
Address simultaneous transformation of name and namespace
...
Namereference handler needs to address simulatenous change of
name and namespace in ClusterRoleBinding for instance.
2019-07-16 18:17:33 -05:00
Jerome Brette
b43bd5440d
Update Issue 1264 Reproduction Test
2019-07-16 18:17:33 -05:00
Jerome Brette
c4d899f7f3
Improve NameReference Test cases
...
- Add more NameReference Namespace tests
- Address issue when mixing empty/no namespace and default namespace.
- Address ClusterRoleBinding subjects field pointing at multiple namespaces.
2019-07-16 18:17:33 -05:00
Jerome Brette
7998ee7036
Addresses slice case with notNamespaceable objects
2019-07-16 18:17:33 -05:00
Kubernetes Prow Robot
878960d7b1
Merge pull request #1355 from Liujingfang1/patch
...
enable extended patch transformer and add tests
2019-07-16 15:58:34 -07:00
jingfangliu
ed0cfc685b
add test for extended patch with overlapping patches
2019-07-16 15:16:00 -07:00
Kubernetes Prow Robot
b0a7345123
Merge pull request #1359 from keleustes/imagetag
...
Address replacement of digest by ImageTransformer
2019-07-16 13:10:49 -07:00