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
Jeffrey Regan
4e9d42fae7
Move kv loader code to public package.
2019-10-15 16:52:03 -07:00
Jeffrey Regan
bb77e7491a
Rename DataSources to KvPairSources and remove deprecated env field.
2019-10-15 13:39:42 -07:00
Jeffrey Regan
41a008e9a3
Start pluglib, a set of public, plugin specific functions.
2019-10-14 19:43:55 -07:00
Jeffrey Regan
a88ee3f93c
Move filesys package up to make public.
2019-10-14 12:40:09 -07:00
Jeffrey Regan
9e3b837093
Rename fs package to filesys
2019-10-14 10:50:27 -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
Jeffrey Regan
b95164b9a8
More code to discuss in 1297
2019-10-11 10:37:29 -07:00
Jeff Regan
4e45af6265
Update complexcomposition_test.go
2019-10-10 13:16:45 -07:00
Jeffrey Regan
e6770e5f1e
tweakNamesInTest
2019-10-10 13:03:55 -07:00
Jeffrey Regan
949b10bf93
refactor complexcomposition_test in prep for addition
2019-10-10 11:25:38 -07:00
jregan
78d14d0d75
Introduce dummy program to help with API releases.
2019-10-08 15:15:24 -07:00
Jeffrey Regan
07e0e46ac7
improve tests for alternative kustomization file names
2019-10-04 10:17:49 -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
Jeffrey Regan
9a94bcb854
Improve fs package and doc in prep to officially go public
2019-10-01 11:12:27 -07:00
Richard Marshall
79fbe7c4cc
Support resource generator options in exec plugins
2019-09-26 08:41:41 -07:00
Jerome Brette
b1faa989f4
Update Ingress apiVersion to networking.k8s.io/v1beta1
2019-09-20 19:37:05 +00:00
jregan
2050afdeb4
Ease doing custom configuration of builtin plugins.
2019-09-13 14:45:36 -07:00
Kubernetes Prow Robot
72d26c6ad5
Merge pull request #1522 from jcassee/basereusenameprefix-test
...
Add test for name conflict with base reuse
2019-09-13 11:02:29 -07:00
Jeff Regan
e011f3be4f
change "bases:" to "resources:"
...
per https://github.com/monopole/kustomize/blob/master/docs/fields.md#bases
no big deal
2019-09-13 10:47:35 -07:00
Joost Cassee
e898c5221b
Add test for name conflict with base reuse
2019-09-10 23:57:15 +02:00
Daniel Gorin
1237ae43b4
Consider currentId when replacing/merging resources
...
When merging resources such as the output of a `configMapGenerator`,
we need to consider the `CurrentId`, otherwise, we cannot extend
a common base definition twice by adding different prefixes, and
then further kustomize them.
See #1442 .
2019-09-10 11:14:08 +01:00
Jeffrey Regan
f59d7998d2
Add an example of reusable builtin plugins with custom config.
2019-09-05 15:53:03 -07:00
jregan
a081534938
Test custom configuration of a builtin plugin.
2019-08-30 16:37:29 -07:00
Jerome Brette
6e13acfac3
IsInKustomizeCtx should use end of nameprefix array (2/3)
...
Update unit tests associated with in IsSameKustomizeCtx
2019-08-29 13:58:03 -05:00
Kubernetes Prow Robot
33ad02a6b4
Merge pull request #1383 from richardmarshall/smp_patch_directive
...
Handle ordering patch with SMP delete directives
2019-08-23 11:15:18 -07:00
Jeff Regan
9ea184c04a
Merge pull request #1449 from richardmarshall/git_cycle_detection
...
Fix indirect cycle detection for git resources
2019-08-20 16:17:36 -07:00
jregan
fa834f9541
Fix non-travis tests.
2019-08-19 16:29:00 -07:00
Richard Marshall
fe8ba8e44b
Log loader errors during resource accumulation
2019-08-15 07:59:55 -07:00
Richard Marshall
0e5206a251
test: Update target tests for SMP directives
2019-08-13 13:38:42 -07:00
jingfangliu
35481ec6d9
add inline patch support for Strategic Merge Patch and JSON patch
2019-07-29 14:10:57 -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
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
230090d790
Fix namereference and stacked kustomization contexts (3/3)
...
- Update unit and integration tests.
2019-07-24 18:02:29 +00: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
99eb08eb1e
Add Namespace to var definition to allow disambiguation
2019-07-19 12:08:38 -05: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
Jerome Brette
b43bd5440d
Update Issue 1264 Reproduction Test
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
Jerome Brette
e5ebca6604
Test tracking issue "patchesStrategicMerge elements can be dropped"
...
- Issue 1354
- $patch: delete is ignored or not depending of the include order
in the kustomization.yaml
2019-07-15 19:02:52 -05:00