Ed Overton
78b8139d46
Merge branch 'master' into issue4928-append-honors-key-style
2023-08-30 12:30:49 -04:00
Stephen Kitt
b692e49b1e
Switch to json-patch v5
...
json-patch was bumped to v5 in k/k as a result of
https://github.com/kubernetes/kubernetes/pull/118384 ; this aligns with
that, but switches to the v5 module, which is documented as
gopkg.in/evanphx/json-patch.v5.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-08-26 08:42:07 +02:00
Kubernetes Prow Robot
d6ff768298
Merge pull request #5262 from varshaprasad96/refactor/konfig
...
[Refactor] Internalize konfig constants
2023-08-25 10:18:52 -07:00
Kubernetes Prow Robot
911ddcda40
Merge pull request #5263 from bugoverdose/fix/reject-on-id-change
...
Fix `reject` needing both current and previous ids
2023-08-14 09:19:22 -07:00
Jeong Jinwoo
9f1d5acdc8
fix: check both prev and current ids for filtering reject targets
2023-08-11 21:37:55 +09:00
Jeong Jinwoo
9756d92a91
test: demonstrate reject not working on targets with changed id
2023-08-11 21:37:07 +09:00
Varsha Prasad Narsing
ddcbae54ab
[Refactor] Internalize konfig constants
...
This PR is an effort towards internalizing public APIs.
It moves some of the builtinconstants to internal/
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-08-09 14:14:48 -04:00
Varsha Prasad Narsing
ca748faa3f
[Refactor] Move image/ to internal
...
This PR is an effort towards reducing the public surface
of APIs. It move image/ to internal/image
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
(cherry picked from commit 1f5890709fdc17de6f44f42b5138dd0f7e64bc74)
2023-08-09 13:40:07 -04:00
natasha41575
ff75dd6cd5
release cleanup
2023-07-31 12:27:44 -05:00
natasha41575
4a893ce8c6
pin to kyaml
2023-07-31 11:08:00 -05:00
Kubernetes Prow Robot
cd7ba1744e
Merge pull request #5189 from annasong20/test-relative-submodules
...
Add test for issue #5131
2023-07-12 10:03:13 -07:00
Anna Song
da4e881007
Add accumulateResources error tests for local files ( #5225 )
...
* Add accumulateResources error tests for local files.
Add tests demonstrating accumulateResources errors when the resource is
a local file. Works to address #4807 .
* Improve readability
2023-07-01 11:46:49 -07:00
natasha41575
eeff67d88d
unpin everything
2023-06-19 12:05:59 -05:00
natasha41575
8c0e0b3b47
pin to kyaml
2023-06-19 10:45:18 -05:00
Ed Overton
096b2c4435
test: add psm test for different key types
2023-06-15 16:12:29 -04:00
Anna Song
129d0f90af
Add test for issue #5131
2023-06-14 18:32:12 +00:00
Ed Overton
c76fd5eb85
test: update psm key style test
2023-06-13 14:50:22 -04:00
Anna Song
168e31bfb6
Add accumulateResources remote file error tests
...
Test accumulateResources errors when a remote file fails to load. This
is part of the effort to fix issue #4807 .
2023-06-09 21:31:27 +00:00
Ed Overton
691b7d1df3
fix: patch additions honor source key style
...
When a patch appends a new node, it should honor the key style from the
patch. Prior to this commit, no style was applied, leading to problems
when the key value could be interpreted as a different type based on its
content. For example, "9110" needs quoting to ensure it is seen as a
string in yaml.
2023-06-08 17:21:46 -04:00
koba1t
d1647a51af
fix e2econtainer test
2023-06-07 02:19:55 +09:00
koba1t
5b76aa9d2f
update go 1.20
2023-06-06 22:39:06 +09:00
yugo kobayashi
0add0f95e2
change: components apply after all generators and transformers applied ( #5170 )
...
* change: components apply after all generator and transformer applied
* fix name for a test case
* add comment about when the components will be executed
* components are applied before transformer
2023-06-02 10:26:54 -07:00
Jefftree
7c98e531f2
make test-go-mod
2023-05-31 19:54:13 +00:00
Kubernetes Prow Robot
cf3e81b590
Merge pull request #4949 from koba1t/fix/add_check_kustomization_is_empty
...
add check that kustomization is empty
2023-05-26 10:36:53 -07:00
natasha41575
fd508f0e3a
release cleanup
2023-05-17 10:41:37 -05:00
natasha41575
4b807107a6
pin to kyaml and cmd/config released versions
2023-05-09 14:27:34 -05:00
Natasha Sarkar
3d6f40bd5e
Revert "Fix using same helm chart with different versions ( #4999 )"
...
This reverts commit 0f244a4a07 .
2023-05-09 13:16:22 -05:00
natasha41575
529a25d30b
unpin everything
2023-05-05 15:38:19 -05:00
natasha41575
1f98338481
pin to kyaml v0.14.2
2023-05-05 14:32:02 -05:00
Dustin Lish
0f244a4a07
Fix using same helm chart with different versions ( #4999 )
...
* Fix using same helm chart with different versions
* Fix p.ValuesFile when version is set
* Updated: Fix using same helm chart with different versions
* Add test for issue #4813
* Use if/else for readability, add version check to absChartHome
2023-04-24 15:09:02 -07:00
Tim Jacomb
75fa235498
Only override name of core api version
2023-04-18 09:41:28 +01:00
Tim Jacomb
7413c6a5fb
Regression test
2023-04-18 09:41:28 +01:00
koba1t
928b823d8f
fix using reflect.DeepEqual for check kustomization is empty
2023-04-06 05:52:13 +09:00
koba1t
2c2b2ab825
add check that kustomization is empty
2023-04-06 05:32:08 +09:00
Kubernetes Prow Robot
d3184da4c6
Merge pull request #5111 from yutaroyamanaka/reenable-skipped-tests
...
Re-enable tests disabled in #3880
2023-04-05 11:45:48 -07:00
yutaroyamanaka
2649d39fd3
docker build locally because gcr.io/kustomize-functions/e2econtainerconfig doesn't exist in the public
2023-04-04 18:22:43 +09:00
yutaroyamanaka
faab836ec9
use test helpers
2023-04-01 23:16:58 +09:00
yutaroyamanaka
c9f500cc0b
add another resource for making sure an existing resource isn't affeced by a generator
2023-04-01 23:13:04 +09:00
Peter Lobsinger
633da991d2
Only strip surrounding quotes if there are at least two characters.
...
Otherwise, a value consisting of a single quote character triggers a
panic:
go test krusty/configmaps_test.go
--- FAIL: TestDataIsSingleQuote (0.00s)
panic: runtime error: slice bounds out of range [1:0] [recovered]
panic: runtime error: slice bounds out of range [1:0]
2023-03-28 14:17:47 -07:00
yutaroyamanaka
71a7a7df13
re-enabled TestFnContainerGenerator with enable-gcp-services
2023-03-27 23:00:24 +09:00
yutaroyamanaka
436a047617
re-enabled TestFnContainerTransformer with e2econtainerconfig container
2023-03-27 21:33:57 +09:00
xin gu
4d70a36c25
emove the kyaml/openapi/kubernetesapi/v1_21_2/swagger.pb ( #5077 )
2023-03-23 10:48:31 -07:00
Kubernetes Prow Robot
2fdb35614d
Merge pull request #5080 from chlunde/perf-2
...
perf: Intersection: Avoid callid AllIds inside inner loop
2023-03-20 23:03:07 -07:00
Kubernetes Prow Robot
5dff9df1f7
Merge pull request #5099 from justinsb/dont_swallow_helm_errors
...
Don't swallow helm execution errors
2023-03-20 12:35:09 -07:00
justinsb
c151147258
Don't swallow helm execution errors
...
These are otherwise hard to debug.
2023-03-20 19:14:07 +00:00
justinsb
317fcadccb
Fix unused error value
...
The linter was complaining about err being unchecked.
2023-03-20 19:11:11 +00:00
Katrina Verey
0c92647760
Back to development mode; unpin the modules
2023-03-13 21:43:46 -04:00
Katrina Verey
0c650423ed
Update kyaml to v0.14.1
2023-03-13 19:24:20 -04:00
Katrina Verey
8338873e56
Changes from local test run
2023-03-13 18:40:16 -04:00
Katrina Verey
dd520f8889
Revert strict decoding of Kustomization due to regression in anchor handling ( #5073 )
...
* Revert strict decoding of Kustomization due to regression in anchor handling
* Empty commit
2023-03-13 13:46:47 -07:00