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 |
|
koba1t
|
e1094da3cf
|
skip unrelevant lint
|
2023-03-11 05:11:47 +09:00 |
|
Cailyn Edwards
|
7c33fe30b7
|
Remove Log Assignment to Stdout
|
2023-02-21 10:53:22 -05:00 |
|
Anna Song
|
9d8ed39d3d
|
Localize helm additionValuesFiles (#5013)
|
2023-02-01 10:39:20 -08:00 |
|
Anna Song
|
e2aff13587
|
Expose path to localize destination
|
2023-01-30 15:42:58 -08:00 |
|
Anna Song
|
361154dabc
|
Localize HelmChartInflationGenerator (#5007)
* Localize HelmChartInflationGenerator
* Add explicit inline generators test
|
2023-01-30 13:16:48 -08:00 |
|
Anna Song
|
142360b0ed
|
Localize ConfigMapGenerator, SecretGenerator
|
2023-01-27 14:06:40 -08:00 |
|
Anna Song
|
fb294921f5
|
Localize helm fields (#4978)
* Localize helm fields
* Address readability feedback
* Handle edge cases
* Improve readability
Split copyChartHome and use existence to prevent repeated copying.
|
2023-01-26 12:56:26 -08:00 |
|
Kubernetes Prow Robot
|
0a1aa7c2cb
|
Merge pull request #4985 from KnVerey/repospec-git-suffix
Proposal: Remove RepoSpec manipulation of .git suffix
|
2023-01-20 13:16:01 -08:00 |
|
Katrina Verey
|
7e000aa820
|
Remove manipulation of .git suffix, which is just a conventional part of the directory name
|
2023-01-17 23:04:16 -05:00 |
|
Anna Song
|
7899b80a00
|
Localize patch, ReplacementTransformer (#4943)
* Localize PatchStrategicMergeTransformer, ReplacementTransformer
* Improve readability
|
2023-01-17 12:28:34 -08:00 |
|
Katrina Verey
|
4821259f01
|
Stop handling mysterious gh: prefix in remote URLs
|
2023-01-09 13:13:27 -05:00 |
|
Kishore Jagannath
|
772fafa892
|
Rename Orgrepo and Path (#4922)
* initial changes to rename OrgRepo to RepoPath
* changes to rename Path to KustRootPath
* addressed review comments
* addressed review comments
* docs: Add documentation for namespace transformer
Add a short description of the namespace transformer and example
usage to examples/transformerconfigs/README.md.
References: #629
Signed-off-by: Lars Kellogg-Stedman <lars@oddbit.com>
* Localize patchesJson6902, patchesStrategicMerge, replacements (#4904)
* Localize patchesJson6902, patchesStrategicMerge, replacements
* Address code review feedback
* Improve readability
* Remove deprecation warning check
* Load legacy kustomization fields for `localize` (#4918)
* Load legacy kustomization
* Expose loadKustFile in kusttarget
* remove FixKustomizationPreUnmarshalling
* remove deprecated cfg and fn commands (#4930)
* remove deprecated cfg and fn commands
* fix lint error
* run gofmt
* Localize PatchTransformer, PatchJson6902Transformer (#4920)
* Localize patches, patchesJson6902 custom transformers
* Improve readability
* Localize fields: openapi, configurations, crds (#4907)
* Localize openapi, configurations, crds
* Add integration test
* Move krusty test
* Address code review feedback
* Implement locRootPath (#4909)
* Implement locRootPath, and include userinfo, port in locFilePath
* Strip userinfo, port
* Improve readability
* Localize legacy fields
* Localize resources (#4912)
* Localize resources
* Improve readability
* Add integration tests
* Group test helper functions
* Remove Functionality that Pulls Env Variables from Empty Keys
* Update api/kv/kv.go
Co-authored-by: Katrina Verey <kn.verey@gmail.com>
* refactor Unmarshal Kustomization struct code
* improve error messages
* Run go mod tidy on all modules before update
* Update sigs.k8s.io/yaml to 1.3.0
* fixed test failure because of latest commits
Signed-off-by: Lars Kellogg-Stedman <lars@oddbit.com>
Co-authored-by: Lars Kellogg-Stedman <lars@oddbit.com>
Co-authored-by: Anna Song <annasong@google.com>
Co-authored-by: yugo kobayashi <kobdotsh@gmail.com>
Co-authored-by: Natasha Sarkar <natashasarkar@google.com>
Co-authored-by: Cailyn Edwards <cailyn.edwards@shopify.com>
Co-authored-by: Cailyn <cailyn.s.e@gmail.com>
Co-authored-by: Katrina Verey <kn.verey@gmail.com>
Co-authored-by: Katrina Verey <katrina.verey@shopify.com>
|
2023-01-09 08:45:29 -08:00 |
|
Kubernetes Prow Robot
|
c6ca3ff799
|
Merge pull request #4929 from koba1t/refactor/cleanup_Unmarshal_kustomization
Error on duplicate fields in Kustomization
|
2023-01-06 10:37:59 -08:00 |
|
koba1t
|
6489e35b7c
|
improve error messages
|
2023-01-07 03:30:16 +09:00 |
|
Anna Song
|
06da3b96a2
|
Localize resources (#4912)
* Localize resources
* Improve readability
* Add integration tests
* Group test helper functions
|
2023-01-05 08:47:59 -08:00 |
|
Anna Song
|
3022dd2931
|
Localize legacy fields
|
2022-12-22 17:21:16 -05:00 |
|
Anna Song
|
aec35009ed
|
Implement locRootPath (#4909)
* Implement locRootPath, and include userinfo, port in locFilePath
* Strip userinfo, port
* Improve readability
|
2022-12-22 12:15:26 -08:00 |
|
Anna Song
|
de6162625f
|
Localize fields: openapi, configurations, crds (#4907)
* Localize openapi, configurations, crds
* Add integration test
* Move krusty test
* Address code review feedback
|
2022-12-22 12:07:26 -08:00 |
|
Anna Song
|
a1bfab382a
|
Localize PatchTransformer, PatchJson6902Transformer (#4920)
* Localize patches, patchesJson6902 custom transformers
* Improve readability
|
2022-12-16 09:52:17 -08:00 |
|
yugo kobayashi
|
5fed0f76c8
|
refactor Unmarshal Kustomization struct code
|
2022-12-13 21:04:50 +00:00 |
|
yugo kobayashi
|
faddb49c89
|
remove FixKustomizationPreUnmarshalling
|
2022-12-13 18:50:25 +00:00 |
|
Anna Song
|
4cccb838ce
|
Load legacy kustomization fields for localize (#4918)
* Load legacy kustomization
* Expose loadKustFile in kusttarget
|
2022-12-13 08:19:34 -08:00 |
|
Anna Song
|
292d18983d
|
Localize patchesJson6902, patchesStrategicMerge, replacements (#4904)
* Localize patchesJson6902, patchesStrategicMerge, replacements
* Address code review feedback
* Improve readability
* Remove deprecation warning check
|
2022-12-12 10:41:33 -08:00 |
|
Anna Song
|
71eb865cea
|
Localize configMapGenerator, secretGenerator fields (#4894)
* Localize configMapGenerator, secretGenerator fields
* Improve readability
* Expose kv parseFileSource
* Add localizeGenerator to Localizer
* Improve and test ParseFileSource error messages
|
2022-12-02 15:31:53 -08:00 |
|
Anna Song
|
e34d5b5608
|
Localize components (#4867)
|
2022-12-02 09:33:53 -08:00 |
|
Anna Song
|
b8611cf0a9
|
Refactor localizer code
* encapsulate kusttarget params
* change dst to string
* ConfirmDir
|
2022-12-01 09:53:46 -08:00 |
|
Anna Song
|
832b552076
|
Load built-in plugins for kustomize localize (#4869)
* Load and filter built-in plugins
* Improve readability
* Process plugins as resources instead of bytes
* Throw error for validators
* Differentiate generators, transformers processing
* Enable validators
* add wrapper error
* improve documentation
|
2022-11-28 13:23:42 -08:00 |
|
Anna Song
|
0eff094faf
|
Calculate localized path for remote file (#4878)
* Calculate localized path for remote file
* Add documentation
|
2022-11-28 09:36:06 -08:00 |
|
Anna Song
|
314b8fbefa
|
Implement localizeFile() skeleton for patches (#4865)
* Implement localizeFile()
* Fix lint
* Address code review feedback
* Remove unnecessary String(), Error() with string formatters
* Remove processing of un-implemented methods
* Improve readability
* Remove unimplemented addLocalizeDir, hitsLocalizeDir
* Improve documentation
* Remove deprecated patchesJson6902 logic
|
2022-11-16 10:24:48 -08:00 |
|
Anna Song
|
f79e16b352
|
Improve localizer readability (#4860)
* Replace '%s' with %q
* Change ambiguous cli-"Arg" suffix in func arg names
* Remove repetitive "loc" in names
* Apply readability changes to localizer
* Fix comment
|
2022-11-16 08:42:49 -08:00 |
|
Anna Song
|
50e731a1d9
|
Implement localizer skeleton for kustomize localize (#4859)
* Add localizer outline
* Add localizer unit tests
* include previous change
* Add proper NewLocalizer, Localize unit tests
mock processKust
* Address code review feedback
* Make processKustFn public
* Remove mock testing
|
2022-11-10 09:24:54 -08:00 |
|
Anna Song
|
beb2825f82
|
Improve readability of ifc.Loader's Repo() method (#4857)
* Improve ldr Repo() method readability
* Change Repo() implementations and calls
* Improve readability of conditions in ldr.New()
* Fix details
|
2022-11-08 14:48:14 -08:00 |
|
Anna Song
|
f80cf9f433
|
Reinstate #4652 without url-related code
Remove code that changes remotes-loading code path, as mandated by #4756
|
2022-08-29 16:57:15 +00:00 |
|
Natasha Sarkar
|
8868d91670
|
Revert "Load and calculate Destination of files for kustomize localize (#4652)"
This reverts commit bf17fe1d8f.
|
2022-08-26 13:26:23 -05:00 |
|
Anna Song
|
bf17fe1d8f
|
Load and calculate Destination of files for kustomize localize (#4652)
* Implement file localization for localize
Implement file localization for new command kustomize localize
* Patch file localization
Fix lint errors, address feedback, begin transition to file loader from
localizer
* Add Repo() to Loader
* Implement locLoader factory + cleanup
* Add domain to RepoSpec
Fix ssh relative url host parsing for non-github domain on the side
* Implement Load(), New(), Root(), Dst() for LocLoader
* Address repospec code review comments
* Address 1st round of code review feedback
* Address feedback #2
Removed localized path calculations to cover edge case and improve readability.
* Remove ldr Cleanup logging
* Address code review round #3
* Address code review feedback #4
|
2022-08-19 14:33:53 -07:00 |
|