Jeff Regan
1c2eaa9d29
Merge pull request #2554 from quiye/ResMap
...
Fix length checking for ResMap resources
2020-06-05 14:06:37 -07:00
Kubernetes Prow Robot
2549a8c6be
Merge pull request #2558 from Shell32-Natsu/statefulset-name-in-hpa
...
Update StatefulSet ref name in HPA
2020-06-04 11:35:14 -07:00
quiye
08922cfe29
Fix length checking for ResMap resources
2020-06-04 08:37:44 +09:00
Kubernetes Prow Robot
cedcf3ac04
Merge pull request #2168 from pgpx/feature-kustomizationpatch
...
Implement "kind: Component" to support composition
2020-06-03 10:32:11 -07:00
Donny Xia
8356979e1f
Update StatefulSet ref name in HPA
2020-06-01 16:52:13 -07:00
Paul Martin
98cb7fc8cd
Additional tests around reusing the same bases and components
2020-05-28 23:02:32 +01:00
Paul Martin
ca8e00fc15
Replace 'patch' with 'comp' in test data.
2020-05-28 23:02:32 +01:00
Paul Martin
93b0b1b0b1
Refactored Compontent tests to be table-driven
2020-05-28 23:02:32 +01:00
Paul Martin
34a442bbef
Additional tests around reusing the same bases and components
2020-05-28 23:02:31 +01:00
Donny Xia
4dcf81050e
Consider stringData when calculate secret hash
2020-05-27 13:58:28 -07:00
Donny Xia
e5e4f33ac7
Fix go-getter
2020-05-26 17:42:31 -07:00
Donny Xia
5449dbc775
Fix git commit hash ignored
2020-05-26 14:44:37 -07:00
Donny Xia
e05404f89c
Improve error message for merge error
2020-05-26 10:12:33 -07:00
jregan
a193129920
Remove race in tests.
2020-05-23 17:51:32 -07:00
jregan
02184dbfc5
Add logging.
2020-05-22 18:57:18 -07:00
jregan
b4f9e9ae56
Make plugin utils package.
2020-05-22 18:17:36 -07:00
jregan
75d8492c51
Remove flakey test optimization.
2020-05-22 16:58:03 -07:00
Prachi Pendse
06174fb52f
Add Cluster as not namespaceable kind
...
The Cluster object from the clusterregistry api is always cluster scoped.
2020-05-21 14:31:18 -07:00
jregan
006953265f
Make a test more relocatable.
2020-05-20 17:00:08 -07:00
jregan
8f5a55f89b
Upgrade to kyaml v0.1.11
2020-05-20 15:42:10 -07:00
jregan
cf6fd30c73
Fix nondeterminstic failure
2020-05-20 08:30:30 -07:00
jregan
07b679955e
Beef up test.
2020-05-19 18:26:37 -07:00
jregan
e28af71b6f
Add coverage for kusttarget.Load
2020-05-19 17:26:18 -07:00
Paul Martin
ab9d4c7e7b
Added test to ensure that individusal files cannot be added to the components list.
2020-05-19 19:26:18 +01:00
Jeff Regan
f9822c014f
Merge pull request #2468 from wendorf/numeric-common-labels
...
Test coverage for numeric-looking commonLabels strings
2020-05-18 14:06:23 -07:00
Paul Martin
c5c53011da
PoC to add Components to a separate components list (instead of resources)
...
If this idea is preferred, the code could really do with a refactor (probably using closures to control the behaviour of accumulate directory)
2020-05-18 19:25:29 +01:00
Paul Martin
fdfb58cc3e
Require version kustomize.config.k8s.io/v1alpha1 for Component
2020-05-18 19:25:29 +01:00
Paul Martin
1079d8604c
Renamed KustomizationPatch to Component
2020-05-18 19:25:29 +01:00
Paul Martin
4454edc14c
Implement "kind: KustomizationPatch" to support composition of Kustomize files
2020-05-18 19:25:29 +01:00
Phillip Wittrock
77b5a4a215
kustomize transformers to create fields if they are null
2020-05-15 12:30:59 -07:00
Dan Wendorf
214b5bcfb9
Test coverage for numeric-looking commonLabels strings
...
There is a regression in 72c7db39f2 where
commonLabels that are numeric-looking strings lose their quotation,
changing the value type from string to integer. This will cause the
resource to fail validation.
2020-05-15 12:26:10 -07:00
Kubernetes Prow Robot
dd3a79bcf7
Merge pull request #2487 from pwittrock/master
...
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:54:59 -07:00
Phillip Wittrock
b622306ff7
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:05:41 -07:00
jregan
d0425791ca
Add more labelling tests.
2020-05-14 17:54:13 -07:00
Phillip Wittrock
0866e2a54b
Set common labels and annotations as strings
2020-05-13 16:58:38 -07:00
Asad Ali
74b45392fc
Relative Order of Mutating/Validating WebhookConfigs
...
MutatingWebhookConfig may have similar dependencies as the
ValidatingWebhookConfig. eg. a k8s cluster service. Therefore, it should
be ordered last as well.
This PR preserves the implicit ordering between CustomResources and the
webhook while introducing a relative order between the two webhooks.
i.e. MutatingWebhook should be created prior to the ValidatingWebhook
The change is an enhancement of #1104
2020-05-11 13:08:07 -07:00
jregan
e54455705d
ValueAddTransformer
2020-05-10 17:49:46 -07:00
jregan
1a89d09f40
add value add filter
2020-05-10 16:59:43 -07:00
jregan
39cb87cf2b
Define global const for metadata/namespace field
2020-05-09 18:00:26 -07:00
Jeff Regan
3c6d3845ec
Merge pull request #2452 from monopole/filePathJoin
...
Add filesys.InsertPathPart function
2020-05-09 17:39:04 -07:00
jregan
51e3e0ff29
add filesys.InsertPathPart function
2020-05-09 17:21:31 -07:00
jregan
065f70705d
Upgrade to latest kyaml, cmd/config
2020-05-09 16:31:24 -07:00
Phani Teja Marupaka
7d600c1c5a
Do not modify CM and Secrets Generator
2020-05-06 09:38:33 -07:00
Jeff Regan
31e5ab1e6d
Merge pull request #2428 from thephw/update-exampe-tests-link-in-docs
...
Update link to travis pre-commit hook in docs
2020-04-30 15:44:47 -07:00
Jeff Regan
a9e998d27d
Merge pull request #2424 from monopole/fixErrorMessage
...
Improve config failure error message.
2020-04-30 15:41:04 -07:00
Patrick Wiseman
cae8fd0013
Update link to travis pre-commit hook in docs
2020-04-30 12:03:47 -04:00
jregan
de9f80c41b
Improve config failure error message.
2020-04-29 19:42:56 -07:00
Jeff Regan
d67c03af12
Merge pull request #2421 from Shell32-Natsu/2392-codeClean
...
Remove inventory transformer
2020-04-29 11:03:54 -07:00
Dominik Münch
499246a4a4
add test to demonstrate kubernetes-sigs/kustomize#1835
2020-04-29 09:27:23 +02:00
Jeff Regan
bd3d413ffd
Merge pull request #2420 from ian-howell/replaceVars-panic
...
Fix a panic when doing variable replacement.
2020-04-28 11:25:42 -07:00