Natasha Sarkar
1957d5c746
support for more helm template args ( #4926 )
...
* support for more helm template args
* move templateArgs and unit tests to api/types
* undo package name change
* use our own simple helm chart instead of forking one
* add argument to AsHelmArgs
* code review
* lint errors
2023-02-01 10:19:05 -08:00
natasha41575
c8b112c79f
make TestResourcesRepoNotFile even less specific
2023-01-31 12:58:55 -06: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
Cailyn Edwards
90281a62e0
Make TestResourcesRepoNotFile Less Specific
2023-01-26 16:39:30 -05: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
af9a13111b
Merge pull request #4944 from ephesused/optimize-getannotations-2
...
Refactor mapping node traversal and optimize RNode.GetAnnotations and RNode.GetLabels
2023-01-26 12:18:25 -08:00
Katrina Verey
8b21844b10
Do not use filepath.Separator for splitting URLs
2023-01-24 18:10:34 -05:00
Katrina Verey
d315600e5e
remove redundant type meta in tests
2023-01-24 17:59:36 -05:00
Kubernetes Prow Robot
8f75682b9c
Merge pull request #4834 from elisshafer/generators/retain_disable_suffix_hash
...
api/resource: retain disableNameSuffixHash on merge and replace
2023-01-24 09:50:19 -08:00
Anna Song
298b87a223
Fix master
...
Fix RepoSpec build errors as result of merging 2 RepoSpec PRs in parallel
2023-01-23 13:21:55 -08:00
Kubernetes Prow Robot
a69092c4b7
Merge pull request #4986 from KnVerey/repospec_custom_usernames
...
repospec: support ssh urls with ssh certificates
2023-01-20 13:23:54 -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
Kubernetes Prow Robot
89d3ca1757
Merge pull request #4973 from KnVerey/remove-inventory-field
...
Remove long-ignored Inventory field from Kustomization type
2023-01-20 13:15:53 -08:00
Katrina Verey
2405da65d2
repospec: support ssh urls with ssh certificates
2023-01-17 23:25:07 -05: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
Kubernetes Prow Robot
dbc11a43a8
Merge pull request #4983 from KnVerey/repospec_separators
...
Refactor parseGitURL
2023-01-17 17:22:34 -08:00
Kubernetes Prow Robot
ec4d1e802b
Merge pull request #4974 from annasong20/expose-localize-test-helpers
...
Expose localize test helpers
2023-01-17 12:28:41 -08:00
Anna Song
7899b80a00
Localize patch, ReplacementTransformer ( #4943 )
...
* Localize PatchStrategicMergeTransformer, ReplacementTransformer
* Improve readability
2023-01-17 12:28:34 -08:00
Katrina Verey
00208394d6
Refactor parseGitURL to consolidate code paths, improve error handling
2023-01-16 20:36:19 -05:00
Olivier Lemasle
aaf9d39975
Bump k8s.io/kube-openapi to remove archived dependency
...
Bump k8s.io/kube-openapi to remove archived dependency github.com/PuerkitoBio/urlesc
2023-01-13 20:50:59 +01:00
Cailyn
8ab4b8d167
remove direct dependency on github/pkg/errors ( #4970 )
2023-01-13 10:52:25 -08:00
Katrina Verey
2b38c12c83
Add uncommitted plugin change and missing makefile dep
2023-01-13 12:53:35 -05:00
Katrina Verey
d70315fed6
Remove Inventory field from Kustomization
...
This field has not done anything since v3.5.5. It was missed in the cleanup in https://github.com/kubernetes-sigs/kustomize/pull/2421
2023-01-12 19:11:44 -05:00
Anna Song
dc34520ac1
Expose localizer test helpers
...
Expose helpers for later use by localize command handle tests
2023-01-12 10:14:44 -08:00
Kubernetes Prow Robot
da5d572df2
Merge pull request #4954 from KnVerey/more_repospec
...
Iteration on parseHostSpec refactor
2023-01-10 13:25:26 -08:00
Katrina Verey
3134e9b0c2
Better SCP colon-must-be-after-slash test
2023-01-10 16:14:54 -05:00
Katrina Verey
c2885642d6
Remove unused param
2023-01-10 15:01:29 -05:00
Katrina Verey
a885ee12c6
Add test for behaviour of scp-like non-github that incorrectly uses slash
2023-01-09 17:32:29 -05:00
Katrina Verey
1a201ab913
do not validate against http+usernames after all
2023-01-09 17:25:10 -05:00
Katrina Verey
240282fc6f
Allow file paths that look like usernames
2023-01-09 17:15:40 -05:00
Kubernetes Prow Robot
445622147f
Merge pull request #4889 from fengshunli/vuln
...
fix: all module net and text dependent package CVE-2022-41717 and CVE-2022-32149 vulnerabilities
2023-01-09 11:45:29 -08:00
Katrina Verey
ddf14ea688
Deprecate git:: stripping
2023-01-09 13:18:11 -05:00
Katrina Verey
64d2366e87
Naming changes from rebase
2023-01-09 13:15:26 -05:00
Katrina Verey
06999462e7
Make Github less special
2023-01-09 13:13:28 -05:00
Katrina Verey
2591303430
Add test case from github docs
2023-01-09 13:13:28 -05:00
Katrina Verey
150134758f
Show change vs master on accepted but invalid ssh-like urls
2023-01-09 13:13:28 -05:00
Katrina Verey
43d96ba91b
Address feedback on correctness of SCP/username validations
2023-01-09 13:13:28 -05:00
Katrina Verey
4821259f01
Stop handling mysterious gh: prefix in remote URLs
2023-01-09 13:13:27 -05:00
Katrina Verey
7e6cc7aafb
Review feedback
2023-01-09 13:13:27 -05:00
Katrina Verey
dc05fa153f
Additional repospec refactoring
2023-01-09 13:13:27 -05:00
Anna Song
fbb94584dc
Refactor parseHostSpec
...
Fix ssh parsing in issue 4847
2023-01-09 13:13:25 -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
fsl
32f31c34ba
fix: all module net and text dependent package CVE-2022-41717 and CVE-2022-32149 vulnerabilities
...
Signed-off-by: fsl <1171313930@qq.com >
2023-01-09 11:27:35 +08:00
Kubernetes Prow Robot
9bc75c16d9
Merge pull request #4960 from KnVerey/update-sigs-yaml
...
Update sigs.k8s.io/yaml to v1.3.0
2023-01-06 13:37:27 -08:00
Katrina Verey
5be179305a
Update sigs.k8s.io/yaml to 1.3.0
2023-01-06 16:23:17 -05: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
Kubernetes Prow Robot
1308d905fa
Merge pull request #4957 from cailynse/update-configMapGenerator-4731
...
Remove Functionality that Pulls Env Variables from Empty Keys
2023-01-05 13:19:58 -08:00