Anthony Ho
e6fffc8ba4
add makefile
2019-08-01 11:23:38 -04:00
Kubernetes Prow Robot
3d2e956b19
Merge pull request #1412 from richardmarshall/anchor_resmap_select
...
Automatically anchor resource selector patterns
2019-07-30 15:47:11 -07:00
Kubernetes Prow Robot
dd9d1f95e9
Merge pull request #1389 from Liujingfang1/repospec
...
make repospec memebers public
2019-07-30 15:27:51 -07:00
jingfangliu
a279c08f7d
make repospec memebers public
2019-07-30 13:56:20 -07:00
Kubernetes Prow Robot
a798109161
Merge pull request #1413 from bai/fix-typo
...
Fix typo in patches definition
2019-07-30 10:14:51 -07:00
Vlad Gorodetsky
bafd6b5423
Fix typo in patches definition
2019-07-30 14:52:02 +03:00
Richard Marshall
963913f9ef
Automatically anchor resource selector patterns
2019-07-29 17:57:33 -07:00
Jingfang Liu
46905588ac
add document for inline patch ( #1411 )
2019-07-29 15:15:06 -07:00
Kubernetes Prow Robot
5426888df4
Merge pull request #1405 from Liujingfang1/inlinepatch
...
add inline patch support for Strategic Merge Patch and JSON patch
2019-07-29 14:28:49 -07:00
jingfangliu
35481ec6d9
add inline patch support for Strategic Merge Patch and JSON patch
2019-07-29 14:10:57 -07:00
Kubernetes Prow Robot
6c92c30e94
Merge pull request #1402 from damienr74/currentid-replicas
...
Allow replicas to find modified names.
2019-07-29 12:54:47 -07:00
Damien Robichaud
02f6b3ec98
Allow replicas to find modified names.
...
Also allows to test for modified resmaps instead of directly loading
them.
2019-07-26 18:00:59 -07:00
Kubernetes Prow Robot
a9848f2738
Merge pull request #1403 from Liujingfang1/inlinepatch
...
add testing for patch transformers
2019-07-26 15:05:57 -07:00
jingfangliu
b4038a6cd2
add testting for patch transformers
2019-07-26 14:02:52 -07:00
Kubernetes Prow Robot
95f3303493
Merge pull request #1400 from keleustes/defaultsa
...
Force the namespace value for the "default" service object.
v3.1.0
2019-07-26 10:51:21 -07:00
Jerome Brette
2faf4a491b
Force the namespace value for the "default" service object.
...
The clusterrolebinding and rolebinding is pointing at a resource
which is not listed in the kustomize
2019-07-25 22:43:59 +00:00
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
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