Sylvain Rabot
fb3f560e0c
Upgrade Helm v3 to v3.6.3
...
Helm has started to build darwin/arm64 from v3.6.0.
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-09-12 18:18:41 +02:00
m-Bilal
12c177a365
fixes 4123; added length check on originalFields of kustomizationFile to prevent panic when kustomization file began with a comment(or a blank line) followed by a document separator
2021-09-12 17:35:23 +05:30
John Howard
402f6ca72b
Precompute IsNamespaceScoped to avoid expensive schema reads ( #4152 )
...
* Precompute IsNamespaceScoped to avoid expensive schema reads
See https://github.com/GoogleContainerTools/kpt/issues/2469
For the `gcr.io/kpt-fn/set-namespace:v0.1` function, over 50% of CPU
time is spent on IsNamespaceScoped. Instead of unmarshalling 100k lines
of JSON to determine this, instead just precompute it. We can ensure
this never is inaccurate as the test verifies the precomputed result is
up to date.
In real world kpt pipelines this cuts execution of set-namespace (and
similar functions, just an example of a trivial function) from 2.0s to
1.0s. Because these functions are run in long pipelines over many
resources, this adds up a lot.
* Add documentation
2021-09-09 10:08:11 -07:00
Kubernetes Prow Robot
2b8a39373e
Merge pull request #4172 from phanimarupaka/CopyReferenceNodesBeforeComparing
...
Copy reference nodes before copying comments and syncing order
2021-09-08 11:29:56 -07:00
Phani Teja Marupaka
17f18604e4
Copy reference nodes before copying comments and syncing order
2021-09-07 16:58:06 -07:00
Kubernetes Prow Robot
99e404cb61
Merge pull request #4169 from invidian/fix-typo
...
api/krusty: fix typo fileystem -> filesystem
2021-09-07 11:41:17 -07:00
Kubernetes Prow Robot
d4e3b4f832
Merge pull request #4171 from justinsb/cache_orgid
...
Cache the OrgId for nameReferenceTransformer
2021-09-07 11:17:16 -07:00
Justin SB
6552b90657
Cache the OrgId for nameReferenceTransformer
...
Because this is in an inner loop and is fairly memory-allocation
expensive even on a single allocation, it comes up top-of-the-list in
memory allocation pprof profiles, for example with the coredns
ClusterAddon.
Add simple caching.
2021-09-07 14:06:38 -04:00
Mateusz Gozdek
bf57d698b1
api/krusty: fix typo fileystem -> filesystem
...
Part of https://github.com/kubernetes/kubernetes/pull/104747 .
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com >
2021-09-05 11:33:10 +02:00
Kubernetes Prow Robot
4d002af735
Merge pull request #4165 from natasha41575/nameRefAfterKindChange
...
update name references after kind change
2021-09-03 12:56:52 -07:00
Natasha Sarkar
2bfc7cc1b0
throw error instead of panic when replacements source.fieldPath doesn't exist ( #4166 )
...
* test for missing source.fieldPath in replacements
* throw error instead of panic when replacements source.fieldPath doesn't exist
2021-09-03 11:10:53 -07:00
Natasha Sarkar
0244f0919e
update name references after kind change
2021-09-02 12:10:01 -07:00
Natasha Sarkar
f122fb12f3
Merge pull request #4158 from kubernetes-sigs/revert-4157-fix/github-rate-limiter-output
...
Revert "Return a meaningful message if we hit the rate-limiter of GitHub"
2021-08-31 13:29:11 -07:00
Osher De Paz
f7cd553044
return a meaningful message if we hit the rate-limiter of GitHub
2021-08-31 23:26:49 +03:00
Natasha Sarkar
7d0b7e2113
Revert "Return a meaningful message if we hit the rate-limiter of GitHub"
2021-08-31 13:13:36 -07:00
Kubernetes Prow Robot
c3a67cfdca
Merge pull request #4157 from osherdp/fix/github-rate-limiter-output
...
Return a meaningful message if we hit the rate-limiter of GitHub
2021-08-31 12:42:22 -07:00
Osher De Paz
4315e982be
return a meaningful message if we hit the rate-limiter of GitHub
2021-08-31 16:19:39 +03:00
Kubernetes Prow Robot
634464353f
Merge pull request #4128 from KnVerey/mini_proposal_process
...
Introduce in-repo proposal process
2021-08-30 17:22:28 -07:00
Kubernetes Prow Robot
9c36004493
Merge pull request #4143 from KnVerey/release_updates
...
Release updates
2021-08-30 16:08:29 -07:00
Katrina Verey
1b1034442c
Enable real release after dry run without manual cleanup
2021-08-30 15:09:40 -07:00
Katrina Verey
a89863c84c
Update release instructions
2021-08-30 15:09:40 -07:00
Katrina Verey
f7340e0615
Proposal template feedback
2021-08-30 12:10:02 -07:00
Kubernetes Prow Robot
bf6b207cc9
Merge pull request #4141 from KnVerey/unpinEverything
...
Back to development mode; unpin the modules
2021-08-24 12:46:58 -07:00
Katrina Verey
f93b4877f7
Back to development mode; unpin the modules
2021-08-24 12:35:26 -07:00
Kubernetes Prow Robot
cd17338759
Merge pull request #4139 from KnVerey/pinToApi
...
Pin to api v0.9.0
kustomize/v4.3.0
2021-08-24 12:04:58 -07:00
Katrina Verey
c46867c3a7
Pin to api v0.9.0
2021-08-24 11:54:43 -07:00
Kubernetes Prow Robot
3c321ef79c
Merge pull request #4138 from KnVerey/pinToCmdConfig
...
Pin to cmd/config v0.10.0
api/v0.9.0
2021-08-24 11:38:58 -07:00
Katrina Verey
7938fdb596
Pin to cmd/config v0.10.0
2021-08-24 11:27:56 -07:00
Kubernetes Prow Robot
a2111869e6
Merge pull request #4137 from KnVerey/pinToKyaml
...
Pin to kyaml v0.11.1
cmd/config/v0.10.0
2021-08-24 11:10:59 -07:00
Katrina Verey
f8288e2f02
Pin to kyaml v0.11.1
2021-08-24 10:59:16 -07:00
Jeff Regan
f2f90d1185
Merge pull request #4114 from monopole/anchorsAweigh
...
Add YAML anchor/alias expansion.
kyaml/v0.11.1
2021-08-24 09:51:49 -07:00
Kubernetes Prow Robot
459e800ecf
Merge pull request #4134 from phanimarupaka/FieldOrderingForNullFields
...
Preserve field order: Add test for null value
2021-08-23 16:44:14 -07:00
Phani Teja Marupaka
8f00d3fd53
Add test for null value
2021-08-21 15:58:49 -07:00
Kubernetes Prow Robot
cd94cb13c6
Merge pull request #4132 from natasha41575/moveWorkDirCheck
...
move check for working dir for exec functions
2021-08-20 11:11:31 -07:00
Natasha Sarkar
e100be620e
move check for working dir for exec functions
2021-08-20 10:59:29 -07:00
Natasha Sarkar
1e1b9b484a
exec function working dir is the kustomization that referenced it ( #4125 )
...
* exec function working dir is the kustomization that referenced it
* suggested changes
* more code review
* use a field instead of an annotation
* more code review
2021-08-19 20:15:24 -07:00
Katrina Verey
3e7246690f
Introduce in-repo proposal process
2021-08-19 17:00:20 -07:00
monopole
360585dfaf
Add YAML anchor/alias expansion.
2021-08-19 11:55:09 -07:00
Kubernetes Prow Robot
f604619dd5
Merge pull request #4086 from campoy/pkgio-writer-filesys
...
Add FileSystem interface to LocalPackageWriter
2021-08-19 11:51:25 -07:00
Francesc Campoy
0fa056327a
Skip in-memory tests for Windows and generate temporary directories correctly for Windows tests.
2021-08-19 10:27:39 -07:00
Francesc Campoy
6db2bf69f3
Add FileSystem interface to LocalPackageReadWriter and hook to LocalPackageWriter
2021-08-19 10:27:38 -07:00
Francesc Campoy
20fb9578c0
Adapt tests to new FileSystem field
2021-08-19 10:27:38 -07:00
Francesc Campoy
4eb8232495
Added FileSystem field to kio.LocalPackageWriter
2021-08-19 10:27:38 -07:00
Jeff Regan
6c4e8019f8
Merge pull request #4094 from brianpursley/merge3-test
...
Add unit tests to cover existing behavior of three way merge and strategic merge patch
2021-08-19 07:41:18 -07:00
Jeff Regan
28707bf5df
Merge pull request #4065 from natasha41575/originDataAsAnnotation
...
option for origin data as annotation
2021-08-18 19:08:54 -07:00
Mike Borozdin
023a580f00
support for darwin and linux ( #4122 )
...
* support for darwin and linux
* updated to use go for env variables
2021-08-17 15:58:08 -07:00
Kubernetes Prow Robot
a2eaae5555
Merge pull request #4113 from KnVerey/kyaml_container_patch_kinds
...
Enable fn framework container patches to work with more kinds
2021-08-17 11:31:13 -07:00
Katrina Verey
75df1a5422
kyaml presubmit formatting
2021-08-17 11:13:54 -07:00
Katrina Verey
f0b4cc4581
ContainerPatch supports all common workload paths
2021-08-17 11:13:52 -07:00
Katrina Verey
7a41e479c9
Filter helper for fallback field lookup
2021-08-17 11:13:10 -07:00