Skip to content

@monopole monopole released this Jun 30, 2021

This release updates go-yaml to version 496545a6307b2a7d7a710fd516e5e16e8ab62dbc, which may fix a number of outstanding bugs. Of note, the updated version of go-yaml no longer forces line wrapping on long strings (see go-yaml/yaml#572). Some users may see minor changes to output as a result. In addition, go-yaml is now used via an internal fork that restores previous sequence indentation behavior (the sequence indicator does not count against indentation). See #3946.

e583f19 Comment out part of script that is likely only needed on first run
3ab0665 fix affected kyaml tests
4b66043 compact sequence indent
979f03e remove serialization hack after bump
c8b049f point to natasha's fork
f3d8883 Internalize forked code
e308f32 fix leading newline issue
beea785 tests for compactSeqIndent
95c5b68 add defaultSeqIndent method
0ddf68c compact sequence indentation option
4cadad5 Internal copy of go-yaml at 496545a6307b2a7d7a710fd516e5e16e8ab62dbc
9e4a639 Instructions and script for go-yaml fork
2e8a3b7 Use the forked go-yaml module
1aa7a1e Handle null values while formatting
1801d33 Add error when datamap is nil
b01da61 Update argument name
23e28bb change marshal indent to 2 (#4005)
a1f1c2d Add documentation
10331d9 Add GetValidatedDataMap to rnode
60038d4 Add filesys.FileSystem to ignoreFileMatcher (#3994)
7fae7d1 Move api/filesys to kyaml/filesys (#3997)
0af3a75 Remove debug fmt.Println breaking kpt Starlark output
2e0556b Allow the Handle function of the ResourceHandler interface to return an error
95e2423 Allow users to customize handling of deleted resources for merge3

Assets 2

@monopole monopole released this Jul 1, 2021

New experimental command to automatically migrate vars to replacements: kustomize edit fix —vars. For details, run kustomize edit fix -h. Warning: converting vars to replacements will potentially overwrite many resource files and in rare scenarios may not produce the same output when kustomize build is run. We recommend doing this in a clean git repository where the change is easy to undo.

a1746f2 Pin to api v0.8.11
bb6f83f Pin to cmd/config v0.9.13
aa92d83 Pin to kyaml (#4020)
217e5c7 fix openapi command help page
7fae7d1 Move api/filesys to kyaml/filesys (#3997)
c19a972 expose --as-current-user via AddFunctionBasicsFlags
3b37fed convert vars to replacements: mapping value with dot
f121e74 convert vars to replacements
24294d3 upgrade json-patch 4.11.0
a3ed120 Handle errors
f6e6ac0 Back to development mode; unpin the modules

1 person reacted
Assets 7

@monopole monopole released this Jun 30, 2021

aa92d83 Pin to kyaml (#4020)
b465c20 Remove pinning to external fork
5c2c617 fix affected cmd/config tests
c8b049f point to natasha's fork
2e67433 expose --as-current-user via GetRunFnRunner
a3ed120 Handle errors
e468d6b Fixing cmd/config/internal/commands/e2e/e2e_test.go
58165df comments
0e8257c comments
3ee1579 Fully specify KRM Functions Spec and graduate it to v1.
f6e6ac0 Back to development mode; unpin the modules

Assets 2

@monopole monopole released this Jun 30, 2021

This release updates go-yaml to version 496545a6307b2a7d7a710fd516e5e16e8ab62dbc, which may fix a number of outstanding bugs. Of note, the updated version of go-yaml no longer forces line wrapping on long strings (see go-yaml/yaml#572). Some users may see minor changes to output as a result. In addition, go-yaml is now used via an internal fork that restores previous sequence indentation behavior (the sequence indicator does not count against indentation). See #3946.

aa92d83 Pin to kyaml (#4020)
b465c20 Remove pinning to external fork
c8b049f point to natasha's fork
936ac37 Update repospec_test.go
7fae7d1 Move api/filesys to kyaml/filesys (#3997)
727e24f append AsCurrentUser to FnPluginLoadingOptions
199802a Ensure 'not exist' errors wrap os.ErrNotExist (#3982)
62fd36f Updating go.sum
86dd74f Gather some string slice utils.
218da98 support mapping values with '.' in replacements fieldpaths
cebda58 test for '.' in replacement mapping value
6a82437 Renaming to better name
6b9e8eb Add a new type that defaults to FsOnDisk for convenience
24294d3 upgrade json-patch 4.11.0
7458a53 copy method for selector
cf6e6ca omitempty for replacement type
e847ec7 ReadDir method for filesys
ed3200e Remove bad TODO
a3ed120 Handle errors
6adefe4 replacements should be able to use previous IDs
84724a3 smarter path splitter for replacements
23544e0 code review
b1fda3d add an option to include local configs
b8ae69b copy target rnode in replacements
4014440 test to demonstrate '.' in list element path issue
74b0b3a test to demonstrate multiple fieldpaths issue in replacements
5a2a770 add IAMPolicyGenerator
437e8f9 Demonstrate issue 3929
172adc4 Consolidate scripts into k8s-traditional hack dir.
f6e6ac0 Back to development mode; unpin the modules
dbc11ed Handle errors
73da51d Apply suggestions from code review
df10d5a Add includeCRDs Field to HelmChart

Assets 2

@monopole monopole released this Jun 8, 2021

294070b address comments
cabbea0 handle comments in list correctly
d0bc25f Update byteio_writer.go
a3ed120 Handle errors
3e506ea PR feedback - more tests and some cleanup
0205090 remove metadata field from resourceRef schema
942f112 Fix kyaml tests
f061bb8 Check for empty GKNN when formatting results
382f09a Make frameworktestutil assertions configurable
f9afdc5 Improve frameworktestutil usability with complex error messages
5e4fb47 Only encoding non-wrapped single .json items as JSON
76f8988 Mark updated tests as skipped instead of passed
fa3e829 Sink: Force JSON encoding for .json files
a10ce1d cleanup tempfiles for runfn_test
839cc24 cleanup tempfiles for fmtr_test

Assets 2

@monopole monopole released this May 20, 2021

3f3d3b1 Replace pkger with embed.FS compatibility
53c87a3 Reset openapi in Filter and show use of pkger with filepath
0fdf0f8 TemplateProcessor can add custom resource schemas to openapi
5c4e363 Remove delegation to RNode in Resource.
4f760a0 make result public in function filter
6608472 Simplify gvk, speed up cluster-scoped checks.

Assets 2

@monopole monopole released this May 20, 2021

  • New experimental ReplacementTransformer, docs on the way: kubernetes-sigs/cli-experimental#158 (will end up here )
    This will replace the vars feature. Thanks @natasha41575!
  • Fix for #3705 (use k8s.io/kube-openapi instead of github.com/go-openapi/spec). Thanks @gautierdelorme!
  • Allow pulls of openapi data from live API servers (openapi fetch command). Thanks @natasha41575!
  • Remote git urls can specify a timeout parameter. Thanks to @joshdk!
  • More examples of helm usage.
  • Speed up cluster-scoped type checks.
  • API changes towards 1.0
    • Gvk and Resid types moved to kyaml
    • Resource now inlines RNode rather than delegating to it
    • Resmap now accepts an kio.Filter visitor (that can change the ResMap size).

afaf7c6 Pin to api v0.8.10
c24daec Pin to cmd/config v0.9.12
51605be Pin to kyaml v0.10.20
3f3d3b1 Replace pkger with embed.FS compatibility
dca13a4 use assert statements for kustomize edit tests
3cf18ad fix test
2bec25b add new fields to ordered fields
6608472 Simplify gvk, speed up cluster-scoped checks.
a4db686 Unpin everything.
5a8a4d4 More pinning.
1235047 Establish pin state.
1e7260b Pin to cmd/config v0.9.11
3a508da Pin to kyaml/v0.10.18
45fc670 update openapi fetch command
bcbfa06 remove go-openapi/spec,validate,strfmt from kustomize/
38e9c34 Back to dev mode; unpin the modules.

Assets 7

@monopole monopole released this May 20, 2021

51605be Pin to kyaml v0.10.20
3f3d3b1 Replace pkger with embed.FS compatibility
5bb7364 Fix linter error
a4db686 Unpin everything.

Assets 2

@monopole monopole released this May 20, 2021

51605be Pin to kyaml v0.10.20
a6b9445 Fix repospec test
36408a1 Update HelmChartInflationGenerator.go
24a64bd URL based configuration for git exec timeouts and git submodule cloning
3f3d3b1 Replace pkger with embed.FS compatibility
a8dacda Fix api tests on MacOS
5c4e363 Remove delegation to RNode in Resource.
01ddeb4 Introduce resmap.ApplyFilter.
82abd7e Simplify kind and name change code.
627118c skip tests instead of comment out
a46926c Disable tests that use non-exist image
6608472 Simplify gvk, speed up cluster-scoped checks.
a4db686 Unpin everything.
c8dddac Move resid package from api to kyaml
1235047 Establish pin state.
d03a5ab Add another last mile helm example.
53f7826 Add ability to set target namespace for helm chart template

Assets 2

@monopole monopole released this May 1, 2021

c8dddac Move resid package from api to kyaml

Assets 2