Jeffrey Regan
5416ae7365
Introduce API module.
2019-10-21 15:21:04 -07:00
Jeffrey Regan
46524d3b6a
Introduce API module.
2019-10-21 13:30:31 -07:00
Jeffrey Regan
0cf2057fc5
Install generated plugin code into the API module.
2019-10-21 11:15:51 -07:00
Jeffrey Regan
3f08e1546c
Move generated plugin code.
2019-10-21 09:48:11 -07:00
jregan
951d15bf17
Make api/plugins
2019-10-20 15:12:13 -07:00
jregan
3af5a8afea
Make resource, resmap public.
2019-10-20 10:51:20 -07:00
jregan
c90e0a4080
Drain pkg/transformers.
2019-10-20 09:19:07 -07:00
jregan
5de000ee3d
Move FieldSpec to API.
2019-10-20 06:52:13 -07:00
Jeffrey Regan
e5c8b5ec8f
Start api directory, which will become a module.
2019-10-17 14:01:20 -07:00
jregan
07d2500ee3
Make types package public.
2019-10-16 16:41:43 -07:00
jregan
04c23b2085
Maker hasher public for now.
2019-10-16 12:25:09 -07:00
Jeffrey Regan
4e9d42fae7
Move kv loader code to public package.
2019-10-15 16:52:03 -07:00
Jeffrey Regan
41a008e9a3
Start pluglib, a set of public, plugin specific functions.
2019-10-14 19:43:55 -07:00
jregan
72d9b4cbca
Remove minecraft version check from chart plugin tests.
2019-10-12 12:52:36 -07:00
jregan
b306f8511c
Fix some nits
2019-10-12 07:42:04 -07:00
jregan
78d14d0d75
Introduce dummy program to help with API releases.
2019-10-08 15:15:24 -07:00
Jeffrey Regan
baa0296a12
Reduce size of pgmconfig package
2019-10-03 18:22:05 -07:00
Jeffrey Regan
2d58f8b81c
Break the dep between fs and pgmconfig.
2019-10-02 12:01:45 -07:00
Jeff Regan
fa1af6f51e
Merge pull request #1473 from richardmarshall/execpluginhash
...
Support resource generator options in exec plugins
2019-09-26 10:12:52 -07:00
Jeff Regan
9288dec02a
Fix failing BashedConfigMapTest
2019-09-26 09:56:04 -07:00
Richard Marshall
ac9424fa3e
tests: Add unit tests for update resource options
2019-09-26 08:41:41 -07:00
Jeffrey Regan
def4f04572
Depend on new pluginator location.
2019-09-24 16:43:53 -07:00
Jeffrey Regan
74ed0b30e5
Example of configuring builtin plugin.
2019-09-17 16:29:08 -07:00
jregan
2050afdeb4
Ease doing custom configuration of builtin plugins.
2019-09-13 14:45:36 -07:00
Jimmi Dyson
dd5b3c1e2e
Do not prefix/suffix APIService resources
2019-09-12 09:53:33 +01:00
Yujun Zhang
4cb883863f
plugin/go-getter: support urls including :
2019-09-09 15:39:45 +08:00
Yujun Zhang
6a4150d199
Amend go-getter plugin document according to comments
2019-09-05 13:57:20 +08:00
Yujun Zhang
ed920afb2e
Support setting command in go-getter plugin
...
This allows one to use non-kustomization remote source
2019-09-02 14:53:18 +08:00
Yujun Zhang
ed91bce275
Add example plugin for go-getter
2019-08-30 11:14:46 +08:00
Jeff Regan
a9f58383d8
Merge pull request #1460 from richardmarshall/namespace_conflicts
...
Detect ID conflicts in namespace transformer
2019-08-23 10:54:36 -07:00
jregan
bc303c4629
in plugin executor remove unnecessary code and improve error messages
2019-08-19 20:23:07 -07:00
jregan
fa834f9541
Fix non-travis tests.
2019-08-19 16:29:00 -07:00
Richard Marshall
24c173a49b
Detect ID conflicts in namespace transformer
2019-08-19 08:55:54 -07:00
Vlad Gorodetsky
bafd6b5423
Fix typo in patches definition
2019-07-30 14:52:02 +03: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
jingfangliu
b4038a6cd2
add testting for patch transformers
2019-07-26 14:02:52 -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
jingfangliu
fc78917191
support strategic merge patch with $patch: delete
2019-07-24 12:46:33 -07: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
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
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
Jerome Brette
f363acf839
Implement code review changes for ResId.Equals instead of ResId.GkvnEquals
2019-07-18 14:13:51 -05: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
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