Katrina Verey
efe1374940
Merge pull request #5089 from KnVerey/pinToCmdConfig
...
Update cmd/config to v0.11.1
2023-03-13 20:49:50 -04:00
Katrina Verey
b751ffe5a0
Update cmd/config to v0.11.1
2023-03-13 20:27:40 -04:00
Katrina Verey
28a2a01c29
Merge pull request #5088 from KnVerey/pinToKyaml
...
Update kyaml to v0.14.1
2023-03-13 19:45:23 -04:00
Katrina Verey
0c650423ed
Update kyaml to v0.14.1
2023-03-13 19:24:20 -04:00
Katrina Verey
4ffc861854
Merge pull request #5087 from KnVerey/prerelease_update
...
Changes from local test run
2023-03-13 19:11:00 -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
Kubernetes Prow Robot
bf6e6ad33b
Merge pull request #5085 from koba1t/chore/update_golangci_to_1.51.2
...
update golangci-lint to v1.51.2
2023-03-10 14:28:39 -08:00
koba1t
e1094da3cf
skip unrelevant lint
2023-03-11 05:11:47 +09:00
koba1t
7d150ce973
Revert "use enable-all on golangci-lint"
...
This reverts commit 39264a7057 .
2023-03-11 05:08:25 +09:00
koba1t
39264a7057
use enable-all on golangci-lint
2023-03-09 05:25:19 +09:00
koba1t
736e166168
update golangci-lint to 1.51.2
2023-03-09 05:08:25 +09:00
Kubernetes Prow Robot
e8b521e3ab
Merge pull request #5053 from kubernetes-sigs/dependabot/go_modules/functions/examples/application-cr/image/golang.org/x/net-0.7.0
...
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /functions/examples/application-cr/image
2023-02-28 11:33:16 -08:00
dependabot[bot]
a4954d386a
Bump golang.org/x/net in /functions/examples/application-cr/image
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 18:17:11 +00:00
Kubernetes Prow Robot
976193ce70
Merge pull request #5054 from kubernetes-sigs/dependabot/go_modules/cmd/depprobcheck/golang.org/x/net-0.7.0
...
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /cmd/depprobcheck
2023-02-27 10:08:39 -08:00
dependabot[bot]
ee0b26601b
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /cmd/depprobcheck
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 16:35:34 +00:00
Kubernetes Prow Robot
78e310231e
Merge pull request #5065 from kubernetes-sigs/dependabot/go_modules/cmd/depprobcheck/golang.org/x/crypto-0.1.0
...
Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 in /cmd/depprobcheck
2023-02-27 08:34:38 -08:00
Kubernetes Prow Robot
ffa554b371
Merge pull request #5064 from kubernetes-sigs/dependabot/go_modules/functions/examples/application-cr/image/golang.org/x/crypto-0.1.0
...
Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 in /functions/examples/application-cr/image
2023-02-27 08:26:39 -08:00
dependabot[bot]
68a0fc95da
Bump golang.org/x/crypto in /cmd/depprobcheck
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-25 03:30:10 +00:00
dependabot[bot]
9b43e76947
Bump golang.org/x/crypto in /functions/examples/application-cr/image
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-25 00:50:47 +00:00
Kubernetes Prow Robot
adf760e246
Merge pull request #5058 from ephesused/optimize-gvk-version
...
perf: optimize Gvk.ApiVersion()
2023-02-21 11:57:56 -08:00
Kubernetes Prow Robot
7a89df8350
Merge pull request #5048 from cailynse/issue-5039
...
Remove Log Assignment to Stdout
2023-02-21 11:23:56 -08:00
Ed Overton
93d7511b38
perf: optimize Gvk.ApiVersion()
...
Convert Gvk.ApiVersion() from using strings.Builder to raw string
concatenation. The logic in Gvk.ApiVersion() is simple enough that
raw concatenation executes quicker and consumes less memory.
2023-02-21 11:02:57 -05:00
Cailyn Edwards
7c33fe30b7
Remove Log Assignment to Stdout
2023-02-21 10:53:22 -05:00
Kubernetes Prow Robot
22dbd3eb17
Merge pull request #5038 from KnVerey/unpin-modules
...
Update all modules to latest releases, but unpinned
2023-02-08 11:08:44 -08:00
Katrina Verey
51e2714408
Back to development mode; unpin the modules
2023-02-07 19:56:39 -05:00
Katrina Verey
d825beff27
Update all modules to latest releases
2023-02-07 19:56:11 -05:00
Katrina Verey
aa4eb59bb0
Fix constant reference in instructions
2023-02-07 19:54:58 -05:00
Katrina Verey
00d450cce7
Revert plugin exclusion to name sanity check
2023-02-07 19:47:21 -05:00
Kubernetes Prow Robot
a090ceac6c
Merge pull request #5026 from KnVerey/update_releasing_instr
...
Update releasing workflow
2023-02-07 13:14:58 -08:00
Katrina Verey
63c37b1780
Update releasing/README.md
...
Co-authored-by: Cailyn <cailyn.s.e@gmail.com >
2023-02-06 16:49:19 -05:00
Kubernetes Prow Robot
0fd385d719
Merge pull request #4946 from researchapps/add/github-token-install
...
add GitHub token to install_kustomize.sh
2023-02-02 13:58:42 -08:00
Katrina Verey
57d8583887
Fix lint errors
2023-02-02 14:25:20 -05:00
Katrina Verey
9c116e9031
Bespoke mod edits no longer needed if gorepomod pins all modules
2023-02-02 14:23:23 -05:00
Katrina Verey
e6c16a6ddc
Restore previous test-go-mod and commit changes
2023-02-02 14:20:13 -05:00
Katrina Verey
03669a1804
Improve error message and fix typo in iampolicygenerator module name
2023-02-02 14:15:40 -05:00
vsoch
3c44db8746
add GitHub token to install_kustomize.sh
...
Signed-off-by: vsoch <vsoch@users.noreply.github.com >
2023-02-02 12:08:20 -07:00
Katrina Verey
9a1a203b52
Update example targets
2023-02-02 12:28:37 -05:00
Katrina Verey
8b51c295a1
Allow gorepomod to update plugin mod files
2023-02-02 11:33:46 -05:00
Kubernetes Prow Robot
738ca56ccd
Merge pull request #5027 from KnVerey/remove-replaces
...
Remove leftover replace statements
2023-02-02 08:32:41 -08:00
Katrina Verey
f901b4a5fd
Remove leftover replace statements
2023-02-02 11:23:00 -05:00
Katrina Verey
4fff8399ea
Update releasing instructions
2023-02-02 11:22:00 -05:00
Katrina Verey
e532d6f1a1
Merge pull request #5025 from KnVerey/pinToApi
...
Update api to v0.13.1
2023-02-02 10:58:41 -05:00
Katrina Verey
db2a3800ed
Update api to v0.13.1
2023-02-02 10:45:39 -05:00
Kubernetes Prow Robot
183928e6ba
Merge pull request #5023 from KnVerey/issue4998
...
Fix regression with scp-style urls with only one path element
2023-02-01 23:41:29 -08:00
Katrina Verey
c0e2030905
Fix regression with scp-style urls with only one path element
2023-02-01 22:19:40 -05:00
Kubernetes Prow Robot
87c428e7cd
Merge pull request #5021 from KnVerey/module_version_v5
...
Bump kustomize module to v5
2023-02-01 17:03:29 -08:00
Katrina Verey
f5ad795995
Bump kustomize module to v5
2023-02-01 19:01:08 -05:00
Kubernetes Prow Robot
f851cc7181
Merge pull request #5020 from KnVerey/pinToCmdConfig
...
Pin to cmd config
2023-02-01 14:39:36 -08:00
Katrina Verey
7e3ad53890
Allow cloud build to authenticate to gh when generating changelog
2023-02-01 17:25:57 -05:00
Katrina Verey
5cdc080406
Update cmd/config to v0.11.0
2023-02-01 17:22:46 -05:00
Katrina Verey
10fb04cdf2
Merge pull request #5019 from KnVerey/pinToKyaml
...
Update kyaml to v0.14.0
2023-02-01 17:09:20 -05:00
Katrina Verey
ea8fc77f2f
Update kyaml in the secondary modules
2023-02-01 16:55:56 -05:00
Katrina Verey
e9507c940d
Update kyaml to v0.14.0
2023-02-01 16:44:34 -05:00
Katrina Verey
bea105d793
Merge pull request #5017 from KnVerey/fix-changelog-unauthed
...
Don't have empty string when no auth info
2023-02-01 16:30:39 -05:00
Katrina Verey
e4d7eaa479
Don't have empty string when no auth info
2023-02-01 16:28:20 -05:00
Kubernetes Prow Robot
85949329b8
Merge pull request #5015 from KnVerey/changelog-auth
...
Allow authenticated Github use in changelog script and improve error messages
2023-02-01 12:59:36 -08:00
Katrina Verey
0c34cf4192
Allow authenticated Github use in changelog script and improve error messages
2023-02-01 15:39:38 -05:00
Cailyn
95edcc0681
Update Versioning to Improve Output ( #5000 )
...
* Update Versioning to Improve Output
* Always get commit from build info, always get date and version from ldflag
* Just replace broken main output with semver and deprecate short flag as is
---------
Co-authored-by: Katrina Verey <katrina.verey@shopify.com >
2023-02-01 11:25:37 -08:00
Anna Song
9d8ed39d3d
Localize helm additionValuesFiles ( #5013 )
2023-02-01 10:39:20 -08:00
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
Anna Song
236166097e
Add localize command handle ( #4959 )
...
* Add localize command handle
* Align to kustomize command conventions
* Print success msg
2023-02-01 08:11:07 -08:00
Kubernetes Prow Robot
3370177b9d
Merge pull request #5012 from natasha41575/reponotfileerr
...
make TestResourcesRepoNotFile even less specific
2023-01-31 11:16:50 -08:00
natasha41575
c8b112c79f
make TestResourcesRepoNotFile even less specific
2023-01-31 12:58:55 -06:00
Katrina Verey
d91e31cf18
Run test-go-mod unpinned ( #5011 )
...
* Remove go module ci job
* Add script that runs go mod tidy with replace statements
* Invoke one script from the makefile and pass in the command to run in the pinned context
---------
Co-authored-by: Anna Song <annasong@google.com >
2023-01-31 09:56:48 -08:00
Kubernetes Prow Robot
00b0bd8473
Merge pull request #5010 from annasong20/expose-localize-dst
...
Expose path to `localize` destination
2023-01-30 18:36:48 -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
Kubernetes Prow Robot
7db330d2cc
Merge pull request #5009 from kubernetes-sigs/no-partial-releases
...
Warn against partial releases
2023-01-30 13:04:49 -08:00
Katrina Verey
e9f47abcc1
Warn against partial releases
2023-01-30 15:48:58 -05:00
Kubernetes Prow Robot
58defe31e7
Merge pull request #4967 from pmalek/add-lock-for-kubernetesOpenAPIVersion
...
fix: add lock for kubernetesOpenAPIVersion
2023-01-27 17:54:32 -08:00
Kubernetes Prow Robot
ee4fb17170
Merge pull request #4989 from annasong20/localize-generators-configmap-secret
...
Localize ConfigMapGenerator, SecretGenerator
2023-01-27 14:22:39 -08:00
Anna Song
142360b0ed
Localize ConfigMapGenerator, SecretGenerator
2023-01-27 14:06:40 -08:00
Patryk Małek
f7c3fce6a5
fix(kyaml): add lock for schema related globals
2023-01-27 09:40:47 +01:00
Kubernetes Prow Robot
af3e8ee353
Merge pull request #5004 from cailynse/fix-runner-test
...
Make TestResourcesRepoNotFile Less Specific
2023-01-26 13:56:25 -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
Kubernetes Prow Robot
279ad3e815
Merge pull request #4995 from KnVerey/follow-up-fixes
...
Follow up fixes
2023-01-24 15:48:10 -08:00
Kubernetes Prow Robot
96351a9278
Merge pull request #4990 from brianpursley/improve-panic-error
...
Improve panic error message to include the parse error.
2023-01-24 15:33:56 -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
Kubernetes Prow Robot
659c0ee156
Merge pull request #4994 from annasong20/remove-git-suffix
...
Fix `RepoSpec` CI failures on master
2023-01-23 13:32:17 -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
d858ed82fa
Merge pull request #4992 from RahulGautamSingh/patch-1
...
fix(docs): update link to plugin doc
2023-01-20 13:11:12 -05:00
RahulGautamSingh
f47f897440
fix(docs): update link to plugin doc
2023-01-20 13:36:20 +05:30
Brian Pursley
ace8132edc
Improve panic error message to include the parse error.
2023-01-18 21:37:13 -05: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
def01f0af8
Merge pull request #4947 from Azhovan/jabar/allow-path-starting-forward-slash
...
feat: Allow path starting with slash
2023-01-17 13:04:33 -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
Kubernetes Prow Robot
db7b057956
Merge pull request #4965 from olivierlemasle/puerkitobio-urlesc
...
Bump k8s.io/kube-openapi to remove archived dependency
2023-01-13 16:10:13 -08: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
Kubernetes Prow Robot
2b7eb6d92a
Merge pull request #4980 from KnVerey/outdated_sums
...
Uncommitted updates from running go mod tidy and go work sync
2023-01-13 10:02:26 -08:00
Katrina Verey
2b38c12c83
Add uncommitted plugin change and missing makefile dep
2023-01-13 12:53:35 -05:00
Katrina Verey
18a60ef036
Uncommitted updated from running go mod tidy and go work sync
2023-01-13 12:53:11 -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
Katrina Verey
cb6553430d
Run go mod tidy on all modules before update
2023-01-06 16:21:44 -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
Cailyn
6c79645fb0
Update api/kv/kv.go
...
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2023-01-05 14:39:02 -05:00
Cailyn Edwards
b7746d09e4
Remove Functionality that Pulls Env Variables from Empty Keys
2023-01-05 12:54:48 -05: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
Kubernetes Prow Robot
6949c83840
Merge pull request #4933 from annasong20/localize-legacy
...
Localize legacy fields
2023-01-04 09:06:03 -08:00
Jabar Asadi
368697f8ef
feat: Allow paths starting with slash
2022-12-26 17:18:08 +01: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
Ed Overton
a0e94c1642
fix: correct visitMappingNodeFields
...
This commit adjusts visitMappingNodeFields so that it no longer assumes
the mapping node has unique keys.
2022-12-22 11:51:15 -05:00
Ed Overton
20b0d3c7ce
perf: optimize RNode GetAnnotations and GetLabels
...
This commit optimizes in three ways:
1. For heavily used functions, allocate memory to avoid overhead
associated with map and array re-sizing.
2. Where appropriate, limit annotation and label retrievals to only the
desired keys.
3. Adjust annotation and label retrieval to avoid unnecessary temporary
object creation.
2022-12-20 17:24:35 -05:00
Ed Overton
194a017c81
refactor: single function to visit mapping node content
...
Refactor mapping node content traversal so that all code paths execute
through the same root function.
2022-12-20 17:21:05 -05:00
Anna Song
a1bfab382a
Localize PatchTransformer, PatchJson6902Transformer ( #4920 )
...
* Localize patches, patchesJson6902 custom transformers
* Improve readability
2022-12-16 09:52:17 -08:00
Natasha Sarkar
ef60d5f9bb
remove deprecated cfg and fn commands ( #4930 )
...
* remove deprecated cfg and fn commands
* fix lint error
* run gofmt
2022-12-14 12:15:35 -08:00
yugo kobayashi
5fed0f76c8
refactor Unmarshal Kustomization struct code
2022-12-13 21:04:50 +00:00
Kubernetes Prow Robot
e3981daf0e
Merge pull request #4923 from koba1t/chore/remove_FixKustomizationPreUnmarshalling
...
Remove fix kustomization step before Unmarshalling the yaml structure
2022-12-13 12:11:35 -08: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
Eli Shafer
2d854c46dd
resource/api: update test to use a more specific kustomization
2022-12-11 22:58:41 -08:00
Kubernetes Prow Robot
55edae1648
Merge pull request #4906 from larsks/docs/namespace-transformer
...
docs: Add documentation for namespace transformer
2022-12-09 13:27:35 -08:00
Lars Kellogg-Stedman
d5e1940fc2
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 >
2022-12-09 14:05:16 -05:00
Kubernetes Prow Robot
6cf7014b2c
Merge pull request #4919 from ChristopherFry/cfry/name-suffix-transformer
...
Allow overriding of name suffix transformer default configuration
2022-12-08 13:20:23 -08:00
Christopher Fry
8a6602db94
Allow name suffix transformer configuration to be overridden
2022-12-08 20:10:05 +00:00
Eli Shafer
24bf1d07e7
api/resource: add new test for inline options.
2022-12-07 22:18:37 -08:00
Eli Shafer
487703ee8f
api/resource: retain disableNameSuffixHash on merge.
2022-12-07 22:18:37 -08:00
Natasha Sarkar
2db573b6a0
drop support for legacy patches ( #4911 )
...
* drop support for legacy patches
* fix CI
2022-12-07 18:06:24 -08:00
Kubernetes Prow Robot
8a869f6045
Merge pull request #4882 from ChristopherFry/cfry/user-config-priority
...
Add test ensuring user configuration overrides default configuration
2022-12-06 22:46:38 -08:00
Kubernetes Prow Robot
c16957fc8f
Merge pull request #4908 from khrisrichardson/plugin/builtin/helmchartinflationgenerator/split
...
HelmChartInflationGenerator: split on yaml document end markers
2022-12-06 15:38:37 -08:00
Khris Richardson
03c1534c38
HelmChartInflationGenerator: split on yaml document end markers
2022-12-06 14:35:43 -08:00
Katrina Verey
903fbb6ed2
Wildcard support for creation in ReplacementTransformer ( #4886 )
...
* Ahead-of-time wildcard path expansion solution
* Wrapped PathGetter solution
This approach doesn't work when multiple existing sequence elements
should match, i.e. because the sequence contains maps and we're
searching on a key they all contain (target all containers with a certain
image would be one use case for this). PathGetter just takes the first
match in that case, which is not what we want.
* Add creation support to PathMatcher
* Regression test for existing bug when creation is enabled and sequence query should match multiple elements
* PathMatcher Create tests and support for sequence appending
* revert hyphen append support
PathGetter treats it as meaning 'last' not 'append' and does not have test coverage for its handling of this when create is set. Semantics are dubious given that multiple Replacement fieldPaths may be specified, which would cause successive appends.
* This also provides a solution to issue 1493
* Review feedback
2022-12-06 12:40:37 -08:00
Katrina Verey
2ed910abb0
Replacements should throw errors on invalid targets ( #4789 )
...
* Replacements should throw errors on invalid targets
* Refactor to satisfy complexity linter
* Move new tests to filter suite
2022-12-05 18:54:36 -08:00
Christopher Fry
570865baae
Address peer review
2022-12-05 23:06:50 +00: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
Yannis Zarkadas
a502717460
Make ordering configurable ( #4019 )
...
* api: Add new types for customizeable resource ordering
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com >
* plugins: Implement SortOrderTransformer plugin
Implement the SortOrderTransformer plugin. This plugin allows the user
to customize the order that kustomize will output resources in.
The API for the plugin is the following:
sortOptions:
order: legacy | fifo
legacySortOptions:
orderFirst:
- {GVK}
orderLast:
- {GVK}
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com >
* plugins: Add boilerplate and generate code for new SortOrderTransformer
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com >
* build: Add option to denote if the reorder flag was set by the user
We want to take different actions if the reorder flag was set by the
user or filled by the default value. Thus, we propagate this information
from build to the krusty options.
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
* api/krusty: Ensure sort ordering works with CLI flag and kustomization
Sort order can be defined in two places:
- (new) kustomization file
- (old) CLI flag
We want the kustomization file to take precedence over the CLI flag.
Eventually, we may want to move away from having a CLI flag altogether:
https://github.com/kubernetes-sigs/kustomize/issues/3947
Case 1: Sort order set in kustomization file AND in CLI flag.
Print a warning and let the kustomization file take precedence.
Case 2: Sort order set in CLI flag only or not at all.
Follow the CLI flag (defaults to legacy) and reorder at the end.
Case 3: Sort order set in kustomization file only.
Simply build the kustomization.
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
* krusty: Add e2e test for SortOrderTransformer
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com >
* plugins: Purge LegacyOrderTransformer
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
* Update go.work.sum
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
* review: Make review changes
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com >
Signed-off-by: Yannis Zarkadas <yanniszark@gmail.com >
2022-12-02 13:59:53 -08:00
Kishore Jagannath
1e2e7bbc0b
Refactor 7 return values in parseGitUrl to RepoSpec(issue 4866, Task1) ( #4900 )
...
* initial commit to refactor 7 return values in parseGitUrl to RepoSpec
* fix review comments
2022-12-02 10:01:53 -08:00
Anna Song
e34d5b5608
Localize components ( #4867 )
2022-12-02 09:33:53 -08:00
Kubernetes Prow Robot
0f4f978956
Merge pull request #4895 from KnVerey/remove-local-last
...
Remove local-only resources at the last minute
2022-12-01 13:20:00 -08:00
Kubernetes Prow Robot
663b777910
Merge pull request #4892 from KnVerey/issue_forms
...
Use Github forms for issue templates
2022-12-01 13:19:53 -08:00
Kubernetes Prow Robot
3c8db55f53
Merge pull request #4901 from annasong20/clean-localizer
...
Clean `localizer`
2022-12-01 11:21:54 -08:00
Anna Song
b8611cf0a9
Refactor localizer code
...
* encapsulate kusttarget params
* change dst to string
* ConfirmDir
2022-12-01 09:53:46 -08:00
Kubernetes Prow Robot
588da7e392
Merge pull request #4852 from pacoxu/psp-cleanup
...
remove PSP as v1.25 remove it
2022-11-30 08:44:55 -08:00
Kubernetes Prow Robot
baf777c56e
Merge pull request #4893 from KnVerey/pluginator-linter-bug
...
Fix pluginator incompatibility with nolint lines
2022-11-30 08:32:55 -08:00
Katrina Verey
a612cd2b7e
Fix pluginator incompatibility with nolint lines
2022-11-30 11:22:10 -05:00
Paco Xu
37ad9b1d4e
remove PSP as v1.25 remove it
2022-11-30 10:16:39 +08:00
Katrina Verey
fb0f567b63
Remove local-only resources at the last minute
...
This allows name references to them to be correctly resolved
2022-11-29 19:05:16 -05:00
Kubernetes Prow Robot
f53d018302
Merge pull request #4885 from annasong20/contain-ldr-path
...
Contain `RepoSpec` path in repo
2022-11-29 14:35:08 -08:00
Kubernetes Prow Robot
d9d9785791
Merge pull request #4890 from brianpursley/kustomize-4628
...
merge2: preserve explicitly set null values
2022-11-29 12:35:08 -08:00
Katrina Verey
76fab6e7ba
Use Github forms for issue templates
2022-11-28 18:17:55 -05: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
Brian Pursley
1b7db20504
merge2: preserve explicitly set null values
...
Fixed bug where an explicitly set null value in yaml was
cleared, even when the patch did not operate on that field.
2022-11-26 16:33:14 -05:00
Claus F. Strasburger
adce67301b
install_kustomize: support linux/aarch64, with fallback to old behavior ( #4619 )
...
* install_kustomize: support linux/aarch64, with fallback to old behavior
* shellcheck
* Comments from first review
* Comments from review
* Review comments: message consistency
2022-11-24 10:20:04 -08:00
Kubernetes Prow Robot
a6eb8e8ce8
Merge pull request #4887 from KnVerey/statik_removal
...
Get rid of statik and fix failing tests
2022-11-23 19:00:04 -08:00
Katrina Verey
7f9f6140ff
Get rid of statik and fix failing tests
2022-11-23 20:34:38 -05:00
Anna Song
07063a2652
Prevent repoSpec path from exiting repo
2022-11-23 14:29:22 -08:00
Kubernetes Prow Robot
e5ab220821
Merge pull request #4868 from emirot/chore_upgrade_helm
...
chore: upgrade helm version
2022-11-21 18:26:13 -08:00
Christopher Fry
0c4f863bc5
Add test ensuring user configuration overrides default configuration
2022-11-21 23:39:45 +00:00
Kubernetes Prow Robot
78978723db
Merge pull request #4840 from oscr/update-golangci-lint
...
Update golangci-lint version (1.49.0 -> 1.50.1) and enable linters: dupword and testableexamples
2022-11-17 10:36:29 -08:00
Kubernetes Prow Robot
8ea5eb22f1
Merge pull request #4877 from KnVerey/go_1.19
...
Update to Go 1.19
2022-11-17 10:18:40 -08:00
Katrina Verey
91a2c2b1a4
Update to Go 1.19
2022-11-17 12:57:17 -05:00
Natasha Sarkar
62f0dab2ac
Merge pull request #4876 from KnVerey/new_token
...
Regenerate token and encrypt without newline (attempt 4)
2022-11-16 13:46:19 -06:00
Katrina Verey
d642b959cf
Regenerate token and encrypt without newline
2022-11-16 14:36:33 -05:00
Natasha Sarkar
d49f6e17ad
Merge pull request #4875 from KnVerey/new_token
...
Third try new token without newline
2022-11-16 13:25:32 -06:00
Katrina Verey
0de4e0ba11
Third try new token without newline
2022-11-16 14:24:20 -05:00
Natasha Sarkar
54569e4591
Merge pull request #4874 from KnVerey/token_again
...
New token, hopefully without trailing whitespace error
2022-11-16 13:12:49 -06:00
Katrina Verey
b2dc88447e
New token, hopefully without trailing whitespace error
2022-11-16 14:11:40 -05: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
Natasha Sarkar
c0840b6804
Merge pull request #4873 from KnVerey/new_token
...
Rotate token for cloud build
2022-11-16 10:58:14 -06:00
Katrina Verey
1eccbc4e30
Rotate token for cloud build
2022-11-16 11:54:33 -05: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
Kubernetes Prow Robot
b20e611413
Merge pull request #4723 from koba1t/emit_a_warning_when_deprecated_fields_are_used
...
Emit a warning on build when deprecated fields are used
2022-11-16 08:32:50 -08:00
Kubernetes Prow Robot
e638e408b0
Merge pull request #4802 from oscr/the-the
...
grammar: replace all occurrences of "the the" with "the"
2022-11-16 08:22:48 -08:00
emirot
473c0a5f19
chore: upgrade helm version
2022-11-14 17:14:07 -08:00
Anna Song
84bd402cc0
Fix RepoSpec query extraction ( #4863 )
...
* Clean query processing
* Improve readability
* Remove redundant code
* Add comment
* Return path literal when not parsable
* Handle url.Parse() error in future
2022-11-14 09:38:41 -08:00
Kubernetes Prow Robot
e724e25fec
Merge pull request #4855 from koba1t/chore/add_koba1t_to_reviews
...
add koba1t to reviews
2022-11-10 14:22:09 -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
6d9b54004e
Address TODO in PR #4652 ( #4856 )
...
* Address TODO in PR #4652
* Improve readability
2022-11-08 13:51:01 -08:00
yugo kobayashi
1f04fd2f23
add koba1t to reviews
2022-11-07 18:40:54 +00:00
Kubernetes Prow Robot
6ffd22a1f1
Merge pull request #4854 from koba1t/fix/failed_lint_on_master
...
fix: failed lint on master
2022-11-07 10:16:18 -08:00
yugo kobayashi
3e6ede9645
fix_failed_lint_on_master
2022-11-04 07:12:46 +00:00
Kubernetes Prow Robot
14f3cea24f
Merge pull request #4830 from summer-dev/update-swagto-v0.22.3
...
update kyaml's dependency swag to v0.22.3
2022-11-03 21:06:14 -07:00
sun min
f0f414d53a
e2econtainerconfig test failure
2022-11-04 10:34:37 +08:00
sun min
f9d553689e
update dependencies of libs using go workspace mode
2022-11-02 13:44:23 +08:00
summer-dev
69435e059a
Merge branch 'kubernetes-sigs:master' into update-swagto-v0.22.3
2022-11-02 09:46:51 +08:00
Oscar Utbult
e16b0f0dfc
Update golangci-lint version (1.49.0 -> 1.50.1) and enable linters dupword and testableexamples
2022-10-31 19:31:56 +01:00
Natasha Sarkar
997e6fcc63
fix TestRemoteLoad_LocalProtocol ( #4844 )
...
* remote load test fix
* fix spacing
2022-10-31 10:58:44 -07:00
Kubernetes Prow Robot
daf81df437
Merge pull request #4654 from aabouzaid/fix-krm-exec-function
...
fix: krm exec function working dir
2022-10-26 11:30:36 -07:00
Ahmed AbouZaid
3e447da6ef
proposal v2.1
2022-10-22 03:16:41 +02:00
Ahmed AbouZaid
ea21b37d67
proposal v2
2022-10-22 03:16:41 +02:00
Ahmed AbouZaid
d29febecb7
Fix krm exec function working dir
2022-10-22 03:16:41 +02:00
Ahmed AbouZaid
1b1e6ccab0
Test transformers krm exec function
2022-10-22 03:16:41 +02:00
Kubernetes Prow Robot
7ee6dd551d
Merge pull request #4733 from koba1t/feat/add_edit-fix_for_patchesStrategicMerge_to_patches
...
add `edit fix` for patchesStrategicMerge to patches
2022-10-21 14:57:57 -07:00
Kubernetes Prow Robot
ccb68aa881
Merge pull request #4820 from florianl/flo-preallocate
...
preallocate memory
2022-10-21 14:35:57 -07:00
sun min
1252e45576
update kyaml's go.mod and go.sum
2022-10-13 09:34:45 +08:00
summer-dev
19d163ca0f
update kyaml's dependency swag to v0.22.3
2022-10-12 21:30:12 +08:00
Kubernetes Prow Robot
bf7a0f9004
Merge pull request #4805 from aibarbetta/fix-4717
...
[address #4717 ] Re-do create template/metadata when using includeTemplates if not present
2022-10-11 09:23:02 -07:00
Kubernetes Prow Robot
3b1a711cee
Merge pull request #4826 from dvrkps/patch-1
...
update actions/checkout
2022-10-11 09:13:01 -07:00
Davor Kapsa
cd35e95560
update actions/checkout
2022-10-11 11:41:21 +02:00
Kubernetes Prow Robot
0a16b6cf40
Merge pull request #4808 from larsks/feature/no-hooks
...
Add support for helm --no-hooks flag
2022-10-10 11:51:22 -07:00
Agustina Barbetta
7b84613ad1
Use fewer labels to ease reading
2022-10-08 20:38:44 -03:00
Agustina Barbetta
d14dfb604c
Use WrapPrefixf
2022-10-08 20:37:24 -03:00
Agustina Barbetta
acba8fff62
Update api/krusty/inlinelabels_test.go
...
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2022-10-08 20:18:57 -03:00
Lars Kellogg-Stedman
38da7ca15c
Add support for helm --no-hooks flag
...
This commit adds the `skipHooks` option to the helm chart support in order
to expose the --no-hooks flag introduced to Helm in [1].
Using Kustomize to inflate a Helm chart would in some situations result in
different results than using `helm install`. This is because `helm
template`, by default, will render chart tests in the `templates/test`
directory, which can lead to undesired resources in the output.
See [2] for additional discussion.
[1]: https://github.com/helm/helm/pull/6444
[2]: https://github.com/helm/helm/issues/6443
Signed-off-by: Lars Kellogg-Stedman <lars@oddbit.com >
2022-10-07 17:14:06 -04:00
Kubernetes Prow Robot
9ef7ba9c95
Merge pull request #4663 from johnmanjiro13/handle-error-of-remove-annotation
...
fix: handle error of remove annotations
2022-10-07 08:19:53 -07:00
johnmanjiro13
4e7f4bce7b
feat: Wrap error
2022-10-07 18:14:59 +09:00
Kubernetes Prow Robot
f8f444d92a
Merge pull request #4819 from annasong20/add-reviewer
...
Add annasong20@ to reviewers list
2022-10-06 09:23:54 -07:00
Florian Lehner
c2312c4018
kyaml/yaml: preallocate memory
...
Signed-off-by: Florian Lehner <dev@der-flo.net >
2022-10-06 05:38:18 +02:00
Florian Lehner
0fbaa2d0e8
kyaml/sets: preallocate memory
...
Signed-off-by: Florian Lehner <dev@der-flo.net >
2022-10-06 05:37:41 +02:00
Anna Song
ae20497fd3
Add myself to reviewers list
2022-10-05 16:16:10 -07:00
Dani Santos
506dc4f9fe
migrate site content: contributing docs ( #4709 )
...
* migrate contributing docs
* modifies weight for ordering
* updates links and info based on feedback
* removes broken powershell link
* Update site/content/en/contribute/windows/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/contribute/windows/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/contribute/mac/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/contribute/howitworks/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/contribute/howitworks/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* simplify build explanation
* removes windows docs
* removes community - duplicate
* update the tooling instructions
* point to proposal docs
* Update site/content/en/contribute/howitworks/_index.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2022-09-29 10:20:39 -07:00
Kubernetes Prow Robot
482e8930fc
Merge pull request #4809 from ephesused/issue-4793
...
convert PrevIds to use apiVersion instead meta
2022-09-27 14:21:50 -07:00
Ed Overton
d37fabf876
convert PrevIds to use apiVersion instead meta
...
Since PrevIds uses only the apiVersion information from the metadata,
change the retrieval from the full meta to just the apiVersion.
2022-09-27 14:03:59 -04:00
Agustina Barbetta
eb1529b516
use %w to format errors
2022-09-25 09:19:31 -03:00
Agustina Barbetta
c750c0089d
use fmt instead of errors
2022-09-25 09:07:47 -03:00
Agustina Barbetta
2b9ef61f88
error wraps for linter
2022-09-23 18:30:00 -03:00
Agustina Barbetta
344b257c1f
add tests for other kinds
2022-09-23 15:54:25 -03:00
Agustina Barbetta
e2196d9bd1
separate template specific field specs and use in includeTemplates
2022-09-23 15:11:59 -03:00
Kubernetes Prow Robot
65aeefd281
Merge pull request #4806 from koba1t/chore/update_golangci-lint_v1.49.0
...
update golangci-lint version to v1.49.0
2022-09-23 10:00:26 -07:00
yugo kobayashi
6ce230f2b2
fix testcases on runfn_test.go
2022-09-23 07:26:19 +00:00
yugo kobayashi
401cf9579c
update golangci-lint v1.49.0
2022-09-22 13:24:40 +00:00
Agustina Barbetta
4dcc040ec1
create template/metadata in includeTemplates if not present
2022-09-20 13:33:07 -03:00
Agustina Barbetta
662ccf1915
add test for resources with no template
2022-09-20 13:29:38 -03:00
Yunchi Luo
e62480d11c
Rewrite remoteload_test integration tests ( #4783 )
...
* Better error message when git clone fails
* support file:// URLs
* rewrite remoteload_test
* lint and test fix
* fixes for kverey's comments
* document file:// remote load
* replace assert with require where appropriate
* add tests for file:// without git suffix
* fixes plus pr review from natasha
* fixes for review, lint
* revert changes to error handling
* fix skipped test
2022-09-19 09:13:18 -07:00
Oscar Utbult
88cf251ef7
grammar: replace all occurrences of "the the" with "the"
2022-09-17 22:28:56 +02:00
Kubernetes Prow Robot
d6e40a3f6c
Merge pull request #4798 from annasong20/patch-1
...
Fix flaky
2022-09-16 10:23:21 -07:00
Anna Song
eb51117adf
Fix flaky
...
Disable submodules and increase timeout to prevent `localize` test that uses testdata from flaking.
2022-09-15 18:05:25 -07:00
yugo kobayashi
0d68e0c7be
add newline for fix.go
2022-09-12 17:56:11 +00:00
yugo kobayashi
7c2e8845ad
fix test with t.Run()
2022-09-12 17:47:33 +00:00
Kubernetes Prow Robot
ce18530656
Merge pull request #4791 from caproven/fix-4790
...
Performance fix for fetching previous resource IDs
2022-09-12 09:51:25 -07:00
Christian Provenzano
ca71736140
Wrap error in exported func
2022-09-09 20:27:28 -04:00
Christian Provenzano
e7d5f665b8
Fix redundant rnode metadata parsing
2022-09-09 19:25:59 -04:00
Kubernetes Prow Robot
6c587c9542
Merge pull request #4770 from jihoon-seo/220824_Fix_broken_links
...
Fix broken links
2022-09-09 08:49:22 -07:00
Kubernetes Prow Robot
56a47bd901
Merge pull request #4758 from koba1t/feature/emit_a_warning_to_ignore_plugin
...
Emit a warning when using missing field in FunctionSpec
2022-09-09 08:35:23 -07:00
johnmanjiro13
a8c0be49ae
fix: handle error of remove annotations
2022-09-05 16:27:59 +09:00
yugo kobayashi
e49bf52928
fix tests
2022-09-03 00:29:10 +00:00
yugo kobayashi
a54226e0a9
fix error handling
2022-09-03 00:29:10 +00:00
yugo kobayashi
f086269d6e
be build fail when parse failed to FunctionSpec
2022-09-03 00:29:10 +00:00
yugo kobayashi
e2e9181bed
add a warning to missing field in FunctionSpec
2022-09-03 00:29:10 +00:00
yugo kobayashi
21ee7f7125
Emit a warning when deprecated fields are used
2022-09-01 23:02:50 +00:00
yugo kobayashi
cbb61fc668
fix yaml in test
2022-09-01 22:41:24 +00:00
Kubernetes Prow Robot
23de1499c2
Merge pull request #4719 from oscr/remove-dot-from-short
...
Remove dots from short descriptions
2022-08-30 09:54:55 -07:00
Kubernetes Prow Robot
cb2636335f
Merge pull request #4779 from annasong20/locloader
...
Reinstate #4652 without url-related code
2022-08-30 08:13:01 -07:00
Kubernetes Prow Robot
c266537b27
Merge pull request #4777 from mightyguava/repospec-unit-tests
...
expand and clean up repospec_test
2022-08-29 18:11:03 -07: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
yugo kobayashi
032bf3338e
update checker code in patchStrategicMerge
2022-08-28 17:20:21 +00:00
yugo kobayashi
b4d25b1b26
add testcases
2022-08-28 15:45:47 +00:00
Yunchi Luo
d917876949
expand and clean up repospec_test
2022-08-27 14:30:10 -04:00
Kubernetes Prow Robot
14b7282ed8
Merge pull request #4775 from kubernetes-sigs/revert-4652-localize-file
...
Revert "Load and calculate Destination of files for `kustomize localize`"
2022-08-26 11:48:16 -07: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
Kubernetes Prow Robot
b6fae2a959
Merge pull request #4759 from mightyguava/enable-ssh-tests
...
Enable SSH tests
2022-08-26 09:14:25 -07:00
Kubernetes Prow Robot
a8388f473b
Merge pull request #4773 from natasha41575/openapitests
...
run openapi tests with other krusty tests
2022-08-26 08:36:24 -07:00
natasha41575
08918ea352
run openapi tests with other krusty tests
2022-08-26 09:01:44 -05:00
Yunchi Luo
5dcbd35e40
Enable SSH tests
2022-08-25 16:57:21 -04:00
Kubernetes Prow Robot
2e2674fa24
Merge pull request #4727 from KnVerey/improve_fieldspec_errors
...
Improve invalid node kind errors
2022-08-25 12:44:07 -07:00
Jihoon Seo
170eca7c52
Fix broken links
2022-08-24 17:25:29 +09: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
Natasha Sarkar
a8010ac469
Merge pull request #4764 from KnVerey/update_go_yaml
...
Update internal go-yaml fork to v3.0.1
2022-08-17 16:45:50 -05:00
Katrina Verey
f66936f6bf
Internalize forked code
2022-08-17 16:09:05 -04:00
Natasha Sarkar
eb54c97947
fix leading newline issue
2022-08-17 16:09:05 -04:00
Natasha Sarkar
b84885d5c4
tests for compactSeqIndent
2022-08-17 16:09:04 -04:00
Natasha Sarkar
298d977ee7
add defaultSeqIndent method
2022-08-17 16:09:04 -04:00
Natasha Sarkar
d5a2009d3f
compact sequence indentation option
2022-08-17 16:09:04 -04:00
Katrina Verey
d0ae8fba13
Internal copy of go-yaml at f6f7691b1fdeb513f56608cd2c32c51f8194bf51
2022-08-17 16:09:03 -04:00
Katrina Verey
f8d1e778c7
Commit go.sum updates
2022-08-16 18:26:04 -04:00
Katrina Verey
1948af8190
Wrap an error and remove a nolint
2022-08-16 18:24:20 -04:00
Katrina Verey
79a9154cf8
Improve error message when namespace transformer is given invalid fieldspecs
...
Also remove invalid+ignored fieldspecs from the defaults
2022-08-16 18:18:44 -04:00
Robert Facciol
26fcafdb57
Getting started guide part 2 ( #4748 )
...
* rename overlays
* add further examples in first kustomization
* fix typo
* fix formatting
* fix typo
* fix formatting
* fix typos
* restore overlay names to production and staging in original content
* restore overlay names to production and staging in original content
* restore overlay names to production and staging in new content
* updated doc to use "you/your" vs "we/our", and updated to use US spelling
* fix capitalization
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* add "patch:" for patches in kustomization, and add url link
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* fix typo
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2022-08-16 11:11:08 -07:00
Kubernetes Prow Robot
2ec4b971e9
Merge pull request #4754 from KnVerey/ioutil
...
Stop using deprecated ioutil functions
2022-08-16 09:15:08 -07:00
Kubernetes Prow Robot
1d44793d79
Merge pull request #4648 from sklirg/fix/example-readme-install-url
...
docs(examples): Fix URL to installation instructions in examples
2022-08-12 15:42:30 -07:00
Katrina Verey
55a37de686
Fix other linters on modified lines
2022-08-10 19:34:25 -04:00
Katrina Verey
f6b72077c8
Stop using deprecated ioutil functions
2022-08-10 18:22:46 -04:00
Katrina Verey
416eed97c4
Merge pull request #4753 from kubernetes-sigs/revert-4751-fix-4717
...
Revert "[address #4717 ] create template/metadata when using includeTemplates if not present"
2022-08-10 14:35:28 -04:00
Katrina Verey
5762794793
Revert "[address #4717 ] create template/metadata when using includeTemplates if not present"
2022-08-10 14:06:33 -04:00
Kubernetes Prow Robot
91e002a560
Merge pull request #4751 from aibarbetta/fix-4717
...
[address #4717 ] create template/metadata when using includeTemplates if not present
2022-08-10 11:00:26 -07:00
Agustina Barbetta
15545cc228
create template/metadata in includeTemplates if not present
2022-08-07 20:48:51 -03:00
yugo kobayashi
3f0c21304c
refactor edit fix test cases
2022-08-06 20:34:16 +00:00
yugo kobayashi
bb7ebe029c
support file path patch to patchesStrategicMerge
2022-08-06 20:28:48 +00:00
yugo kobayashi
64f42ea45f
add edit-fix for patchesStrategicMerge to patches
2022-08-06 20:28:48 +00:00
Natasha Sarkar
1b0fe2a078
update openapi scripts to fetch protobuffer schemas ( #4582 )
...
* update openapi scripts to fetch protobuffer schema
* code review
* code review
* restore makeOpenApiInfoDotGo.sh
* code review
2022-08-05 15:00:32 -07:00
Natasha Sarkar
56d82a8378
Merge pull request #4745 from natasha41575/pinToApi
...
pin to api v0.12.1
2022-08-02 11:28:01 -05:00
natasha41575
39dbdddb86
pin api to v0.12.1
2022-08-02 11:18:51 -05:00
Natasha Sarkar
27a1de1a19
Merge pull request #4744 from natasha41575/pinToCmdConfig
...
pin to cmd/config 0.10.9
2022-08-02 10:52:46 -05:00
natasha41575
7229f5fbed
pin to cmd/config 0.10.9
2022-08-02 10:46:18 -05:00
Natasha Sarkar
ba9d5ee16f
Merge pull request #4743 from natasha41575/PinToKyaml
...
Pin to kyaml v0.13.9
2022-08-02 10:37:42 -05:00
natasha41575
001b0c5fe5
pin to kyaml v0.13.9
2022-08-02 10:20:35 -05:00
Natasha Sarkar
bbeff6ddd6
prevent testing lib from being compiled in ( #4742 )
...
* remove testing dep from fsondisk
* code review
2022-08-01 14:26:29 -07:00
Kubernetes Prow Robot
e57b5d283f
Merge pull request #4739 from natasha41575/updateReleaseNum
...
update latest release number to 4.5.6
2022-07-29 14:21:12 -07:00
natasha41575
dbd719bd3f
update latest release number to 4.5.6
2022-07-29 16:05:15 -05:00
Natasha Sarkar
29ca6935bd
Merge pull request #4738 from natasha41575/pinToApi
...
pin to api v0.12.0
2022-07-29 15:32:26 -05:00
natasha41575
f5c70b3929
pin to api v0.12.0
2022-07-29 15:23:05 -05:00
Natasha Sarkar
b816903c93
Merge pull request #4737 from natasha41575/pinCmdConfig
...
pin cmd/config 0.10.8
2022-07-29 15:13:29 -05:00
natasha41575
d32fe662af
pin cmd/config 0.10.8
2022-07-29 15:06:34 -05:00
Natasha Sarkar
4b5fbf2b80
Merge pull request #4736 from natasha41575/pinToKyaml
...
pin to kyaml v0.13.8
2022-07-29 14:51:55 -05:00
Kubernetes Prow Robot
283f8ae0a5
Merge pull request #4735 from natasha41575/statik
...
update statik
2022-07-29 12:47:12 -07:00
natasha41575
f6a1e4af3b
pin to kyaml v0.13.8
2022-07-29 14:44:06 -05:00
Katrina Verey
e7fe132df8
Update netlify config ( #4732 )
...
* Update netlify config
* Update site/netlify.toml
2022-07-29 12:33:13 -07:00
natasha41575
631f623d9c
update statik
2022-07-29 14:30:18 -05:00
Kubernetes Prow Robot
19c467a924
Merge pull request #4734 from natasha41575/goSum
...
update go.sum files
2022-07-29 11:51:13 -07:00
natasha41575
afa2b52807
merge go.sum files
2022-07-29 13:42:32 -05:00
Kubernetes Prow Robot
30843e2dac
Merge pull request #4730 from KnVerey/env_bug_warning
...
Emit a warning when env loading bug is being relied on
2022-07-28 15:33:12 -07:00
Katrina Verey
2a3b645758
Emit a warning when env loading bug is being relied on
2022-07-28 18:04:48 -04:00
Kubernetes Prow Robot
b89cb92c2d
Merge pull request #4729 from natasha41575/colonInFSName
...
allow colon in filenames
2022-07-28 13:13:11 -07:00
natasha41575
9a6aad3ae4
allow colon in filenames
2022-07-28 14:52:28 -05:00
Kubernetes Prow Robot
c4b4a41913
Merge pull request #4704 from KnVerey/ns_transformer_options
...
Option to customize NamespaceTransformer role binding subject handling
2022-07-28 08:27:11 -07:00
Katrina Verey
0c37ee89af
Option to customize NamespaceTransfomer role binding subject handling
2022-07-27 23:12:55 -04:00
Kubernetes Prow Robot
6917214251
Merge pull request #4726 from AlexVulaj/update-install-kustomize-error-message
...
Update error message for m1 mac users trying to fetch older versions
2022-07-27 12:03:53 -07:00
Alex Vulaj
a3a3140e4c
Update hack/install_kustomize.sh
...
update error message to be more descriptive
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
2022-07-27 14:30:07 -04:00
Alex Vulaj
d244c8a8bb
Update error message for m1 mac users trying to fetch older versions
2022-07-27 13:54:04 -04:00
Oscar Utbult
d96e47cc38
Remove dots from short descriptions
2022-07-22 17:33:24 +02:00
Natasha Sarkar
2f2ba40876
replacements: fix issue with create: true option when there is an existing field ( #4667 )
...
* replacements: demonstrate broken behavior when using 'create: true' with an already existing field
* replacements: fix issue with 'create: true' option when there is an existing field
* Suggestion for PR 4667
* code review
* lint error
Co-authored-by: Katrina Verey <katrina.verey@shopify.com >
2022-07-15 14:31:49 -07:00
Kubernetes Prow Robot
ab09d27ec7
Merge pull request #4711 from koba1t/fix/docker_build_post-kustomize-push-images_with_dockerignore
...
[fix] failed docker build on post-kustomize-push-images CI
2022-07-14 14:00:40 -07:00
yugo kobayashi
5e95c6ab06
delete ./functionsfor .dockerignore
2022-07-14 20:35:25 +00:00
Katrina Verey
0c6e827ab8
Option to customize NamespaceTransformer overwrite behaviour ( #4708 )
...
* Option to customize NamespaceTransformer overwrite behaviour
* Code review feedback
2022-07-14 12:00:58 -07:00
Kubernetes Prow Robot
17cbd96667
Merge pull request #4705 from natasha41575/gowork
...
update release tools for go workspace mode
2022-07-11 17:56:51 -07:00
Kubernetes Prow Robot
0fce7d53a9
Merge pull request #4703 from KnVerey/name-ref-annotations
...
Fix NameReference transformer handling of self-references in annotations
2022-07-11 17:22:50 -07:00
Katrina Verey
68780b4c0c
Fix flakey test
2022-07-11 20:03:13 -04:00
Katrina Verey
04e1663b70
appendCsVAnnotation must mutate the annotations RNode in place
...
Otherwise, it is incompatible with filters like fieldSpec.Filter that recurse through a tree of RNodes. In the case of the bug this commit fixes, the leaf RNode is a metadata.annotation value field, and appendCsvAnnotation is called immediately before updating that leaf's value. If appendCsvAnnotation replaces the entire metadata.annotation RNode on the resource, the leaf RNode that gets updated is no longer attached to the resource.
Alternatively, `func (f Filter) setScalar` could be updated to change
the value of the leaf RNode BEFORE calling appendCsvAnnotation. However,
the modification of the entire metadata segment of the RNode in a
function that nominally just edits an annotation feels like a
side-effect prone to creating other difficult-to-debug situations,
beyond this ordering dependency.
2022-07-11 19:58:49 -04:00
natasha41575
ba77fd5b7f
update release tools for go workspace mode
2022-07-11 10:34:08 -07:00
Katrina Verey
77814ac12b
NameReferenceTransformer misses self references in annotations
2022-07-08 22:07:15 -04:00
Kubernetes Prow Robot
e1b6aa393a
Merge pull request #4692 from koba1t/chore/add_support_for_go_workspace_mode
...
[proposal] add support for go workspace mode
2022-07-08 10:29:47 -07:00
yugo kobayashi
3229c810cc
restore require sigs.k8s.io/kustomize/* in go.mod
2022-07-08 16:58:01 +00:00
Kubernetes Prow Robot
344d0eec83
Merge pull request #4700 from KnVerey/ns_transformer_err_on_ambiguous_ns
...
Correctly detect ambiguity between potential referrers when targeting a name+namespace reference
2022-07-07 15:48:37 -07:00
Katrina Verey
387c95be1f
Correctly detect ambiguity between potential referrers when targeting a name+namespace reference
2022-07-07 18:33:48 -04:00
yugo kobayashi
c02d0e502a
go work sync
2022-07-07 21:00:43 +00:00
yugo kobayashi
5806c6f4f7
Merge remote-tracking branch 'origin' into chore/add_support_for_go_workspace_mode
2022-07-07 20:54:10 +00:00
yugo kobayashi
396b693e1c
fix from lint error
2022-07-07 20:35:27 +00:00
Kubernetes Prow Robot
f95ea9e6a0
Merge pull request #4699 from koba1t/chore/update_go_1.18
...
Update to go 1.18
2022-07-07 13:32:38 -07:00
yugo kobayashi
8c4d35470a
restore cloudbuild.yaml
2022-07-07 20:25:52 +00:00
yugo kobayashi
6fb96b7d53
update go 1.18
2022-07-07 20:11:29 +00:00
Kubernetes Prow Robot
ca01b49614
Merge pull request #4698 from koba1t/chore/update_functions_examples_and_e2econtainerconfig
...
Update kyaml in functions/examples and e2econtainerconfig
2022-07-07 12:28:38 -07:00
yugo kobayashi
4653f5d9d3
update e2econtainerconfig
2022-07-07 18:56:50 +00:00
yugo kobayashi
bd67fc2781
update kyaml in functions/examples
2022-07-07 18:51:12 +00:00
yugo kobayashi
17af5d518f
rerun ci
2022-07-07 18:39:38 +00:00
yugo kobayashi
670cef4fd1
remove 'replace sigs.k8s.io/kustomize/*' and cleanup
2022-07-07 18:30:49 +00:00
yugo kobayashi
5c9adf248c
fix error handling and delete comment to e2econtainerconfig/main.go
2022-07-07 16:10:14 +00:00
yugo kobayashi
fd847108cd
refactor cmd/config/internal/commands/e2e
2022-07-06 16:03:47 +00:00
Kubernetes Prow Robot
d2ceab5f30
Merge pull request #4689 from Chever-John/doc/typo_error_first_kustomization
...
doc(first_kustomization): change the wrong command (I think)
2022-07-05 10:59:20 -07:00
Anna Song
86a84ca486
Address nits on localize proposal and correct mistakes ( #4668 )
...
* Address nits on #4590 and correct mistakes
* Flesh out remote target use case
Remove scope, add ref, add user story
2022-07-05 10:51:20 -07:00
yugo kobayashi
876ec8fa6b
update to go 1.18 in github-action
2022-07-05 17:40:44 +00:00
yugo kobayashi
2145d1984f
add missing test case
2022-07-05 02:53:32 +00:00
koba1t
92288a8a02
fix ci error
2022-07-05 06:40:30 +09:00
koba1t
a6449aa03f
try to fix e2econtainer test
2022-07-05 03:44:56 +09:00
koba1t
9c827f5362
restore ./cmd/config/internal/commands/e2e/e2econtainerconfig
2022-07-02 15:54:48 +09:00
koba1t
e201dbb31a
go work sync
2022-07-02 15:31:24 +09:00
koba1t
bc981fcbc3
merge upstream master
2022-07-02 15:18:26 +09:00
Kubernetes Prow Robot
8a729459aa
Merge pull request #4694 from annasong20/add-loc-tdata-remote
...
Add `localize` test data with remote reference
2022-06-30 14:22:44 -07:00
Anna Song
d1102fb726
Move demandDirectoryRoot into kyaml/filesys ( #4677 )
...
* Move demandDirectoryRoot into kyaml/filesys
* Make root directory platform-agnostic
Support windows root directory. Dogfood own error package.
* Use cleaner windows support implementation
* Address feedback
* Address feedback x2
* Re-apply go.sum changes to avoid CI errors
2022-06-30 11:12:07 -07:00
Anna Song
edb6294741
Add kustomization with remote reference
2022-06-30 17:21:23 +00:00
koba1t
175c99f9f6
try to update cmd/config/internal/commands/e2e/e2econtainerconfig code
2022-06-30 05:06:34 +09:00
koba1t
20a93fdd12
update functions/examples/template-go-nginx code and update go1.18
2022-06-30 03:05:00 +09:00
koba1t
0421c9fb50
update functions/examples/injection-tshirt-sizes code
2022-06-30 01:48:58 +09:00
koba1t
8c8a2125b7
update all go.mod to go1.18
2022-06-29 05:14:33 +09:00
koba1t
f39f914a98
add many pkgs for go.work
2022-06-29 03:32:54 +09:00
koba1t
c583f4164c
add support for go workspace mode
2022-06-28 23:42:56 +09:00
CheverJohn
6a7cecddd7
doc(first_kustomization): change the wrong command (I think)
2022-06-27 12:05:56 +08:00
Nuno Anselmo
d8efc15169
Adds commentary on expected/unexpected test output
2022-06-21 23:52:39 +01:00
Nuno Anselmo
86d48b2a95
Implements TestNamedspacedServiceAccounts with and without overlap
2022-06-21 23:07:54 +01:00
Davanum Srinivas
7e0fd02783
Switch github.com/xlab/treeprint to release tag : v1.1.0 ( #4675 )
...
* Switch github.com/xlab/treeprint to release tag : v1.1.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
* fix test to reflect changes in the dependency
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-06-10 14:33:46 -07:00
Kubernetes Prow Robot
1c53932166
Merge pull request #4670 from prasadkatti/patch-1
...
Update broken links to glossary terms
2022-06-08 11:36:00 -07:00
Prasad Katti
721a905e13
Update broken links to glossary terms
2022-06-08 11:13:34 -07:00
Anna Song
3fdf88d10e
Allow tests to only run locally ( #4664 )
...
* Allow tests to only run locally
Allow tests that are flaky or currently unsupported on the server to run locally
* Address feedback
2022-06-08 10:04:23 -07:00
Kubernetes Prow Robot
4b19643b36
Merge pull request #4661 from annasong20/fileloader-require
...
fileloader_test: Replace lengthy t.Fatalf with require
2022-06-01 16:35:48 -07:00
Anna Song
b0b6c962dc
Replace lengthy t.Fatalf with require
2022-06-01 17:46:30 -04:00
Kubernetes Prow Robot
78191b45fb
Merge pull request #4611 from unrolled/unrolled-4338-overview-and-installation
...
Migrate site content: overview and installation
2022-06-01 08:47:07 -07:00
Natasha Sarkar
37a403fc65
Merge pull request #4650 from natasha41575/releaseUpdate
...
unpin modules and update latest release to 4.5.5
2022-05-23 20:11:27 +00:00
natasha41575
fd7e170b69
unpin modules and update latest release to 4.5.5
2022-05-23 12:47:59 -07:00
Håkon Solbjørg
afc1815f3f
docs(examples): Fix URL to installation instructions in examples
2022-05-23 12:06:04 +02:00
Natasha Sarkar
daa3e5e2c2
Merge pull request #4647 from natasha41575/increase_cpu
...
increase vm size for cloud build
2022-05-20 20:21:22 +00:00
natasha41575
12adc1ff95
increase vm size for cloud build
2022-05-20 13:20:58 -07:00
Natasha Sarkar
41283c4727
Merge pull request #4646 from natasha41575/pinToApi
...
Update api to v0.11.5
2022-05-20 19:34:52 +00:00
natasha41575
30740f87f1
Update api to v0.11.5
2022-05-20 12:26:43 -07:00
Natasha Sarkar
6c8db65a90
Merge pull request #4645 from natasha41575/pinToCmdConfig
...
Update cmd/config to v0.10.7
2022-05-20 19:14:52 +00:00
natasha41575
35b5b7554f
Update cmd/config to v0.10.7
2022-05-20 12:03:17 -07:00
Natasha Sarkar
6395344bcb
Merge pull request #4644 from natasha41575/pinToKyaml
...
Update kyaml to v0.13.7
2022-05-20 18:51:47 +00:00
natasha41575
4a3bb926c5
Update kyaml to v0.13.7
2022-05-20 11:43:49 -07:00
Kubernetes Prow Robot
ba5335cf48
Merge pull request #4635 from konrad945/master
...
Testing code leaked to production
2022-05-19 10:49:21 -07:00
Anna Song
03ac2e1ada
Proposal for new command "kustomize localize" ( #4590 )
...
* Propose kustomize localize
Write mini KEP proposal for new command kustomize localize.
* Incomplete commit
* Update proposal based on Katrina's feedback
Changes are summarized in comments in PR
* Address feedback in comments
2022-05-15 10:28:17 -07:00
Cory Jacobsen
2e036c24c2
Migrate site content: overview and installation
2022-05-13 19:53:38 +00:00
Kubernetes Prow Robot
1cf5b00af8
Merge pull request #4639 from annasong20/document-no-ports
...
Document urls cannot specify ports
2022-05-13 09:43:48 -07:00
Anna Song
9097f7b5a6
Document urls cannot specify ports
2022-05-13 09:15:30 -07:00
Kubernetes Prow Robot
0c8174544f
Merge pull request #4638 from annasong20/skip-more-flaky
...
Skip more flaky tests
2022-05-12 16:39:48 -07:00
Anna Song
a37572d193
Skip more flaky tests
2022-05-12 16:23:42 -07:00
konrad945
ba7315ca76
Update testing_test.go
2022-05-12 19:38:15 +02:00
konrad945
ddf768195c
Rename testing.go to testing_test.go
2022-05-12 16:43:27 +02:00
konrad945
b11cc3ae67
Fix comments
2022-05-12 16:42:28 +02:00
Kubernetes Prow Robot
22668eae16
Merge pull request #4634 from unrolled/unrolled-4338-copyright
...
Update copyright to match k8s docs site
2022-05-11 11:31:03 -07:00
Cory Jacobsen
02eb788b78
Update copyright to match k8s docs site
2022-05-11 16:59:24 +00:00
Anna Song
41fb6915b3
Document remote files in remoteBuild.md ( #4624 )
...
* Add file to remote build spec
* Address PR feedback
2022-05-10 11:21:43 -07:00
Kubernetes Prow Robot
596519d3f2
Merge pull request #4631 from annasong20/localize-test
...
Add test directory for command localize
2022-05-10 11:13:43 -07:00
Kubernetes Prow Robot
d3d92157fa
Merge pull request #4567 from mvgmb/master
...
Add support for remote OpenAPI schema
2022-05-10 11:01:43 -07:00
Anna Song
c83ebd9530
Add test directory for command localize
...
Create simple kustomization directory that `kustomize localize` can download as remote reference in test.
2022-05-10 10:58:33 -07:00
Kubernetes Prow Robot
c3b5d8fa19
Merge pull request #4629 from KnVerey/configure_templateparser
...
fn framework: bugfix for schema providers + configurable template extensions
2022-05-09 17:25:43 -07:00
Katrina Verey
7a773a3a48
Configure wrapcheck linter to recognize wrapping done by kyaml's errors package
2022-05-09 17:02:02 -04:00
Kubernetes Prow Robot
46d4934b68
Merge pull request #4606 from unrolled/unrolled-4338-config-site-setup
...
Configuring hugo settings to match cli-experimental settings
2022-05-06 12:13:04 -07:00
Kubernetes Prow Robot
d0ef2f70a1
Merge pull request #4627 from annasong20/remove-flaky-tests
...
Skip flaky tests
2022-05-06 11:31:04 -07:00
Anna Song
b8d2ff2afa
Fix TODO comment syntax
2022-05-06 09:24:23 -07:00
Anna Song
7e0158e1e9
Skip flaky tests
...
Skip tests that behave reliably locally, but are flaky on macOS server.
2022-05-06 08:12:39 -07:00
Agustina Barbetta
5948f6aa63
[Address #3937 ] Add labels to template/metadata if includeTemplates is true ( #4209 )
...
* add labels in template/metadata by default
* update comment
* fix kustomization labels test
* Add spec/template/metadata/labels when includeTemplate is true
* remove unnecessary test changes
* add error wrap
* Revert "add error wrap"
This reverts commit 0a203df83edb90a400b35d5521487b984619e919.
* add error wrap at template fieldSpec merge
2022-05-05 11:24:22 -07:00
Kubernetes Prow Robot
496a962a53
Merge pull request #4615 from annasong20/add-remote-resource-tests
...
Fix Issue #4588
2022-05-05 10:30:21 -07:00
Anna Song
17b42a99f5
Skip ssh tests
...
Skip ssh tests and correct error msg that's different on server.
2022-05-05 09:26:44 -07:00
Anna Song
271f393218
Address feedback
...
Change asserts to, on fail, fail tests. Address feedback on previous commit. Enable ssh to check if server has ssh keys.
2022-05-04 18:54:12 -07:00
Anna Song
c0dc68d6e7
Add url tests
...
Write comprehensive suite of integration tests for remote resources, as specified by Issue #4588
2022-05-03 13:53:03 -07:00
annelausf
188e35fbfd
Added code for fields with dots(.) in their names work as needed ( #4591 )
...
* Added code for fields with dots(.) in their names work as needed
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed imports
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Removed comments
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fix filter method
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed failing tests
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Remove comments
Add co-author to PR.
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Add co-author to PR.
Co-authored-by: sarjamil sjamil@salesforce.com
Co-authored-by: sarjamil <sjamil@salesforce.com >
2022-05-02 14:30:33 -07:00
Kubernetes Prow Robot
233b6adf7e
Merge pull request #4605 from m-Bilal/fix-4559
...
Fix kustomize 4.5.3+ breaking remote resources (4559)
2022-05-02 13:34:31 -07:00
Cory Jacobsen
41296b9814
Configuring hugo settings to match cli-experimental
2022-04-27 17:12:30 +00:00
Mohd Bilal
66e4e1582b
fix kustomize 4.5.3+ breaking remote resources (4559)
2022-04-23 06:25:24 +00:00
Katrina Verey
2e230b4d4b
Regression test and fix for APIs that satisfy ValidationSchemaProvider but not Validator
2022-04-22 17:19:49 -04:00
Katrina Verey
bcae65770a
Configurable extensions for template parser
2022-04-21 18:28:13 -04:00
Mário Bezerra
d49e5aa5aa
Add tests for remote OpenAPI schema
2022-04-20 00:03:22 -03:00
Mário Bezerra
94af647556
Add support for remote OpenAPI schema
2022-04-19 23:58:04 -03:00
Natasha Sarkar
9d5491c2e2
fix containerized function mounts issue ( #4489 )
...
* fix containerized function mounts issue
* skip path test on windows
* move test out of temp dir
* update tests to deal with new working dir restrictions
* code review
2022-04-18 14:25:50 -07:00
Natasha Sarkar
cf89eae804
openapi parsing performance improvement with protobuffer ( #4568 )
...
* update necessary dependencies
* update openapi test structure
* remove old swagger files and generate new ones
* use protobuffer to parse openapi for performance improvement
2022-04-18 11:10:43 -07:00
Eng Zer Jun
9452a031ba
test: use T.TempDir to create temporary test directory ( #4587 )
...
* test: use `T.TempDir` to create temporary test directory
This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `ioutil.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestInit_noargs` on Windows
--- FAIL: TestInit_noargs (0.01s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestInit_noargs3136084632\001: The process cannot access the file because it is being used by another process.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestTreeCommandDefaultCurDir_files` on Windows
--- FAIL: TestTreeCommandDefaultCurDir_files (0.01s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestTreeCommandDefaultCurDir_files716679291\001: The process cannot access the file because it is being used by another process.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestCreateSetterCommand` on Windows
--- FAIL: TestCreateSetterCommand (13.27s)
--- FAIL: TestCreateSetterCommand/add_replicas (1.45s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestCreateSetterCommandadd_replicas176222064\001\k8s-cli-487197005.yaml: The process cannot access the file because it is being used by another process.
...
and all subtests
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestCreateSubstitutionCommand` on Windows
--- FAIL: TestCreateSubstitutionCommand (4.16s)
--- FAIL: TestCreateSubstitutionCommand/substitution_replicas (1.30s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestCreateSubstitutionCommandsubstitution_replicas1352417113\001\k8s-cli-3183612276.yaml: The process cannot access the file because it is being used by another process.
...
and all subtests
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestDeleteSetterCommand` on Windows
--- FAIL: TestDeleteSetterCommand (4.36s)
--- FAIL: TestDeleteSetterCommand/delete_replicas (1.31s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestDeleteSetterCommanddelete_replicas3949811929\001\k8s-cli-957077271.yaml: The process cannot access the file because it is being used by another process.
...
and all subtests
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestDeleteSubstitutionCommand` on Windows
--- FAIL: TestDeleteSubstitutionCommand (2.35s)
--- FAIL: TestDeleteSubstitutionCommand/delete_only_subst_if_setter_has_same_name_-_long_ref (1.15s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestDeleteSubstitutionCommanddelete_only_subst_if_setter_has_same_name_-_long_ref2039728641\001\k8s-cli-1602861478.yaml: The process cannot access the file because it is being used by another process.
...
and all subtests
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* test: fix `TestSetCommand` on Windows
--- FAIL: TestSetCommand (13.76s)
--- FAIL: TestSetCommand/set_replicas (1.13s)
testing.go:1090: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestSetCommandset_replicas3781384539\001\k8s-cli-1030344459.yaml: The process cannot access the file because it is being used by another process.
...
and all subtests
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-04-18 09:32:41 -07:00
Dipto Chakrabarty
a464ed0c59
add tagsuffix to take image tag suffix ( #4364 )
...
* add tagsuffix to take image tag suffix
* add comments to warn about specifications
* add test and error handle
* fix indent
* update comment
* fix merge errors and return updates
* update image update and fix example
* fix yamls formats
remove tabs in yamls
fix space in image name
tag error in name
* fix spacing issue
format of yaml
set example as above
* spacing of spec in testing templates
* change to switch case
2022-04-14 10:00:47 -07:00
Kubernetes Prow Robot
ec212711d4
Merge pull request #4577 from koba1t/fix/replacement_wildcard_and_create_option_error_message
...
fix error message using replacement wildcard and create option
2022-04-13 13:44:46 -07:00
koba1t
2f2e14e953
fix lint error to nolint:goerr113
2022-04-13 12:43:35 +09:00
koba1t
ed72bb02d4
fix lint error
2022-04-13 05:20:53 +09:00
koba1t
02e0b38bb0
fix lint error
2022-04-13 05:09:52 +09:00
koba1t
01ab069bd2
fix error message
2022-04-13 04:55:21 +09:00
koba1t
cdc4a5083b
fix lint error
2022-04-12 12:53:58 +09:00
koba1t
5e84de2a89
fix errror message using replacement wildcard and create option
2022-04-12 05:14:24 +09:00
Kubernetes Prow Robot
e5041bae6f
Merge pull request #4576 from kubernetes-sigs/dependabot/github_actions/actions/setup-go-3
...
Bump actions/setup-go from 2 to 3
2022-04-11 10:14:06 -07:00
dependabot[bot]
0d600af35a
Bump actions/setup-go from 2 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-11 01:05:22 +00:00
Kubernetes Prow Robot
0989b26098
Merge pull request #4571 from KnVerey/releaser_1.18
...
Install goreleaser into go 1.18 image for build
2022-04-07 14:11:23 -07:00
Jennifer Cwagenberg
7888aef305
Raise error for external generators or transformers ( #4565 )
...
* Raise error if duplicate orgids for external transformers or external generators are configured
* Remove output of resources in error message
* Remove trailing newline
2022-04-06 15:46:25 -07:00
Katrina Verey
fe604fd3d1
Install goreleaser into go 1.18 image for build
2022-04-06 15:51:37 -04:00
Kubernetes Prow Robot
4fc02497ae
Merge pull request #4564 from KnVerey/rework_ci
...
Make CI much more effective
2022-04-06 12:36:26 -07:00
Katrina Verey
e96c38e3ab
Use verbose mode in all test runs
2022-04-05 15:56:32 -04:00
Katrina Verey
29104d6fa9
Ignore XML in license header script
2022-04-05 15:03:13 -04:00
Katrina Verey
df57e196d8
more makefile cleanup
2022-04-05 14:55:50 -04:00
Katrina Verey
f3c825f550
Make sure build targets all install into Go bin
2022-04-05 14:40:33 -04:00
Katrina Verey
03c94eabb7
Base makefile and root makefile target for functions/examples
2022-04-05 14:37:18 -04:00
Katrina Verey
c071cdaedd
More makefile cleanup
2022-04-05 14:31:17 -04:00
Katrina Verey
f68a0c50d9
less redundancy in presubmit
2022-04-04 20:50:56 -04:00
Katrina Verey
db34e923c5
rever meaning of verify kustomize target
2022-04-04 20:40:07 -04:00
Katrina Verey
df80b29694
Test other modules on all platforms
2022-04-04 20:14:49 -04:00
Katrina Verey
ea193328e3
Run all non plugin module builds
2022-04-04 19:23:08 -04:00
Katrina Verey
2d4bce5112
Do not run ineffective targets, do run all module tests
2022-04-04 18:13:00 -04:00
Katrina Verey
af06ae6b69
add kustomize module to tests that run on master
2022-04-04 17:47:33 -04:00
Katrina Verey
46875b6ac4
More makefile cleanup
2022-04-04 16:46:41 -04:00
Katrina Verey
0fa010c7e7
Add missing boilerplate
2022-04-04 14:24:04 -04:00
Katrina Verey
3e652d6fea
Add helpful error message to license check
2022-04-04 14:22:24 -04:00
Katrina Verey
f54014ce3b
Add latest to go install commands
2022-04-04 14:10:29 -04:00
Katrina Verey
08924dc2f5
Fix root var and add sanity check
2022-04-04 14:03:29 -04:00
Kubernetes Prow Robot
49c0ed1326
Merge pull request #4563 from turrisxyz/naveensrinivasan/set-permissions
...
Add permissions to GitHub actions
2022-04-01 15:18:09 -07:00
Katrina Verey
7440f974b8
Lint needs goimports
2022-04-01 18:02:15 -04:00
Katrina Verey
ab9b89213b
Delete duplicate copies of the license template
2022-04-01 17:56:06 -04:00
Katrina Verey
9fc012cc4e
Do not change what the presubmit does yet
2022-04-01 17:55:52 -04:00
Katrina Verey
877d72b10b
Run license check in CI
2022-04-01 17:42:59 -04:00
Naveen
c743f13d0d
Add permissions to GitHub actions
...
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
Setting token permissions to read-only follows the principle of least privilege. This is important because attackers may use a compromised token with write access to push malicious code into the project.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
2022-04-01 16:34:21 -05:00
Katrina Verey
0d32543ebd
Makefiles for all modules
2022-04-01 17:31:34 -04:00
Kubernetes Prow Robot
28ee975948
Merge pull request #4543 from turrisxyz/dependabot
...
Included githubactions in the dependabot config
2022-04-01 09:44:46 -07:00
Katrina Verey
2a9adbeb1e
Makefile cleanup
2022-03-31 19:02:19 -04:00
Kubernetes Prow Robot
672c751715
Merge pull request #4560 from KnVerey/go1.18-tools
...
Update and re-enable linters
2022-03-31 10:59:02 -07:00
Katrina Verey
d3a7b9008b
Enable linting from specific rev in CI
2022-03-31 11:37:37 -04:00
Katrina Verey
b0d2e4bdcd
Enable more linters for new code
2022-03-31 11:37:26 -04:00
Katrina Verey
71bf0d5d14
Update full linter list and enable some easily resolved new ones
2022-03-31 11:37:26 -04:00
Katrina Verey
0a9c5cb0cf
Refactor to fix gocyclo complaint
2022-03-31 11:37:26 -04:00
Katrina Verey
ff4136b1a2
cmd/config linter updates
2022-03-31 11:37:26 -04:00
Katrina Verey
1567b96ed3
Replace protobuf dep flagged by linter as deprecated
2022-03-31 11:37:26 -04:00
Katrina Verey
14947e449b
Address new linter complaints
2022-03-31 11:37:26 -04:00
Katrina Verey
b368b347d1
Replace deprecated linters
2022-03-30 17:57:49 -04:00
Katrina Verey
5c359bda28
Go 1.18 compatibility updates
2022-03-30 17:57:48 -04:00
Natasha Sarkar
c94b5d8f25
Merge pull request #4553 from natasha41575/unpin
...
unpin modules and test against latest release
2022-03-28 17:45:50 -07:00
natasha41575
b699204a9e
unpin modules and test against latest release
2022-03-28 16:21:42 -07:00
Natasha Sarkar
cf3a452ddd
Merge pull request #4552 from KnVerey/version-mismatch
...
Copy of go 1.18 created version mismatch, reverting for now
2022-03-28 16:06:20 -07:00
Katrina Verey
faad014f96
Copy of go 1.18 created version mismatch, reverting for now
2022-03-28 19:03:47 -04:00
Natasha Sarkar
8e46ef57be
Merge pull request #4551 from KnVerey/pipe_fail
...
Debug exit 141 failure
2022-03-28 15:46:23 -07:00
Katrina Verey
458d48430a
Debug exit 141 failure
2022-03-28 18:45:07 -04:00
Kubernetes Prow Robot
3cecdc6214
Merge pull request #4550 from KnVerey/pinToApi
...
Update api to api/v0.11.4
2022-03-28 15:37:41 -07:00
Katrina Verey
7cac778866
Update api to api/v0.11.4
2022-03-28 18:27:12 -04:00
Katrina Verey
0aa379c228
Merge pull request #4549 from KnVerey/pinToCmdConfig
...
Update cmd/config to v0.10.6
2022-03-28 18:08:01 -04:00
Kubernetes Prow Robot
cd0f9b0c5b
Merge pull request #4548 from KnVerey/improve-logs
...
Improve logging for changelong builder
2022-03-28 15:07:41 -07:00
Katrina Verey
651f0c1097
Update cmd/config to v0.10.6
2022-03-28 17:57:06 -04:00
Katrina Verey
6348ea9515
Improve logging for changelong builder
2022-03-28 17:54:09 -04:00
Katrina Verey
4b64f1e0e8
Merge pull request #4547 from KnVerey/pinToKyaml
...
Update kyaml to v0.13.6
2022-03-28 17:25:47 -04:00
Katrina Verey
7306402cca
Update kyaml to v0.13.6
2022-03-28 17:07:02 -04:00
Natasha Sarkar
485f7d44d9
Merge pull request #4537 from KnVerey/release-updates
...
Converge local and cloud gorelease scripts, improve release notes
2022-03-28 13:41:02 -07:00
Katrina Verey
9e57ab72fc
Copy newer Go into goreleaser image
2022-03-28 16:29:24 -04:00
Natasha Sarkar
d17ef91d94
Merge pull request #4545 from film42/gt/add_missing_refs
...
Add more name refs to PodTemplate for ConfigMap and Secret
2022-03-28 13:21:55 -07:00
Garrett Thornburg
e97cecf9dc
Add more name refs to PodTemplate for ConfigMap and Secret
2022-03-28 14:00:17 -06:00
Katrina Verey
5833f4ca80
Make Goreleaser use the tag passed to the script
2022-03-28 14:37:29 -04:00
Katrina Verey
e86c479690
Converge local and cloud gorelease scripts, improve release notes
2022-03-28 13:43:18 -04:00
Naveen
d082c75b65
Included githubactions in the dependabot config
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com >
2022-03-27 17:06:31 -05:00
Kubernetes Prow Robot
d2e59002ae
Merge pull request #4538 from natasha41575/kubeopenapiupgrade
...
move to google/gnostic v0.5.7-v3refs
2022-03-25 15:37:58 -07:00
natasha41575
c857ff8371
move to google/gnostic v0.5.7-v3refs
2022-03-25 15:05:18 -07:00
Kubernetes Prow Robot
866e84059f
Merge pull request #4541 from annasong20/bug4487
...
Added test for bug 4487: cannot parse keys with dots
2022-03-25 14:59:58 -07:00
Anna Song
497d2ee031
Added test for bug 4487: cannot parse keys with dots
2022-03-25 17:45:55 -04:00
Katrina Verey
c4febc59d5
Merge pull request #4536 from kubernetes-sigs/updateProwExamplesTarget
...
Test examples against latest release
2022-03-24 17:51:18 -04:00
Katrina Verey
19955e73ff
Test examples against latest release
2022-03-24 17:32:17 -04:00
Katrina Verey
271bf31ce9
Merge pull request #4535 from KnVerey/unpinEverything
...
Back to development mode; unpin the modules
2022-03-24 17:31:12 -04:00
Katrina Verey
809182c6b6
Back to development mode; unpin the modules
2022-03-24 17:07:20 -04:00
Katrina Verey
0dd3d84104
Merge pull request #4531 from KnVerey/update-release-instr
...
Update release instructions for kubectl integration
2022-03-24 17:04:27 -04:00
Natasha Sarkar
de6b978491
Merge pull request #4534 from KnVerey/add-git-to-builder
...
Add git to image build docker step
2022-03-24 13:47:55 -07:00
Katrina Verey
8fa8e14eeb
Add git to image build docker step
2022-03-24 16:42:39 -04:00
Natasha Sarkar
26b5e628cf
Merge pull request #4533 from natasha41575/pinToApi
...
Pin to api v0.11.3
2022-03-24 13:36:04 -07:00
natasha41575
80853c61b8
Pin to api v0.11.3
2022-03-24 13:34:47 -07:00
Natasha Sarkar
c5ff592810
Merge pull request #4532 from natasha41575/pinToCmdConfig
...
Pin to cmd/config v0.10.5
2022-03-24 13:16:34 -07:00
natasha41575
b9df5686f4
Pin to cmd/config v0.10.5
2022-03-24 13:15:30 -07:00
Katrina Verey
7ff87ef5b9
Update release instructions for kubectl integration
2022-03-24 16:07:02 -04:00
Natasha Sarkar
c4d38108cf
Merge pull request #4530 from natasha41575/pinToKyaml
...
Pin to kyaml v0.13.4
2022-03-24 13:01:01 -07:00
natasha41575
784ae5efa3
Pin to kyaml v0.13.4
2022-03-24 12:58:51 -07:00
Natasha Sarkar
e8640724a9
Merge pull request #4497 from m-Bilal/fix-3812
...
Fix 3812; Error message changed and check for MalformedYamlError
2022-03-24 09:55:44 -07:00
Shoshana Malfatto
7b0ec99d90
retain quotes in namespace transformer filter ( #4421 )
...
* check tag values for double quoting
* reuse setentry
* don't override single quotes in merge and fix cm generator immutable val
* get rid of comment
* starlark annotation tests
* don't commit test image changes
* set network to bool
* isSet bool
* updating e2e config tool
* leave createtag
* fn command failing unmarshal test
* fn command test
* don't set style in run-fs
* use setentry to set tag
* remove e2e test changes and make IsStringValue an RNode method
2022-03-23 14:25:19 -07:00
Kubernetes Prow Robot
fbfcb0479a
Merge pull request #4527 from yuwenma/cobra
...
Bump cobra dependency to pick up latest vulnerability solution
2022-03-23 14:05:20 -07:00
Yuwen Ma
3421fcf81e
bump dependency cobra to pick up latest vulnerability solution
2022-03-23 13:47:03 -07:00
Rafael Leal
97de780feb
Fix error during expansion of !!merge <<: anchor tags ( #4383 )
...
* WIP
* Fix merge corner cases
* Add test for explicit !!merge tag
* Fix tests
* Cleanup
* Cleanup
* Fix deanchoring lists
* Add test case for keeping comments
* Add MapEntrySetter and fix json marshalling after deanchoring
* Keep duplicated keys
* Move MergeTag definition to yaml alias
* Remove go-spew from api
* Add support for sequence nodes on merge tags
* Add docstring to MapEntrySetter.Key
* Add docstring to MapEntrySetter struct
* Add tests to MapEntrySetter
* Fix duplicate merge key
* Revert whitespace changes on forked go-yaml
* Remove AssocMapEntry function
* Refactoring merge order
* Return errors on VisitFields and PipeE
* Add tests for each non-conforming map merges
2022-03-23 09:36:17 -07:00
Robert Facciol
3490fb8716
Initial commit for a tutorial on getting started with kustomize ( #4516 )
...
* Initial commit for a tutorial on getting started with kustomize
* add build commands and update comment with name of the file
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: David Jacob <davidmjacob86@gmail.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: David Jacob <davidmjacob86@gmail.com >
* fix typo
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
* updates following review
* updates to getting started guide
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update site/content/en/docs/Getting started/first_kustomization.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* updates to consolidate example into one folder
Co-authored-by: David Jacob <davidmjacob86@gmail.com >
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2022-03-22 13:21:58 -07:00
Kubernetes Prow Robot
2fe04496c2
Merge pull request #4485 from roopeshvs/master
...
Support for multiple replacements in a single file when replacing using path
2022-03-18 11:42:13 -07:00
Kubernetes Prow Robot
b0d7721049
Merge pull request #4513 from joebowbeer/patch-2
...
Update valueAdd.md
2022-03-17 11:54:42 -07:00
Kubernetes Prow Robot
18f22f10a3
Merge pull request #4511 from NoicFank/master
...
fix broken link
2022-03-17 11:12:54 -07:00
Kubernetes Prow Robot
3ae5aa9e13
Merge pull request #4494 from lack/replacement/string-int-autoconvert
...
Preserve scalar types when using the replacement filter
2022-03-16 10:06:19 -07:00
Kubernetes Prow Robot
48f21e920a
Merge pull request #4508 from DavidJacob/kustomize-io-website
...
New kustomize.io website
2022-03-10 15:33:08 -08:00
Joe Bowbeer
dcdefca70e
Update valueAdd.md
...
Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com >
2022-03-10 23:29:45 +00:00
David Jacob
c64351aa01
Exclude site directory from go.mod search
2022-03-09 18:03:04 +01:00
David Jacob
c60979ee3e
Remove license and background image and moinitor wording changes
2022-03-09 17:47:29 +01:00
Jim Ramsay
cb80659c22
Preserve scalar types when using the replacement filter
...
Erasing the scalar type tag leads to unfortunate circumstances, in that
the resulting yaml code is valid yaml, but will not meet the object
spec.
For example, using the replacement transformer to take a port number as
a string from a ConfigMap and set a Pod port would previously end up
with:
- containerPort: "8080"
when the spec requires that this is not a string:
- containerPort: 8080
Added unit tests for conversion to and from integers and booleans, plus
creation from string and creation from integer.
The creation behavior needs some refinement in a future PR.
Signed-off-by: Jim Ramsay <i.am@jimramsay.com >
2022-03-09 06:39:12 -05:00
Dingzhu Lurong
b1086ac49b
fix broken link
2022-03-09 16:00:59 +08:00
David Jacob
1fcd66258f
Add the kustomize.io docsy template
2022-03-06 12:29:12 +01:00
roopeshvs
d1d578c392
support for multiple replacements in a single file
2022-03-04 12:46:45 +05:30
Kubernetes Prow Robot
f67dd5bbbd
Merge pull request #4504 from rob8714/remove-site-and-docs-folder-v2
...
Remove site and docs folder
2022-03-02 12:49:13 -08:00
Natasha Sarkar
ac5c51ba2c
Merge pull request #4503 from KnVerey/fix-more-links
...
Remove more links to defunct site
2022-03-02 11:57:26 -08:00
rob8714
53cc76fe43
added images folder to images that would break in README and additionally updated overlays.jpg to remove the reference to 'bases'
2022-03-02 20:37:39 +01:00
rob8714
07eb595eb2
Remove site folder
2022-03-02 20:34:00 +01:00
rob8714
8cb7acfdcb
Remove docs folder
2022-03-02 20:33:37 +01:00
Katrina Verey
975482390f
Remove more links to defunct site
2022-03-02 14:04:17 -05:00
Kubernetes Prow Robot
701695c343
Merge pull request #4499 from olegsu/fix-community-docs
...
fix: broken reference to roadmap objectives
2022-03-01 17:31:13 -08:00
Katrina Verey
8db1267983
Merge pull request #4502 from KnVerey/fix-links
...
Replace links to removed site
2022-03-01 20:02:22 -05:00
Katrina Verey
da7ec577b2
Replace links to removed site
2022-03-01 19:17:55 -05:00
Oleg Sucharevich
d17b171207
fix: broken reference to roadmap objectives
2022-03-01 20:11:32 +02:00
Kubernetes Prow Robot
70ce89d993
Merge pull request #4434 from jwmatthews/install_arch
...
Install arch appropriate build if the 'arch' command is present
2022-02-28 09:18:57 -08:00
Mohd Bilal
e25db3df2e
Test case updated
2022-02-27 09:11:00 +00:00
Mohd Bilal
3eae520532
test case added
2022-02-27 08:11:42 +00:00
Mohd Bilal
3ec7b10bc0
Error message corrected
2022-02-27 07:48:55 +00:00
Mohd Bilal
6dabba1d23
misspell corrected
2022-02-27 07:47:59 +00:00
Mohd Bilal
bd05631887
Error type MalformedYamlError created. api.internal.target.kusttarget.accumulateResources checks for this new error type
2022-02-27 07:21:16 +00:00
Kubernetes Prow Robot
6950a0d246
Merge pull request #4467 from KnVerey/fn-cfg-openapi-validation
...
fn framework: Enable validation using openAPI schema for functionConfig
2022-02-24 10:32:31 -08:00
Katrina Verey
c90504a19d
Enable validation using function config schema from KRMFunctionDefinition
2022-02-24 13:20:29 -05:00
Kyle Cronin
8dab94964f
Fix image name parsing with tag and digest ( #4406 )
...
* Fix image name parsing with name and digest
Image names may contain both tag name and digest. For example
`nginx:1.21.5@sha256:7826426c9d8d310c62fc68bcd5e8dde70cb39d4fbbd30eda3b1bd03e35fbde29`. Kustomizations with image transforms will not match
these image because the image parser assumes either a tag or digest, but not
both.
For a real life example of kuberenetes deployments that might need to perform
these types of transforms is from the [tekton-pipelines](https://github.com/tektoncd/pipeline ) project (see the release.yaml).
* Return digest property from image name parser
image.Split now returns 3 fields: name, tag, and digest. The tag and digest
fields no longer include their respective delimiters (`:` and `@`).
* Fix merge file indentation
* Refactor imagetag updater string builder
2022-02-16 09:02:37 -08:00
Kubernetes Prow Robot
ff40460d3b
Merge pull request #4424 from koba1t/feature/allow_setting_every_array_element_in_replacements
...
Allow setting every array element in replacements
2022-02-09 17:03:46 -08:00
Kubernetes Prow Robot
a7f4db7fb4
Merge pull request #4030 from thatsmydoing/url-format
...
Update supported URLs in remoteBuild.md
2022-02-09 16:37:47 -08:00
Natasha Sarkar
5d0762411c
Merge pull request #4468 from natasha41575/updateProwExamplesTarget
...
Test examples against latest release
2022-02-09 16:26:34 -08:00
natasha41575
b4e116346e
Test examples against latest release
2022-02-09 16:16:10 -08:00
Natasha Sarkar
9091919699
Merge pull request #4466 from natasha41575/pinToApi
...
Pin to api v0.11.2
2022-02-09 15:19:28 -08:00
natasha41575
702a56e2f1
Pin to api v0.11.2
2022-02-09 15:09:41 -08:00
Natasha Sarkar
00a9c59dd7
Merge pull request #4465 from natasha41575/pinToCmdConfig
...
Pin to cmd/config v0.10.4
2022-02-09 14:57:04 -08:00
natasha41575
4dfc2a9507
Pin to cmd/config v0.10.4
2022-02-09 14:44:37 -08:00
Sylvain Rabot
2f17803c0a
Fix pseudo git HTTP urls broken since 59c82659 ( #4453 )
...
* Fix pseudo git HTTP urls broken since 59c82659
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
* Add test for Git resources using HTTP URLs
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2022-02-09 14:23:49 -08:00
koba1t
5ed96a34d7
rename IsMatchEveryIndex to IsWildcard
2022-02-10 05:13:29 +09:00
Kubernetes Prow Robot
14cb815b5d
Merge pull request #4452 from KnVerey/2022-roadmap
...
Commit 2022 roadmap presented to SIG-CLI
2022-02-07 23:30:54 -08:00
Kubernetes Prow Robot
a5df6f7fd9
Merge pull request #4387 from Neo2308/remove-exclude-statements
...
Remove exclude statements
2022-02-07 08:49:44 -08:00
John Matthews
4f5dfb5d42
Updating with 'uname -m'
2022-02-05 09:02:28 -05:00
Katrina Verey
6374d3d593
Commit 2022 roadmap presented to SIG-CLI
2022-02-04 12:25:34 -05:00
koba1t
22f9daa3ab
replacements allow to replace multi values
2022-02-04 04:09:50 +09:00
Natasha Sarkar
c3c7013f09
Merge pull request #4450 from natasha41575/updateProwExamplesTarget
...
Test examples against latest release
2022-02-02 14:12:00 -08:00
natasha41575
3277ff9dbf
Test examples against latest release
2022-02-02 12:02:01 -08:00
Natasha Sarkar
746bd18a8c
Merge pull request #4449 from natasha41575/pinToApi
...
Pin to api v0.11.1
2022-02-02 11:02:13 -08:00
natasha41575
d7763045ea
Pin to api v0.11.1
2022-02-02 11:01:54 -08:00
Kubernetes Prow Robot
30612cfd17
Merge pull request #4447 from KnVerey/update_release_instr
...
Update release instructions to check for blockers
2022-02-02 11:00:06 -08:00
Natasha Sarkar
3006846d67
Merge pull request #4448 from natasha41575/pinToCmdConfig
...
Pin to cmd/config v0.10.4
2022-02-02 10:45:53 -08:00
natasha41575
2f9617ff56
Pin to cmd/config v0.10.4
2022-02-02 10:45:22 -08:00
Natasha Sarkar
28b3e9fb9c
Merge pull request #4446 from natasha41575/pinToKyaml
...
Pin to kyaml v0.13.3
2022-02-02 10:41:19 -08:00
Katrina Verey
6a7caf4192
Update release instructions to check for blockers
2022-02-02 13:37:39 -05:00
natasha41575
32e13bdf66
Pin to kyaml v0.13.3
2022-02-02 10:36:53 -08:00
Kubernetes Prow Robot
fcfd30ca18
Merge pull request #4445 from KnVerey/ordering_regression_4388
...
Fix regression 4388
2022-02-02 09:58:21 -08:00
Katrina Verey
a86723c3a3
Fix regression 4388
2022-02-02 12:36:03 -05:00
Natasha Sarkar
01d7fae382
Merge pull request #4443 from natasha41575/updateProwExamplesTarget
...
Test examples against latest release
2022-02-01 16:43:20 -08:00
Natasha Sarkar
39349c4fbc
Merge pull request #4442 from natasha41575/unpinEverything
...
Back to development mode; unpin the modules
2022-02-01 16:43:07 -08:00
natasha41575
836a721a47
Test examples against latest release
2022-02-01 16:33:47 -08:00
natasha41575
78e8d4318a
Back to development mode; unpin the modules
2022-02-01 16:32:40 -08:00
Natasha Sarkar
67591762a6
Merge pull request #4441 from natasha41575/pinToApi
...
Pin to api v0.11.0
2022-02-01 16:18:57 -08:00
natasha41575
f38648df34
Pin to api v0.11.0
2022-02-01 16:08:14 -08:00
Natasha Sarkar
d46bb0a453
Merge pull request #4440 from natasha41575/pinToCmdConfig
...
Pin to cmd/config v0.10.3
2022-02-01 15:45:47 -08:00
natasha41575
939545a007
Pin to cmd/config v0.10.3
2022-02-01 15:29:55 -08:00
Natasha Sarkar
fb768687ea
Merge pull request #4439 from KnVerey/update-year
...
Miscellaneous cleanup
2022-02-01 15:10:19 -08:00
Katrina Verey
7bc51153d0
Add missing header
2022-02-01 18:06:27 -05:00
Natasha Sarkar
2b3d9dd67b
Merge pull request #4438 from natasha41575/pinToKyaml
...
Pin to kyaml v0.13.2
2022-02-01 14:51:46 -08:00
Katrina Verey
98fce99f96
Commit missing go.sum updates
2022-02-01 17:42:37 -05:00
Katrina Verey
3c1e695f3f
Update year in all the addlicense targets
2022-02-01 17:41:44 -05:00
natasha41575
91ff4eefb2
Pin to kyaml v0.13.2
2022-02-01 14:41:11 -08:00
Kubernetes Prow Robot
f0c0d931fe
Merge pull request #4437 from natasha41575/fixMake
...
fix test-unit-kustomize-api
2022-02-01 14:25:49 -08:00
natasha41575
f5b2b751eb
fix test-unit-kustomize-api
2022-02-01 14:16:00 -08:00
Kubernetes Prow Robot
cfd9278fd8
Merge pull request #4431 from sdowell/implement-trackable-filters
...
Implement trackable filters
2022-02-01 10:14:10 -08:00
koba1t
b79d77a8a7
add replacements every element match test
2022-01-30 18:52:53 +09:00
John Matthews
91f65b3441
Install arch appropriate build if the 'arch' command is present
2022-01-29 11:17:48 -05:00
Sam Dowell
ba55d95542
feat: implement TrackableFilter for suffix
...
This change updates the suffix filter to implement the TrackableFilter
interface. This provides the functionality for the user to track which
fields were updated by the suffix filter.
2022-01-28 21:25:35 +00:00
Sam Dowell
851b3fc28c
feat: implement TrackableFilter for replicacount
...
This change updates the replicacount filter to implement the
TrackableFilter interface. This provides the functionality for the
user to track which fields were updated by the replicacount filter.
2022-01-28 21:25:34 +00:00
Sam Dowell
90493ec374
feat: implement TrackableFilter for prefix
...
This change updates the prefix filter to implement the TrackableFilter
interface. This provides the functionality for the user to track which
fields were updated by the prefix filter.
2022-01-28 21:25:34 +00:00
Sam Dowell
51b767b06e
feat: implement TrackableFilter for namespace
...
This change updates the namespace filter to implement the TrackableFilter
interface. This provides the functionality for the user to track which
fields were updated by the namespace filter.
2022-01-28 21:25:34 +00:00
Sam Dowell
e3160373f0
test: add testutil for mutation tracker
...
This change provides a common test util for a mutation tracker stub.
This is intended to reduce the duplicated boilerplate as additional
filters implement the TrackableFilter interface.
2022-01-28 21:25:34 +00:00
Kubernetes Prow Robot
a5b61016bb
Merge pull request #4425 from sdowell/fieldspec-sequencenode-fieldpath
...
fix: set FieldPath for SequenceNode elements
2022-01-27 10:22:00 -08:00
Kubernetes Prow Robot
d62cc6d6a2
Merge pull request #4426 from KnVerey/update-maintainers
...
Update owners file
2022-01-26 17:44:51 -08:00
Natasha Sarkar
bcebad1664
new command kustomize edit add buildmetadata ( #4413 )
...
* new command kustomize edit add buildmetadata
* new commands kustomize edit set buildmetadata and kustomize edit remove buildmetadata
2022-01-26 15:34:50 -08:00
Sam Dowell
9abf5fca3c
fix: set FieldPath for SequenceNode elements
...
The FieldPath was not being set for nodes underneath a SequenceNode
during fieldspec's traversal. This is in part because handleSequence
uses VisitElements in contrast to a PathGetter as is done by handleMap.
The accuracy of FieldPath is more relevant now with the recently added
support of mutation trackers in filtersutil. This change fixes the
case where a mutation tracker callback is called on a SequenceNode
element and the node does not have an accurate FieldPath value.
2022-01-26 23:33:25 +00:00
koba1t
26b9af0379
Allow setting every array element in replacements
2022-01-27 06:17:23 +09:00
Kubernetes Prow Robot
c65ef489ca
Merge pull request #4418 from sdowell/imagetag-trackable-filter
...
Imagetag trackable filter
2022-01-25 14:15:41 -08:00
Kubernetes Prow Robot
c754eadabc
Merge pull request #4396 from mengqiy/oabench
...
Add benchmark test for parsing openapi in protobuf format
2022-01-25 12:23:42 -08:00
Mengqi Yu
816e2365bf
Add benchmark test for parsing openapi in protobuf format
2022-01-25 12:10:25 -08:00
Sam Dowell
302cc866ad
implement TrackableFilter interface with imagetag
...
This change updates the imagetag filter to implement the TrackableFilter
interface. This provides the functionality for the user to track which
fields were updated by the imagetag filter.
2022-01-24 22:42:48 +00:00
Sam Dowell
bf97d23a00
refactor: use SetScalar in imagetag filter
...
This change refactors imagetag to reuse the abstraction provided by
filtersutil. This change is intended to make imagetag more consistent
with other filters by using the same layer of abstraction (filtersutil),
and to prepare for upcoming changes which are planned to be implemented
at the filtersutil layer.
2022-01-24 22:02:16 +00:00
sdowell
3687250ca2
Add TrackableFilter interface ( #4410 )
...
* add kio filter interface
This interface is an extension of the Filter interface which can be used
for filters which are capable of tracking which fields they mutate.
* add TrackableSetter struct to filtersutil
This struct provides an abstraction to help Filters implement the
TrackableFilter interface
* implement TrackableFilter with annotations
This updates the annotations filter to implement the TrackableFilter
interface by reusing the TrackableSetter abstraction provided by
filtersutil.
This is done to provide a generic and consistent experience across the
filters
* implement TrackableFilter with labels
This updates the labels filter to implement the TrackableFilter
interface by reusing the TrackableSetter abstraction provided by
filtersutil.
This is done to provide a generic and consistent experience across the
filters
2022-01-24 11:05:32 -08:00
Kubernetes Prow Robot
69e5228264
Merge pull request #4411 from koba1t/fix_run-fns_command_help_message_typo
...
fix deprecated help message to `kustomize fn run --help`
2022-01-21 10:59:20 -08:00
koba1t
7af5ce56bd
fix deprecated command on run-fns help docs
2022-01-21 08:39:59 +09:00
Kubernetes Prow Robot
d711b275f0
Merge pull request #4373 from natasha41575/TransformerAnnotationsFull
...
set transformer annotations when the option is specified
2022-01-19 21:47:51 -08:00
natasha41575
9577d61167
move origin to be an attribute of KustTarget
2022-01-19 17:26:19 -08:00
natasha41575
2c23b960ff
set transformer annotation when the option is specified
2022-01-19 17:17:47 -08:00
Kubernetes Prow Robot
6e5d2674ce
Merge pull request #4377 from natasha41575/managedBy
...
deprecate enable-managedby-label flag in favor of a field
2022-01-19 17:03:51 -08:00
natasha41575
2554d690c8
deprecate enable-managedby-label flag in favor of a field
2022-01-19 16:53:27 -08:00
Katrina Verey
cec9298b2d
Update owners file to reflect active contributors
2022-01-18 22:32:01 -05:00
Thomas Dy
54ae9ba9fc
Update supported URLs in remoteBuild.md
2022-01-18 17:27:30 +09:00
Neo2308
b73dfe7f35
Remove exclude statements
2022-01-14 16:49:02 +05:30
Kubernetes Prow Robot
6e82b210a9
Merge pull request #4385 from kubernetes-sigs/revert-4329-configMapIssue
...
Revert "[fix] configMapGenerator: extra space in end of line gives "\n" instead of line breaks"
2022-01-12 11:52:13 -08:00
Natasha Sarkar
b0636459dd
Revert "[fix] configMapGenerator: extra space in end of line gives "\n" instead of line breaks"
2022-01-12 09:30:41 -08:00
Kubernetes Prow Robot
13e26004fd
Merge pull request #4357 from natasha41575/TransformerAnnotations
...
define methods, types, and unit tests for transformer annotations
2022-01-10 15:32:28 -08:00
Kubernetes Prow Robot
a1a0a49822
Merge pull request #4370 from sonthonaxrk/fix-helm-globals
...
Fix helm globals
2022-01-10 10:13:13 -08:00
Kubernetes Prow Robot
ff2a3d368b
Merge pull request #4294 from Jimmyscene/master
...
fix: prevent read file from throwing away OpenAPI config
2022-01-10 10:01:12 -08:00
Kubernetes Prow Robot
1c5ce6975f
Merge pull request #4312 from m-Bilal/fix-4240
...
Fixes 4240; added null check on namespace when resource is a RoleBinding
2022-01-10 09:43:13 -08:00
Rollo
fe99674fcd
Fix helm globals
2022-01-10 10:54:20 +00:00
m-Bilal
7674c220b1
Improved error message and test cases for 4240
2022-01-09 19:05:49 +05:30
Kubernetes Prow Robot
469ae33b50
Merge pull request #4369 from sdowell/labels-filter-set-entry
...
feat: add SetEntryCallback to labels filter
2022-01-06 16:06:30 -08:00
Sam Dowell
fbd949a95d
feat: add SetEntryCallback to labels filter
...
Add a configurable callback that is invoked each time a label is applied
by the labels filter. This is useful for scenarios such as tracking
labels as they are applied.
2022-01-06 01:01:09 +00:00
Kubernetes Prow Robot
c996d1fcab
Merge pull request #4367 from natasha41575/KubectlInstructions
...
instructions for how to upgrade kustomize in kubectl
2022-01-04 18:14:33 -08:00
natasha41575
41917ca588
instructions for how to upgrade kustomize in kubectl
2022-01-04 17:47:47 -08:00
Kubernetes Prow Robot
37668d87c4
Merge pull request #4361 from natasha41575/EditAddGenerator
...
add kustomize edit add generator command
2022-01-04 17:24:32 -08:00
natasha41575
92197fda9e
add kustomize edit add generator command
2022-01-04 15:26:46 -08:00
m-Bilal
ff7b2f20d5
Throwing error instead of silently ignoring invalid input
2022-01-01 21:52:37 +05:30
Kubernetes Prow Robot
59c8268245
Merge pull request #4334 from sylr/handle-http-errors
...
Handle HTTP error codes in file loader
2021-12-30 16:18:51 -08:00
natasha41575
4f21d60045
helper methods, types, and unit tests for transformer annotations
2021-12-29 15:27:34 -08:00
Kubernetes Prow Robot
77b1af2d91
Merge pull request #4352 from natasha41575/FilterErrors
...
prevent internal annotations from showing up in the errors thrown by filters
2021-12-29 13:45:22 -08:00
Kubernetes Prow Robot
bb0a520f40
Merge pull request #4355 from natasha41575/OriginTests
...
test coverage for origin annotations for generated resources
2021-12-29 11:41:22 -08:00
natasha41575
987437857f
test coverage for origin annotations for generated resources
2021-12-28 12:41:47 -08:00
Kubernetes Prow Robot
1843b6f25f
Merge pull request #4310 from sylr/upgrade-cobra
...
Upgrade cobra for better zsh support
2021-12-23 13:58:29 -08:00
Sylvain Rabot
31b7cf9e0a
Upgrade cobra for better zsh support
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-23 19:49:24 +01:00
Natasha Sarkar
964bb38ba2
add origin annotation for resources generated by generators ( #4341 )
...
* add origin annotation for resources generated by builtin and custom generators
* decouple origin data from generator data and account for inline generators
2021-12-23 10:40:29 -08:00
natasha41575
c659306ee2
don't surface entire node content in error message
2021-12-22 16:56:02 -08:00
Kubernetes Prow Robot
233f1a3c2a
Merge pull request #4344 from natasha41575/ResIdStr
...
improve gvk and resid strings for error messages
2021-12-22 12:27:03 -08:00
Kubernetes Prow Robot
75de98e2ef
Merge pull request #4055 from lstoll/lstoll-unrelated-name-reference
...
ConfigMapGenerator should not update unrelated ClusterRole rule
2021-12-22 12:15:04 -08:00
Julian
3dbc88bf94
Refactor the PrefixSuffixTransformer into separate prefix- and suffix transformers ( #4318 )
...
* Refactor prefix filter into its own filter, decoupled from the prefixsuffix filter
* Refactor prefix transformer into its own transformer, decoupled from the prefixsuffix transformer
* Refactor suffix filter into its own filter, decoupled from the prefixsuffix filter
* Refactor suffix transformer into its own transformer, decoupled from the prefixsuffix transformer
* Add a default nameSuffix field spec in addition to the namePrefix
* Remove the PrefixSuffixTransformer from the list of builtin transformers
* Add a multi-transformer to builtinhelpers.TransformFactories
* Remove the implementation of the prefixsuffixtransformer.PrefixSuffixTransformer
* Resolve style and format related feedback from the pull request
* Add test to test the legacy PrefixSuffixTransformer for BC purposes
2021-12-22 12:01:06 -08:00
Katrina Verey
d701792aa1
Update test demonstrating bug to pass, update comments
2021-12-22 14:53:50 -05:00
Lincoln Stoll
4079056501
ConfigMapGenerator should not update unrelated ClusterRole rule
...
When using the ConfigMap generator, a lease object entry is updated with the
generated configmap name. This should not happen as it's an unrelated object
type.
As a workaround a unique name can be used for the ConfigMap.
Fails on kustomize version 4.2.0 and kubectl version v1.21.2
2021-12-22 14:47:40 -05:00
natasha41575
6dfc238aa2
improve gvk and resid strings for error messages
2021-12-22 11:39:07 -08:00
Kubernetes Prow Robot
3608f335fd
Merge pull request #3924 from monopole/architecture
...
Add ARCHITECTURE.md
2021-12-22 11:35:04 -08:00
Katrina Verey
56efec5abc
Minor updates and clarifications
2021-12-22 14:23:00 -05:00
monopole
2a608bd71c
Add ARCHITECTURE.md
2021-12-22 12:07:27 -05:00
Kubernetes Prow Robot
ee4b7847f0
Merge pull request #4221 from devstein/master
...
docs: Update Plugin Links
2021-12-20 16:37:07 -08:00
Kubernetes Prow Robot
ec38bbeb99
Merge pull request #4342 from natasha41575/moduleSpanDefault
...
Remove module span check
2021-12-15 11:45:51 -08:00
natasha41575
26999664e6
remove multi-module check
2021-12-15 11:06:38 -08:00
Kubernetes Prow Robot
c0b61b9442
Merge pull request #4332 from natasha41575/OriginCollection
...
collect origin data only when the option is set
2021-12-13 13:10:26 -08:00
Kubernetes Prow Robot
274a76fe84
Merge pull request #4267 from natasha41575/TransformerAnnotationsProposal
...
Proposal: Option for transformer annotations
2021-12-13 12:05:58 -08:00
natasha41575
a8f58b4080
collect origin data only when the option is set
2021-12-13 11:38:03 -08:00
natasha41575
542b7c7c4c
proposal for transformer annotations option
2021-12-10 12:31:19 -08:00
Sylvain Rabot
16495c6ed7
Test HTTP Error thrown by the file loader
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-10 09:28:54 +01:00
Sylvain Rabot
738573b079
Error on HTTP resources are not nescessarly protocol related
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-10 09:27:37 +01:00
Sylvain Rabot
e65e571ed1
Do not try to load HTTP resources from FS when error occurs
...
It is useless and it clogs the error message.
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-08 18:24:29 +01:00
Sylvain Rabot
49b464fd4d
Handle HTTP error codes in file loader
...
GitHub release files like https://github.com/fluxcd/helm-controller/releases/download/v0.14.0/helm-controller.crds.yaml
seems to be hosted on Azure and it seems that there are egress limits that can be reached, e.g.:
```xml
<?xml version="1.0" encoding="utf-8"?><Error><Code>ServerBusy</Code><Message>Egress is over the account limit.
RequestId:f4a46b38-001e-0046-2437-ec16e2000000
Time:2021-12-08T13:28:03.8542138Z</Message></Error>
```
This patch allows to have a clear Error message instead of just `missing Resource metadata`:
```
Error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/fluxcd/source-controller/releases/download/v0.19.0/source-controller.crds.yaml ': URL returned error 503 (Service Unavailable)': evalsymlink failure on '/private/var/folders/hq/ttl6jyh539q55fz6282w0jyc0000gn/T/kustomize-3508224975/releases/download/v0.19.0/source-controller.crds.yaml' : lstat /private/var/folders/hq/ttl6jyh539q55fz6282w0jyc0000gn/T/kustomize-3508224975/releases: no such file or directory
```
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-08 14:31:35 +01:00
Kubernetes Prow Robot
9a875add84
Merge pull request #4329 from natasha41575/configMapIssue
...
[fix] configMapGenerator: extra space in end of line gives "\n" instead of line breaks
2021-12-07 18:07:40 -08:00
natasha41575
a3d547ccd3
fix issue with multiline configmap data with extra space
2021-12-03 15:28:22 -08:00
natasha41575
c4a8a99834
add regression tests for multiline configmap with space
2021-12-03 15:12:21 -08:00
Kubernetes Prow Robot
bc3b249489
Merge pull request #4328 from mengqiy/undeprecate
...
Remove the deprecation warning for a few RNode helpers
2021-12-03 14:12:36 -08:00
Mengqi Yu
cd2c6a1ad1
Remove the deprecation warning for a few RNode helpers
...
The Pipe method is not as intuitive as these helpers. These helpers
are convenient and useful. Deprecating them before we have better
alternatives is premature.
2021-12-03 11:47:34 -08:00
Kubernetes Prow Robot
8c6af9440c
Merge pull request #4327 from mengqiy/fixanno
...
use internal.config.kubernetes.io prefix instead of internal.config.k8s.io
2021-12-03 10:02:27 -08:00
Mengqi Yu
6850408f6c
update test for cmd/config
2021-12-02 14:00:45 -08:00
Mengqi Yu
ec445049be
update tests for api
2021-12-02 14:00:32 -08:00
Mengqi Yu
646915cb86
use internal.config.kubernetes.io prefix instead of internal.config.k8s.io
2021-12-02 14:00:18 -08:00
Kubernetes Prow Robot
fe551be87b
Merge pull request #4326 from natasha41575/deprecateStringAndDatePrefixer
...
deprecate StringPrefixer and DatePrefixer
2021-12-02 10:41:44 -08:00
natasha41575
30280f81af
deprecate stringprefixer and dateprefixer
2021-12-02 10:30:56 -08:00
Kubernetes Prow Robot
8cb60f0c5d
Merge pull request #4325 from sdowell/kyaml-fn-sort-results
...
feat: Add Sort method to kyaml fn Results
2021-12-02 10:01:33 -08:00
Sam Dowell
9d29f57789
feat: Add Sort method to kyaml fn Results
...
Issues: GoogleContainerTools/kpt#2195
2021-12-01 20:57:48 +00:00
Kubernetes Prow Robot
a3e1c99915
Merge pull request #4307 from sdowell/annotations-filter-set-entry
...
feat: Add SetEntryCallback to annotations filter
2021-11-29 18:20:56 -08:00
Sam Dowell
0fe1236e20
feat: Add SetEntryCallback to annotations filter
...
Add a configurable callback that is invoked each time an
annotation is applied by the annotations filter. This is useful
for scenarios such as tracking annotations as they are applied.
Issues: GoogleContainerTools/kpt#2448
2021-11-30 01:21:42 +00:00
m-Bilal
b28f1e55b7
fixes 4240; added null check on namespace when resource is a RoleBinding
2021-11-27 19:53:49 +05:30
Kubernetes Prow Robot
25ee506af4
Merge pull request #4300 from yuwenma/refactor-builtin
...
Move api/builtin to internal
2021-11-22 16:04:16 -08:00
Yuwen Ma
a1c5d79d94
Move api/builtin to internal
2021-11-22 15:54:18 -08:00
Kubernetes Prow Robot
de5210b43a
Merge pull request #4299 from yuwenma/nameReference-doc
...
[Doc] Improve `nameReference` docs, examples and builtin references.
2021-11-22 13:25:32 -08:00
Yuwen Ma
d9c4c749e2
improve docs with examples for nameReference
2021-11-22 13:10:13 -08:00
Natasha Sarkar
01420768c8
Merge pull request #4241 from Goodwine/kyaml-result-provider
...
Handle "Result" errors as non-fatal errors in kyaml FilterFuncs
2021-11-22 11:07:18 -08:00
Natasha Sarkar
d11342489a
Merge pull request #4297 from mengqiy/anno
...
kyaml/fn/framework ensures the annotation output format matches the input
2021-11-19 12:37:01 -08:00
Mengqi Yu
bd7bad19a1
add to BuildAnnotations
2021-11-19 12:13:12 -08:00
Mengqi Yu
dfc627068b
update tests for cmd/config module
2021-11-19 07:30:31 -08:00
Mengqi Yu
166c2e766b
update tests for api module
2021-11-19 07:30:31 -08:00
Mengqi Yu
2ee2d3e389
use custom id as key of the mapping and make kio.Pipeline behave the same as framework.Execute
2021-11-19 07:30:31 -08:00
Mengqi Yu
81edfb7ee8
default result.severity to info when formatting string
2021-11-19 07:30:31 -08:00
Mengqi Yu
4e7aebc20c
address comments
2021-11-18 14:58:04 -08:00
Mengqi Yu
5caed5b90a
kyaml/fn/framework ensures the annotation output format matches the input
...
If the input only contains legacy format anntations (path, index, id), the
output will be the same.
2021-11-17 14:09:19 -08:00
Jimmyscene
f4d8ccda10
fix: prevent read file from throwing away OpenAPI config
2021-11-16 22:59:34 -05:00
Goodwine
4cde50ab14
fix typo
...
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2021-11-11 16:33:17 -08:00
Kubernetes Prow Robot
2f115223cc
Merge pull request #4285 from KnVerey/updateProwExamplesTarget
...
Test examples against latest release
2021-11-11 16:12:28 -08:00
Katrina Verey
92c505a211
Test examples against latest release
2021-11-11 16:00:51 -08:00
Kubernetes Prow Robot
e9ea7657ee
Merge pull request #4284 from KnVerey/unpinEverything
...
Back to development mode; unpin the modules
2021-11-11 15:59:15 -08:00
Katrina Verey
4bcc57de74
Back to development mode; unpin the modules
2021-11-11 15:49:01 -08:00
Kubernetes Prow Robot
b2d65ddc98
Merge pull request #4283 from KnVerey/pinToApi
...
Pin to api v0.10.1
2021-11-11 15:27:14 -08:00
Carlos Ortiz García
894ffec36a
Handle kyaml Filter errors type Result as non-breaking errors and store in ResourceList
...
- Result can only count as error when passed as pointer, this makes easy use of "errors.As"
- Existing Filter() implementations that return Result from the `framework` package won't return an error anymore but modify the ResourceList
2021-11-11 15:26:07 -08:00
Katrina Verey
3db4a94281
Pin to api v0.10.1
2021-11-11 15:18:05 -08:00
Kubernetes Prow Robot
326a57a9cc
Merge pull request #4282 from KnVerey/pinToCmdConfig
...
Pin to cmd/config v0.10.2
2021-11-11 15:03:14 -08:00
Katrina Verey
9dfdebc6c7
Pin to cmd/config v0.10.2
2021-11-11 14:53:17 -08:00
Natasha Sarkar
b896e04c20
Merge pull request #4281 from KnVerey/pinToKyaml
...
Pin to kyaml v0.13.0
2021-11-11 14:39:53 -08:00
Katrina Verey
6ecae1ad50
Also pin patch and patchjson transformers
2021-11-11 14:30:39 -08:00
Katrina Verey
9abb72e4d6
Pin to kyaml v0.13.0
2021-11-11 14:12:13 -08:00
Kubernetes Prow Robot
6365b3d0cf
Merge pull request #4280 from KnVerey/more_releases
...
Add s390x and ppc64le binaries to releases
2021-11-11 13:52:07 -08:00
Katrina Verey
33c2ea01c4
Add s390x and ppc64le binaries to releases
2021-11-11 13:37:50 -08:00
Kubernetes Prow Robot
863ff0ef1b
Merge pull request #4262 from patricknelson/fix-windows-build
...
Fix windows build, add clarity to goreleaser build (due to race conditions).
2021-11-11 13:32:08 -08:00
Patrick Nelson
a5117083ec
Step 2 of 2: Adding windows build back and added ability to reproduce goreleaser builds locally (localbuild.sh) in a way exactly consistent with Cloud Build (cloudbuild.sh) but as a *build* only, without being coupled to Cloud Build or it's dependencies (like Cloud KMS, GitHub, etc).
2021-11-11 12:17:42 -08:00
Patrick Nelson
a143688a1d
Step 1 of 2: Renaming localbuild.sh to cloudbuild-local.sh (preserve commit history) to make way for new localbuild.sh which will actually be entirely local, since this script is still very specific to Cloud Build.
2021-11-10 19:03:22 -08:00
Kubernetes Prow Robot
0676d0bd11
Merge pull request #4266 from Serializator/issue-4111-patchJson6902
...
Fix name suffix not being applied when "patchesJson6902" is used
2021-11-10 15:13:50 -08:00
Julian van den Berkmortel
b6cb6c8ae9
fix build annotations getting lost after applying JSON 6902 patch
2021-11-10 23:02:42 +01:00
Julian van den Berkmortel
b16e4ec566
add test to demonstrate internal annotations getting lost ( #4111 )
2021-11-10 21:33:50 +01:00
Mohd Bilal
cb1cbbe044
Fixes 4108; remove hidden files in kustomize edit command to correctly mimic shell globbing behaviour ( #4170 )
...
* util and util_test corrected
* fixed behaviour of fsondisk with test updated
* glob behaviour fixed in fsnode
* removed commented code
2021-11-10 08:51:26 -08:00
Kubernetes Prow Robot
86fb408b2c
Merge pull request #4276 from natasha41575/fixFunctionSpec
...
fix function spec example
2021-11-09 21:05:26 -08:00
natasha41575
ca5d691199
fix function spec example
2021-11-09 20:56:36 -08:00
Kubernetes Prow Robot
394567079d
Merge pull request #4272 from mengqiy/pointer
...
Make ResourceList follow k8s api conventions
2021-11-09 15:41:26 -08:00
Kubernetes Prow Robot
e0c8ebc41f
Merge pull request #4235 from Goodwine/kyaml-wrap-bug
...
Fix kyaml readwriter inconsistencies when wrapping resources
2021-11-09 12:37:48 -08:00
Kubernetes Prow Robot
8668691ade
Merge pull request #4271 from natasha41575/ReplacementsEdit
...
Fix: replacements entries get source and targets with null value appended
2021-11-09 10:49:47 -08:00
Mengqi Yu
374d790a21
Make ResourceList follow k8s api conventions
...
Make optional fields as pointers.
Add omitempty for optional fields.
2021-11-08 21:35:49 -08:00
natasha41575
d8f406d06f
add omitempty tag to replacement sources and targets
2021-11-08 12:33:30 -08:00
natasha41575
46b3cd2109
modify edit test for null replacements fields
2021-11-08 12:21:45 -08:00
Carlos Ortiz García
20c608989a
Move kio.ByteRW tests from framework_test to byteio_readwriter_test
2021-11-08 11:55:02 -08:00
Carlos Ortiz García
ba4d83f75f
only override wrapping kind if it wasn't set already
2021-11-08 11:29:57 -08:00
Carlos Ortiz García
067559127d
test cases for framework wrapping/unwrapping bug
2021-11-08 10:13:00 -08:00
Kubernetes Prow Robot
37ab5579f0
Merge pull request #4229 from natasha41575/annotationAndLabelSelectionInReplacements
...
Annotation and label selection in replacement targets
2021-11-04 13:08:23 -07:00
natasha41575
ef5f1d347d
support label and annotation selection in replacement targets
2021-11-04 12:25:15 -07:00
Kubernetes Prow Robot
2c4b195516
Merge pull request #4259 from MikaelSmith/fix-patch-example
...
docs: Update example for patching multiple objects
2021-11-01 16:01:54 -07:00
Kubernetes Prow Robot
04396ab4e6
Merge pull request #4203 from timofurrer/config-map-consistency
...
Add consistency to ConfigMap spelling
2021-11-01 15:47:54 -07:00
Kubernetes Prow Robot
4fd77b3a6e
Merge pull request #4248 from natasha41575/resourceListResults
...
[breaking] update results field of ResourceList to implement function spec v1
2021-10-29 14:51:09 -07:00
natasha41575
3ea8b79925
update results field of ResourceList to implement function spec v1
2021-10-29 14:28:50 -07:00
Natasha Sarkar
71b978da1a
Merge pull request #4253 from natasha41575/resourceListSDKHelpers
...
provide utility helpers for preserving internal annotations
2021-10-29 14:25:06 -07:00
Natasha Sarkar
7110298c52
Merge pull request #4249 from natasha41575/resourceListV1
...
bump ResourceList from v1alpha1 to v1
2021-10-29 14:24:10 -07:00
natasha41575
b4a69f08c0
provide utility helpers for preserving internal annotations
2021-10-29 12:30:55 -07:00
Michael Smith
572d5841c6
docs: Update example for patching multiple objects
...
Updates the example for patching multiple objects to match the
implementation in #1355 , which supports name as a regular expression
(not wildcard pattern).
2021-10-26 12:28:42 -07:00
Kubernetes Prow Robot
984a2dab3d
Merge pull request #4242 from natasha41575/configmapissue
...
fix issue with quotations being dropped in configmap generation
2021-10-24 18:54:22 -07:00
natasha41575
c3c02887ec
bump ResourceList from v1alpha1 to v1
2021-10-19 16:15:27 -07:00
natasha41575
ba051c863b
fix issue with quote being dropped in configmap generation
2021-10-14 18:30:28 -07:00
natasha41575
4d59146e48
test for dropped quote in configmap generation
2021-10-14 18:13:49 -07:00
Kubernetes Prow Robot
5765ab4dbc
Merge pull request #4236 from Goodwine/docs-fn
...
Update documents from 'kustomize configuration' to 'kustomize fn'
2021-10-13 18:35:28 -07:00
Kubernetes Prow Robot
4769751943
Merge pull request #4160 from osherdp/fix/github-rate-limiter-output
...
Return a meaningful message if we hit the rate-limiter of GitHub
2021-10-13 18:23:28 -07:00
Kubernetes Prow Robot
e506ce021e
Merge pull request #4230 from yutachaos/feature/update_unified_go_version
...
Update go version 1.16 for CI
2021-10-13 18:09:28 -07:00
Kubernetes Prow Robot
ed763991de
Merge pull request #4227 from natasha41575/MigrateIndexPathIdAnnotations
...
fix bug with migrating kyaml reader path, index, and id annotations
2021-10-12 18:37:48 -07:00
natasha41575
55ac9ca88d
fix bug with migrating annotations
2021-10-12 15:42:54 -07:00
Carlos Ortiz García
548f5ffca9
Update documents from 'configuration' to 'fn'
2021-10-11 12:35:22 -05:00
yutachaos
dd3377b1a0
Update CI go version 1.16
...
Signed-off-by: yutachaos <18604471+yutachaos@users.noreply.github.com >
2021-10-08 14:02:50 +09:00
natasha41575
605239a1e5
test to demonstrate broken annotation selection
2021-10-07 15:40:23 -07:00
Kubernetes Prow Robot
67c58ad4f4
Merge pull request #4210 from natasha41575/openapiFromComponent
...
fix issue with getting openapi schema from components
2021-10-04 19:27:49 -07:00
natasha41575
11e19a3d0f
separate custom openapi test from the others
2021-10-04 18:48:54 -07:00
Kubernetes Prow Robot
6fffcb9203
Merge pull request #4202 from cedarkuo/update-helloworld-example-readme
...
Updated README to use 'resources' instead of 'bases' in overlays example.
2021-10-04 14:26:41 -07:00
Devin Stein
3479b6691e
docs: Update plugin links
2021-10-04 12:58:16 -07:00
Kubernetes Prow Robot
68790e00a9
Merge pull request #4216 from mengqiy/updatedockerfilegen
...
update the dockerfile gen command
2021-09-29 13:51:22 -07:00
Mengqi Yu
6cf06fac12
update the dockerfile gen command
2021-09-29 13:34:11 -07:00
natasha41575
0d8c107362
fix issue with openapi schema from components
2021-09-27 17:00:14 -07:00
natasha41575
f30e45c549
test to demonstrate issue with openapi from components ( #4179 )
2021-09-27 16:29:08 -07:00
Kubernetes Prow Robot
250ea13767
Merge pull request #4208 from KnVerey/release_instructions
...
Small improvements to release instructions
2021-09-27 11:41:45 -07:00
Katrina Verey
608128738d
Small improvements to release instructions
2021-09-27 10:44:02 -07:00
Kubernetes Prow Robot
7153f33466
Merge pull request #4207 from KnVerey/updateProwExamplesTarget
...
Test examples against latest release
2021-09-27 10:11:36 -07:00
Kubernetes Prow Robot
274b12318d
Merge pull request #4205 from natasha41575/releasing
...
add link to k8s-staging-kustomize project to releasing instructions
2021-09-27 10:01:37 -07:00
Katrina Verey
94c82f61a3
Test examples against latest release
2021-09-27 09:51:01 -07:00
Kubernetes Prow Robot
d260f50573
Merge pull request #4206 from KnVerey/unpinEverything
...
Back to development mode; unpin the modules
2021-09-27 09:47:37 -07:00
Katrina Verey
40c014a991
Back to development mode; unpin the modules
2021-09-27 09:37:38 -07:00
natasha41575
75c8aec29d
add link to k8s-staging-kustomize project to releasing instructions
2021-09-27 09:35:40 -07:00
Kubernetes Prow Robot
fcb9c0065e
Merge pull request #4200 from KnVerey/go1.17_build_tags
...
Add go 1.17 build tags, which go fmt auto-synchronizes
2021-09-27 09:27:36 -07:00
Katrina Verey
63ec6bdb3d
Merge pull request #4199 from KnVerey/pinToApi
...
Pin to api v0.10.0
2021-09-27 09:13:36 -07:00
Kubernetes Prow Robot
25bfe6f306
Merge pull request #4204 from KnVerey/release_updates
...
Use keyring from kustomize GCP project with new token
2021-09-27 09:01:35 -07:00
Timo Furrer
635c4fd43b
Merge branch 'master' into config-map-consistency
2021-09-27 09:16:42 +02:00
Timo Furrer
c455215f55
Add consistency to ConfigMap spelling
2021-09-27 09:11:56 +02:00
cedarkuo
8f56f51307
Updated README to use 'resources' instead of 'bases' in overlays example.
...
Kubernetes v1.21 upgrade kustomize-in-kubectl to v4.0.5. https://github.com/kubernetes/kubernetes/pull/98946
So I think this example could update back to use resources instead of bases?
2021-09-27 12:40:36 +08:00
Katrina Verey
70a8ed6ed3
Add go 1.17 build tags, which go fmt auto-synchronizes
2021-09-24 17:28:21 -07:00
Katrina Verey
febfaf16dc
Use keyring from kustomize GCP project with new token
2021-09-24 20:24:10 -04:00
Katrina Verey
8268b17700
Pin to api v0.10.0
2021-09-24 16:58:20 -07:00
Kubernetes Prow Robot
0889995a61
Merge pull request #4198 from KnVerey/pinToCmdConfig
...
Pin to cmd/config v0.10.1
2021-09-24 16:34:21 -07:00
Katrina Verey
4e476ae574
Pin to cmd/config v0.10.1
2021-09-24 16:07:21 -07:00
Kubernetes Prow Robot
7efd7d23fe
Merge pull request #4197 from KnVerey/pinToKyaml
...
Pin to kyaml v0.12.0
2021-09-24 14:07:50 -07:00
Katrina Verey
6fb944815b
Pin to kyaml v0.12.0
2021-09-24 12:23:09 -07:00
Kubernetes Prow Robot
5e3432fbbe
Merge pull request #4196 from natasha41575/test
...
fix tests for reader annotations
2021-09-24 08:31:24 -07:00
natasha41575
f0c6bd7773
fix tests for reader annotations
2021-09-24 08:20:44 -07:00
Jeff Regan
dd579c905d
Merge pull request #4180 from yuwenma/fix-4124
...
[Fix 4124] Skip local resource until all transformations have completed.
2021-09-24 08:05:19 -07:00
Jeff Regan
22b735885a
Merge pull request #4190 from natasha41575/MigrateIndexPathIdAnnotations
...
Migrate index path id annotations
2021-09-24 08:00:15 -07:00
Kubernetes Prow Robot
b7c5058e37
Merge pull request #4177 from sylr/helm-v3.6
...
Upgrade Helm v3 to v3.6.3
2021-09-24 07:45:24 -07:00
Kubernetes Prow Robot
baff5f4359
Merge pull request #4187 from monopole/deanchorCall
...
Do YAML anchor expansion shortly after reading YAML.
2021-09-22 13:14:33 -07:00
monopole
dce4ea5846
Add AnchorsAweigh option to ByteReader to toggle YAML alias/anchor expansion
2021-09-22 12:44:08 -07:00
Kubernetes Prow Robot
c47fc48607
Merge pull request #4193 from phanimarupaka/AddressBareSeqNodeComments
...
Clean up bare sequence node wrapping
2021-09-20 15:46:23 -07:00
Phani Teja Marupaka
1d9b6cbe57
Clean up bare sequence node wrapping
2021-09-20 15:35:40 -07:00
Kubernetes Prow Robot
1cb93123fc
Merge pull request #4189 from phanimarupaka/SkipNonKRMResources
...
Handle parsing of bare sequence yaml nodes
2021-09-20 11:40:24 -07:00
Kubernetes Prow Robot
c6cb42ec27
Merge pull request #4185 from KnVerey/standardize_owners_files
...
Use standard Kubernetes project roles for ownership
2021-09-20 10:44:10 -07:00
Natasha Sarkar
67a5f6d68f
support krm spec v1 and legacy path, index, and id annotations
2021-09-17 17:10:10 -07:00
Phani Teja Marupaka
e997cc5486
Handle parsing of bare sequence yaml nodes
2021-09-17 14:19:27 -07:00
Kubernetes Prow Robot
53577a5190
Merge pull request #4176 from m-Bilal/fix-4123
...
Fixes 4123; Length check on originalFields of kustomizationFile to prevent panic
2021-09-16 13:15:27 -07:00
Kubernetes Prow Robot
c1ae234a64
Merge pull request #4163 from natasha41575/multipleGvksInOpenApi
...
support multiple gvks in custom openapi schema
2021-09-16 12:59:26 -07:00
Natasha Sarkar
02cb395ec2
support multiple gvks in custom openapi schema
2021-09-16 12:43:18 -07:00
Kubernetes Prow Robot
65e7529ca0
Merge pull request #4097 from natasha41575/deprecateFn
...
deprecate fn wrap, xargs, sink, source commands
2021-09-16 12:25:27 -07:00
Natasha Sarkar
f70743b267
deprecate some fn commands
2021-09-16 11:48:02 -07:00
Yuwen Ma
f4382738ab
[fix 4124] Skip local resource until all transformations have completed.
...
Resources annotated as "local-config" are expected to be ignored. This skip local resource happens in "accumulateResources" which happens before any transformation operations.
However, the local resource may be needed in transformations.
Thus, this change removes the "drop local resource" logic from accumulateResources and removes these local resource after all transformation operations and var operations are done.
Note:
None of the existing ResMap functions can drop the resource slice easily: "Clear" will ruin the resource order, "AppendAll" only adds non-existing resource, "AbsorbAll" only add or modify but not delete.
Thus, we introduce a new func "Intersection" for resourceAccumulator that specificaly removes the resource by ID and keep the original order.
2021-09-16 11:15:05 -07:00
Yuwen Ma
a100dca303
[Fix 4124] Add unittest with the given example.
2021-09-16 11:14:07 -07:00
Jeff Regan
50414208d1
Merge pull request #4186 from monopole/cleanupTest
...
Clean up factor_test before adding DeAnchor call
2021-09-15 17:47:19 -07:00
monopole
e17a007719
Clean up factor_test before adding DeAnchor call
2021-09-15 17:26:50 -07:00
Katrina Verey
dd3c5f5c0a
Use standard Kubernetes project roles for ownership
2021-09-15 16:04:58 -07:00
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
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
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
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.
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
Natasha Sarkar
3350c7213c
option for origin data as annotation
2021-08-12 20:09:41 -07:00
Adrian Berger
7b5e43d343
Feature: Add edit set annotation ( #4073 )
...
* Add edit set annotation feature
* Apply suggested code improvements
* Apply suggested changes
* Fix regex, add more tests
* Add constant for common error message
* Fix too many characters per line error
* Use string concatenation instead, add FailNow call
2021-08-10 16:00:40 -07:00
Kubernetes Prow Robot
06661ea310
Merge pull request #4112 from natasha41575/updateOpenAPI
...
update openapi to v1.21.2
2021-08-10 10:44:40 -07:00
Natasha Sarkar
38b2b33503
update openapi to v1.21.2
2021-08-10 10:30:12 -07:00
Natasha Sarkar
f735d6fb3a
Merge pull request #4110 from KnVerey/update-openapi-scripts
...
Update openapi updater scripts
2021-08-10 09:38:11 -07:00
Katrina Verey
5cb5e07ac0
Update openapi updater scripts
2021-08-09 11:44:27 -07:00
Kubernetes Prow Robot
54778504ed
Merge pull request #4087 from campoy/fsnode-alias-fix
...
Avoid aliasing in fsnode by forcing copies for file contents
2021-08-04 20:32:56 -07:00
Kubernetes Prow Robot
1bfe0d08dc
Merge pull request #4102 from monopole/anchorsNotHonored
...
Kyaml anchor failure test.
2021-08-04 19:40:55 -07:00
monopole
56da9a58fc
Kyaml anchor failure test.
2021-08-04 17:10:04 -07:00
Kubernetes Prow Robot
54383bca25
Merge pull request #4085 from campoy/pkgio-reader-filesys
...
Add a filesys.FileSystem interface to kio.LocalPackageReader
2021-08-03 15:33:04 -07:00
Kubernetes Prow Robot
88461b4fed
Merge pull request #4088 from natasha41575/noMoreGenArgs
...
replace genargs with two separate annotations
2021-08-03 14:07:03 -07:00
brianpursley
aabbea3e78
Add unit tests for current behavior of strategic merge patch
2021-08-02 20:36:55 -04:00
brianpursley
adedca09f2
Add unit tests for current behavior of three way merge
2021-08-02 20:36:28 -04:00
Natasha Sarkar
9a27a9f19f
replace genargs with two separate annotations
2021-07-29 15:46:09 -07:00
Kubernetes Prow Robot
3ebdb3fcef
Merge pull request #4091 from natasha41575/RemovePathAnno
...
remove annotations added by the kyaml reader
2021-07-28 11:28:48 -07:00
Natasha Sarkar
97e7cb1512
remove annotations added by the kyaml reader
2021-07-27 17:56:58 -07:00
Francesc Campoy
262a2d9288
Avoid testing in memory for Windows tests
2021-07-26 16:14:46 -07:00
Kubernetes Prow Robot
91b862b556
Merge pull request #4084 from kubernetes-sigs/kustomize-in-kubectl-1.22
...
Update kustomize-in-kubectl chart for 1.22
2021-07-26 13:42:34 -07:00
Katrina Verey
b8ffc725c7
Update kustomize-in-kubectl chart for 1.22
2021-07-26 13:23:45 -07:00
Jeff Regan
76f1411922
Merge pull request #4082 from monopole/autoChanges
...
Automated go.sum and fmt changes under go 1.16.6
2021-07-24 09:42:29 -07:00
monopole
d1003d6f8f
Automated changes under go 1.16.6
2021-07-24 09:18:58 -07:00
Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -07:00
Kubernetes Prow Robot
94c5096a95
Merge pull request #4048 from natasha41575/DeprecateCfgCmds
...
Deprecate some cfg commands
2021-07-21 18:15:51 -07:00
Kubernetes Prow Robot
f35aeb6a8e
Merge pull request #4077 from abutcher/cdpath
...
Unset CDPATH in hack/install_kustomize.sh
2021-07-21 10:14:07 -07:00
Kubernetes Prow Robot
d6ce846047
Merge pull request #4076 from KnVerey/kyaml_fixture_fix
...
Make UpdateExpectedFromActual work with hierarchical testdata directories
2021-07-21 08:52:08 -07:00
Andrew Butcher
ec069e4f19
Unset CDPATH to restore default cd behavior.
2021-07-21 11:38:44 -04:00
Katrina Verey
c5adafd9ce
Make UpdateExpectedFromActual work with hierarchical testdata directories
2021-07-20 18:13:04 -07:00
Natasha Sarkar
16dcc98cff
deprecate some cfg commands
2021-07-19 14:31:20 -07:00
Kubernetes Prow Robot
59c410a70a
Merge pull request #4063 from dosmanak/mdrip_MYGOBIN
...
fix: Allow custom MYGOBIN in mdrip invocations
2021-07-19 10:30:52 -07:00
Francesc Campoy
9b586162d0
Add FileSystem interface to LocalPackageReadWriter and hook to LocalPackageReader
2021-07-16 14:48:22 -07:00
Francesc Campoy
803885049b
Avoid aliasing in fsnode by forcing copies for file contents and add a test
2021-07-16 13:56:08 -07:00
Francesc Campoy
be4fe7540e
Simplified tests with helper func
2021-07-16 11:06:32 -07:00
Francesc Campoy
927568eea2
Replace os.Stat call with FileSystem.Exists
2021-07-16 09:27:20 -07:00
Francesc Campoy
436d5e717c
All LocalPackageReader tests adapted, one fails
2021-07-16 09:12:42 -07:00
Francesc Campoy
d37fa66ebc
Adapt more LocalPackageReader tests
2021-07-15 18:21:42 -07:00
Francesc Campoy
e8a4bf6edc
Add FileSystem field to LocalPackageReader and one of its tests
2021-07-15 18:06:30 -07:00
Kubernetes Prow Robot
35d1c3f9b4
Merge pull request #4072 from natasha41575/Revert
...
revert 'fix kyaml issue with multiline scalars'
2021-07-15 14:37:02 -07:00
Natasha Sarkar
e17785af21
revert 'fix kyaml issue with multiline scalars'
2021-07-15 14:24:39 -07:00
Natasha Sarkar
0537b59f27
support yaml formatted openapi schema ( #4017 )
...
* support yaml formatted openapi schema
* suggested changes
2021-07-15 14:11:02 -07:00
Kubernetes Prow Robot
339e33d2f3
Merge pull request #4071 from KnVerey/update-yaml-script
...
Update fork updater script
2021-07-15 10:06:45 -07:00
Natasha Sarkar
f082ac02cf
fix multiline scalar value issue
2021-07-15 08:41:03 -07:00
Katrina Verey
9538ae1258
Update fork updater script
2021-07-15 08:31:32 -07:00
Kubernetes Prow Robot
34981b664f
Merge pull request #4069 from natasha41575/LineBreakIssue
...
fix kyaml issue with multiline scalars
2021-07-14 16:20:47 -07:00
Natasha Sarkar
477d8930e0
fix kyaml issue with multiline scalars
2021-07-14 15:19:21 -07:00
Kubernetes Prow Robot
b5091a566a
Merge pull request #4067 from natasha41575/demonstrateLineBreakIssue
...
demonstrate line break preservation issue in kyaml
2021-07-14 11:52:18 -07:00
Natasha Sarkar
9981c45554
demonstrate line break preservation issue in kyaml
2021-07-14 11:39:14 -07:00
phani
0f736ec7fd
Handle comments for seq indent derivation ( #4064 )
...
* Handle comments for seq indent derivation
* Suggested changes
2021-07-13 17:46:26 -07:00
Kubernetes Prow Robot
7826ad1e06
Merge pull request #4031 from rjferguson21/prefix-overlay-fail
...
Add failing test for replacements when using an overlay with a namePrefix
2021-07-13 14:42:01 -07:00
Frank Farzan
f4e6816338
Expand documentation of annotations used in manifests and KRM functions API ( #3995 )
...
* Expand documentation of annotations used in manifests and KRM function wire format.
- Reserve `internal.config.kubernetes.io` for control annotations
- Document `local-config` annotation in a seperate document (It's
orthogonal to KRM functions).
- There is a internal annotation that uses `config.k8s.io` instead of
`config.kubernetes.io` used by other annotations. See [1] and [2]. We
should avoid using two seperate annotation prefixes and audit the
codebase for any other annotation. Given the `id` control annotation is used
for comment preservation (no existing function should be modifying
it), I suggest moving this over to use
`fn-ctrl.config.kubernets.io/id`.
[1]: 7e8ba62e9f/kyaml/fn/runtime/runtimeutil/runtimeutil.go (L195)
[2]: https://github.com/kubernetes-sigs/kustomize/pull/2465
* Move path/index annotation to use internal prefix
* Clarify MUST NOT vs SHOULD NOT for internal annotations
* Update cmd/config/docs/api-conventions/functions-spec.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update cmd/config/docs/api-conventions/functions-spec.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Update cmd/config/docs/api-conventions/manifest-annotations.md
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
* Remove kusotmization as example
Co-authored-by: Katrina Verey <kn.verey@gmail.com >
2021-07-13 11:58:00 -07:00
Kubernetes Prow Robot
4a13725678
Merge pull request #4043 from phanimarupaka/PreserveIndentation
...
Make seq indent configurable and add retain seq indent functionality
2021-07-13 10:24:30 -07:00
Petr Studeny
ab9b010856
fix: Allow custom MYGOBIN in mdrip invokations
2021-07-13 14:34:50 +02:00
Phani Teja Marupaka
29be7fabe4
Suggested changes
2021-07-12 23:34:03 -07:00
Phani Teja Marupaka
74e867833a
First sequence indent wins
2021-07-09 14:10:30 -07:00
Rob Ferguson
91dc6d2a0f
add additional replacement transformer test with todos for failures
2021-07-09 12:45:47 -05:00
Rob Ferguson
3c1fd0e9cf
add replacement test failures
2021-07-09 10:39:38 -05:00
Rob Ferguson
4deeb7d59b
make replacement transformer test pass and add todo
2021-07-09 09:49:08 -05:00
Phani Teja Marupaka
89b12cfc62
Change annotation name, error if conflicting options
2021-07-09 01:32:48 -07:00
Phani Teja Marupaka
c07ffa5c1e
Update comments, tests, not expose indent option
2021-07-09 00:17:09 -07:00
Kubernetes Prow Robot
259fcfcef8
Merge pull request #4002 from natasha41575/resref
...
replace Resource.refBy with annotations
2021-07-08 17:26:54 -07:00
Phani Teja Marupaka
f81201b74d
Add options, keep seqindent annotation equivalent to index annotation
2021-07-08 14:54:23 -07:00
Phani Teja Marupaka
6dbc74b32e
Suggested changes
2021-07-07 23:22:15 -07:00
Phani Teja Marupaka
ed38b5fe2b
Make seq indent configurable and add retain seq indent functionality
2021-07-07 16:53:40 -07:00
Natasha Sarkar
a84badb834
replace Resource.refBy with annotations
2021-07-07 15:22:36 -07:00
phani
e1804cbc76
Retain field order after running any arbitrary functions on resources ( #4021 )
...
* Reorder resource fields
* Fix comment conflict
* Update e2e test ordering
* Suggested changes
2021-07-07 10:12:44 -07:00
Kubernetes Prow Robot
d13eef7951
Merge pull request #4040 from zhouhaibing089/fix-iampolicy-mod
...
iampolicygenerator: update module name
2021-07-07 09:46:44 -07:00
Kubernetes Prow Robot
0b4c6baf44
Merge pull request #4039 from zhouhaibing089/handle-dot-git-suffix
...
api/internal/git: handle .git suffix in repospec
2021-07-07 09:24:43 -07:00
Haibing Zhou
b3af54340c
iampolicygenerator: update module name
...
The previous module name is incorrect and seems to be copied from
another builtin plugin. This change fixes the name.
2021-07-05 14:11:32 -07:00
Haibing Zhou
8c14b9d1af
api/internal/git: handle .git suffix in repospec
...
This change adds a new test case for parsing url with `.git` suffix. In
that case, we should have the full url as clone spec with an empty
abspath.
2021-07-05 13:10:35 -07:00
Natasha Sarkar
d818ccae92
Merge pull request #4037 from natasha41575/pin
...
Unpin modules
2021-07-02 14:25:03 -07:00
Natasha Sarkar
4cea8b9785
Unpin modules
2021-07-02 14:10:05 -07:00
Kubernetes Prow Robot
84a36801e0
Merge pull request #4036 from joebowbeer/patch-1
...
Fix broken KEP link in README
2021-07-02 13:58:10 -07:00
Joe Bowbeer
6eb7b3508d
Fix broken KEP link in README
2021-07-02 13:12:22 -07:00
Rob Ferguson
2a5f4ac7d7
add failing test for replacements
2021-07-02 08:54:52 -05:00
Kubernetes Prow Robot
518a16d3ac
Merge pull request #4014 from brianpursley/doc-separator
...
Updated ByteReader to allow white space and comments content after --- when splitting YAML documents
2021-07-01 14:25:51 -07:00
Jeff Regan
d53a2ad45d
Merge pull request #4027 from monopole/deleteWindowsBuild
...
Temporarily remove windows build.
2021-06-30 15:37:56 -07:00
monopole
bb02a7645b
Temporarily remove windows build.
2021-06-30 15:36:57 -07:00
Jeff Regan
5a9d90c872
Merge pull request #4026 from monopole/upgradeGoReleaser
...
release process: upgrade to goreleaser v0.172.1 calling go1.16.5
2021-06-30 14:04:18 -07:00
monopole
4fd7269643
release process: upgrade to goreleaser v0.172.1 calling go go1.16.5
2021-06-30 14:02:55 -07:00
Kubernetes Prow Robot
1eb3c1a075
Merge pull request #4025 from KnVerey/pinToApi
...
Pin to api v0.8.11
2021-06-30 12:53:03 -07:00
Katrina Verey
a1746f2f8c
Pin to api v0.8.11
2021-06-30 12:42:04 -07:00
Kubernetes Prow Robot
b727febd08
Merge pull request #4023 from mengqiy/jsontag
...
add missing json tags
2021-06-30 12:37:03 -07:00
Natasha Sarkar
c819d69ae4
Merge pull request #4022 from KnVerey/pinToCmdConfig
...
Pin to cmd/config v0.9.13
2021-06-30 12:26:40 -07:00
Katrina Verey
bb6f83fb96
Pin to cmd/config v0.9.13
2021-06-30 12:16:04 -07:00
Mengqi Yu
02d14d724a
add missing json tags
2021-06-30 12:15:50 -07:00
Katrina Verey
aa92d83d8c
Pin to kyaml ( #4020 )
...
* Pin to kyaml
* Pin prefixsuffixtransformer to kyaml 0.11.0
* Pin replicacounttransformer to kyaml 0.11.0
2021-06-30 11:59:03 -07:00
Natasha Sarkar
5427ab7cc3
Merge pull request #4013 from KnVerey/go-yaml-fork
...
Internal go-yaml/yaml fork
2021-06-30 10:41:27 -07:00
Katrina Verey
e583f199b8
Comment out part of script that is likely only needed on first run
2021-06-30 10:18:11 -07:00
Katrina Verey
b465c20f65
Remove pinning to external fork
2021-06-30 10:15:02 -07:00
Natasha Sarkar
5c2c617ff0
fix affected cmd/config tests
2021-06-30 10:14:45 -07:00
Natasha Sarkar
3ab0665c19
fix affected kyaml tests
2021-06-30 10:14:45 -07:00
Natasha Sarkar
4b66043735
compact sequence indent
2021-06-30 10:14:45 -07:00
Natasha Sarkar
979f03e76c
remove serialization hack after bump
2021-06-30 10:14:44 -07:00
Natasha Sarkar
c8b049f57f
point to natasha's fork
2021-06-30 10:14:33 -07:00
Katrina Verey
f3d8883046
Internalize forked code
2021-06-30 10:13:33 -07:00
Natasha Sarkar
e308f321d3
fix leading newline issue
2021-06-30 10:13:33 -07:00
Natasha Sarkar
beea785ead
tests for compactSeqIndent
2021-06-30 10:13:33 -07:00
Natasha Sarkar
95c5b686be
add defaultSeqIndent method
2021-06-30 10:13:32 -07:00
Natasha Sarkar
0ddf68cc8a
compact sequence indentation option
2021-06-30 10:13:32 -07:00
Katrina Verey
4cadad5cfe
Internal copy of go-yaml at 496545a6307b2a7d7a710fd516e5e16e8ab62dbc
2021-06-30 10:13:30 -07:00
Katrina Verey
9e4a6397d6
Instructions and script for go-yaml fork
2021-06-28 17:04:04 -07:00
Katrina Verey
2e8a3b7c45
Use the forked go-yaml module
2021-06-28 15:29:32 -07:00
Kubernetes Prow Robot
276d0430bf
Merge pull request #4018 from phanimarupaka/DontAddFormatTags
...
Handle null values while formatting
2021-06-27 17:05:24 -07:00
Phani Teja Marupaka
1aa7a1e709
Handle null values while formatting
2021-06-27 16:55:16 -07:00
brianpursley
78737f5a38
Updated ByteReader to allow white space and comments on the same line after --- and throw an error if anything else is detected
2021-06-24 21:32:39 -04:00
Kubernetes Prow Robot
dac84d867e
Merge pull request #4010 from natasha41575/openapicommanddocs
...
fix openapi command help page
2021-06-23 08:54:10 -07:00
Natasha Sarkar
217e5c7268
fix openapi command help page
2021-06-22 18:46:34 -07:00
Jeff Regan
936ac37a2e
Update repospec_test.go
2021-06-21 14:30:11 -07:00
Kubernetes Prow Robot
cb4f5c3983
Merge pull request #4006 from runewake2/validate-data-map
...
Introduce Validate Data Map Function
2021-06-18 12:34:06 -07:00
Sam Wronski
1801d33287
Add error when datamap is nil
2021-06-18 10:14:17 -07:00
Sam Wronski
b01da61d83
Update argument name
2021-06-17 16:12:09 -07:00
Natasha Sarkar
23e28bb18a
change marshal indent to 2 ( #4005 )
2021-06-17 13:34:04 -07:00
Sam Wronski
a1f1c2d32f
Add documentation
2021-06-17 11:47:56 -07:00
Sam Wronski
10331d9560
Add GetValidatedDataMap to rnode
2021-06-17 01:46:35 -07:00
Francesc Campoy
60038d44f9
Add filesys.FileSystem to ignoreFileMatcher ( #3994 )
2021-06-16 17:16:20 -07:00
Kubernetes Prow Robot
24d06f83ca
Merge pull request #3998 from yhrn/star-fix
...
Remove debug fmt.Println breaking kpt Starlark output
2021-06-16 15:53:59 -07:00
Kubernetes Prow Robot
e76638f98d
Merge pull request #4000 from KnVerey/readme_update
...
Update kubectl kustomize section of readme
2021-06-16 14:47:59 -07:00
Kubernetes Prow Robot
ef1b9d4854
Merge pull request #3999 from campoy/patch-1
...
Test api in workflows
2021-06-16 14:29:59 -07:00
Katrina Verey
3c0f805674
Update kubectl kustomize section of readme
2021-06-16 14:26:40 -07:00
Francesc Campoy
324581594c
Test api for all platforms and skip those breaking on Windows
2021-06-16 14:18:48 -07:00
Francesc Campoy
7fae7d1bd6
Move api/filesys to kyaml/filesys ( #3997 )
...
* Move api/filesys to kyaml/filesys
* Add deprecated version of api/filesys with aliases to new code
* Use new kyaml/filesys package and update dependencies
* Migrate to kyaml/filesys and update dependencies
* Skip tests that break on Windows
2021-06-16 11:42:00 -07:00
Mattias Öhrn
0af3a75708
Remove debug fmt.Println breaking kpt Starlark output
2021-06-16 12:27:17 +02:00
Kubernetes Prow Robot
d39d7db9ed
Merge pull request #3966 from pacoxu/json-patch-v4.11.0
...
json-patch upgrade to v4.11.0
2021-06-15 15:25:43 -07:00
Kubernetes Prow Robot
a04a6de0ef
Merge pull request #3991 from natasha41575/convertvarstoreplacements
...
convert vars to replacements: mapping value with dot
2021-06-15 15:07:43 -07:00
Kubernetes Prow Robot
69a6708f9b
Merge pull request #3996 from khrisrichardson/kustomize-build-as-current-user
...
expose --as-current-user flag to kustomize build command
2021-06-15 12:53:43 -07:00
Khris Richardson
c19a972739
expose --as-current-user via AddFunctionBasicsFlags
2021-06-15 12:30:37 -07:00
Khris Richardson
2e674337b3
expose --as-current-user via GetRunFnRunner
2021-06-15 12:30:17 -07:00
Khris Richardson
727e24f365
append AsCurrentUser to FnPluginLoadingOptions
2021-06-15 12:29:59 -07:00
Natasha Sarkar
7e8ba62e9f
Merge pull request #3986 from campoy/filesys-default
...
Filesys default
2021-06-14 12:55:35 -07:00
Kubernetes Prow Robot
fe60d0c403
Merge pull request #3992 from mortent/AllowErrorForResourceHandler
...
Allow the Handle function of the ResourceHandler interface to return an error
2021-06-14 09:55:04 -07:00
Morten Torkildsen
2e0556b544
Allow the Handle function of the ResourceHandler interface to return an error
2021-06-13 15:06:08 -07:00
Kubernetes Prow Robot
479acac581
Merge pull request #3987 from mortent/AddResourceHandlerForMerge3
...
Allow users to customize handling of deleted resources for merge3
2021-06-11 18:19:00 -07:00
Natasha Sarkar
3b37fed24b
convert vars to replacements: mapping value with dot
2021-06-11 13:45:04 -07:00
Kubernetes Prow Robot
8fdb3f1703
Merge pull request #3926 from natasha41575/ConvertVarsToReplacements
...
convert vars to replacements
2021-06-11 13:01:00 -07:00
Morten Torkildsen
95e242353b
Allow users to customize handling of deleted resources for merge3
2021-06-11 11:37:24 -07:00
Francesc Campoy
199802a176
Ensure 'not exist' errors wrap os.ErrNotExist ( #3982 )
...
* Ensure 'not exist' errors wrap os.ErrNotExist
* Update go.sum
* Use an error type to avoid changing the error's string
2021-06-11 09:44:59 -07:00
Kubernetes Prow Robot
065432e074
Merge pull request #3984 from natasha41575/replacementWithDot
...
Replacement with dot
2021-06-10 18:12:13 -07:00
Francesc Campoy
62fd36facb
Updating go.sum
2021-06-10 16:56:50 -07:00
Natasha Sarkar
f121e74744
convert vars to replacements
2021-06-10 15:29:28 -07:00
Jeff Regan
5aa2f534be
Merge pull request #3985 from monopole/stringslice
...
Gather some string slice utils.
2021-06-10 14:30:15 -07:00
monopole
86dd74fd62
Gather some string slice utils.
2021-06-10 13:34:20 -07:00
Natasha Sarkar
218da9858f
support mapping values with '.' in replacements fieldpaths
2021-06-10 11:33:05 -07:00
Natasha Sarkar
cebda58437
test for '.' in replacement mapping value
2021-06-10 11:15:05 -07:00
Francesc Campoy
6a82437bc9
Renaming to better name
2021-06-10 09:53:49 -07:00
Francesc Campoy
6b9e8eb891
Add a new type that defaults to FsOnDisk for convenience
2021-06-09 18:00:30 -07:00
Jeff Regan
615984bf2d
Merge pull request #3977 from KnVerey/roadmap
...
Commit roadmap presented to SIG-CLI
2021-06-09 14:43:01 -07:00
Katrina Verey
bc6ac8a68a
Commit roadmap presented to SIG-CLI
2021-06-09 14:37:54 -07:00
Kubernetes Prow Robot
39f24ef8d2
Merge pull request #3956 from natasha41575/ReplacementPreviousIds
...
replacements should be able to use previous IDs
2021-06-09 10:45:26 -07:00
pacoxu
24294d3bd0
upgrade json-patch 4.11.0
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-06-09 12:34:19 +08:00
Jeff Regan
234fcbfc02
Update OWNERS_ALIASES
2021-06-08 16:59:45 -07:00
Jeff Regan
b54093ebca
Merge pull request #3972 from KnVerey/contributor_ladder
...
Document contributor roles
2021-06-08 16:43:18 -07:00
Katrina Verey
db307a7084
Document contributor roles
2021-06-08 16:39:37 -07:00
Jeff Regan
a0c7997b66
Merge pull request #3963 from natasha41575/KustomizeEditFix
...
small `api` changes for kustomize fix
2021-06-08 13:52:06 -07:00
Natasha Sarkar
7458a53a73
copy method for selector
2021-06-08 11:18:38 -07:00
Natasha Sarkar
cf6e6ca4db
omitempty for replacement type
2021-06-08 11:18:27 -07:00
Natasha Sarkar
e847ec7474
ReadDir method for filesys
2021-06-08 11:18:11 -07:00
Jeff Regan
440026b9b3
Merge pull request #3965 from mengqiy/listcomments
...
handle comments in list correctly
2021-06-07 17:32:53 -07:00
Kubernetes Prow Robot
64331ad845
Merge pull request #3964 from ash2k/ash2k/handle-errors2
...
Handle errors
2021-06-07 16:26:03 -07:00
Mengqi Yu
294070b3ab
address comments
2021-06-07 15:06:57 -07:00
Mengqi Yu
cabbea0d97
handle comments in list correctly
2021-06-07 14:57:49 -07:00
Jeff Regan
732a8522df
Merge pull request #3968 from monopole/fixFailingHelmTest
...
Don't run helm inflator test against released version.
2021-06-07 13:19:02 -07:00
monopole
8f82c4c748
Don't run helm inflator test against released version.
2021-06-07 12:26:12 -07:00
Jeff Regan
d0bc25f339
Update byteio_writer.go
2021-06-07 12:25:04 -07:00
Jeff Regan
ed3200e4f5
Remove bad TODO
2021-06-04 17:56:42 -07:00
Mikhail Mazurskiy
a3ed120efb
Handle errors
2021-06-05 09:43:13 +10:00
Jeff Regan
f1b191c02f
Update README.md
2021-06-04 16:22:59 -07:00
Jeff Regan
1493b24b46
Update README.md
2021-06-04 16:21:25 -07:00
Kubernetes Prow Robot
5993eae1aa
Merge pull request #3934 from yhrn/fix-json-sink
...
Sink: Force JSON encoding for .json files
2021-06-04 11:38:38 -07:00
Mattias Öhrn
3e506eae02
PR feedback - more tests and some cleanup
2021-06-04 11:06:22 +02:00
Kubernetes Prow Robot
0305860078
Merge pull request #3962 from natasha41575/resourceRef
...
remove metadata field from resourceRef schema
2021-06-03 15:57:02 -07:00
Natasha Sarkar
0205090e0d
remove metadata field from resourceRef schema
2021-06-03 12:46:51 -07:00
Natasha Sarkar
6adefe4562
replacements should be able to use previous IDs
2021-06-03 12:14:27 -07:00
Jeff Regan
da1bd901b4
Merge pull request #3939 from KnVerey/framework_test_helpers
...
[kyaml] Improvements to frameworktestutil
2021-06-03 11:14:54 -07:00
Jeff Regan
636b9c7aeb
Merge pull request #3931 from natasha41575/ReplacementOverwritesSource
...
Fix issues with replacements
2021-06-03 10:57:01 -07:00
Mattias Öhrn
942f112ef5
Fix kyaml tests
2021-06-03 08:31:03 +02:00
Mattias Öhrn
03bbb076bf
plugin/builtin/iampolicygenerator/go.sum tidy
2021-06-03 08:30:38 +02:00
Mattias Öhrn
e468d6b4d2
Fixing cmd/config/internal/commands/e2e/e2e_test.go
2021-06-03 08:29:53 +02:00
Kubernetes Prow Robot
57206a628d
Merge pull request #3955 from mengqiy/betterresults
...
Check for empty GKNN when formatting results
2021-06-02 18:05:38 -07:00
Mengqi Yu
f061bb887b
Check for empty GKNN when formatting results
2021-06-02 16:32:18 -07:00
Kubernetes Prow Robot
75fd9a43a3
Merge pull request #3925 from frankfarzan/krm-functions-spec
...
Fully specify KRM Functions Spec and graduate it to v1.
2021-06-02 12:10:42 -07:00
Frank Farzan
58165dfc89
comments
2021-06-02 10:53:49 -07:00
Frank Farzan
0e8257c387
comments
2021-06-02 10:50:39 -07:00
Kubernetes Prow Robot
62e78f8349
Merge pull request #3940 from Shell32-Natsu/resource-factory
...
add an option to include local configs
2021-06-01 17:20:12 -07:00
Natasha Sarkar
84724a3ebf
smarter path splitter for replacements
2021-06-01 17:15:54 -07:00
Donny Xia
23544e0431
code review
2021-06-01 16:25:41 -07:00
Donny Xia
b1fda3d62e
add an option to include local configs
2021-06-01 13:38:36 -07:00
Natasha Sarkar
b8ae69b748
copy target rnode in replacements
2021-06-01 13:24:51 -07:00
Natasha Sarkar
4014440d06
test to demonstrate '.' in list element path issue
2021-06-01 13:24:51 -07:00
Natasha Sarkar
74b0b3adc6
test to demonstrate multiple fieldpaths issue in replacements
2021-06-01 13:24:51 -07:00
Katrina Verey
382f09a126
Make frameworktestutil assertions configurable
...
Also refactor to share common code between results checkers
2021-06-01 12:20:23 -07:00
Katrina Verey
f9afdc5c95
Improve frameworktestutil usability with complex error messages
2021-06-01 12:20:17 -07:00
Mattias Öhrn
5e4fb4796e
Only encoding non-wrapped single .json items as JSON
2021-06-01 20:44:21 +02:00
Katrina Verey
76f8988865
Mark updated tests as skipped instead of passed
2021-05-31 10:56:32 -07:00
Mattias Öhrn
fa3e829eb6
Sink: Force JSON encoding for .json files
2021-05-31 08:00:54 +02:00
Jeff Regan
d9435bd1b1
Merge pull request #3898 from dmizelle/add-helm-include-crds
...
Add includeCRDs Field to HelmChart
2021-05-27 16:04:07 -07:00
Kubernetes Prow Robot
af96bb4bda
Merge pull request #3914 from natasha41575/GkeServiceAccountGenerator
...
Gke service account generator
2021-05-27 15:36:23 -07:00
Kubernetes Prow Robot
8607e0adec
Merge pull request #3930 from monopole/demo3929
...
Demonstrate issue 3929
2021-05-26 17:04:06 -07:00
Natasha Sarkar
5a2a7709a4
add IAMPolicyGenerator
2021-05-26 16:54:38 -07:00
monopole
437e8f90f6
Demonstrate issue 3929
2021-05-26 16:29:55 -07:00
Jeff Regan
06ac670951
Merge pull request #3911 from ash2k/ash2k/handle-errors
...
Handle errors
2021-05-25 21:05:26 -07:00
Frank Farzan
3ee1579688
Fully specify KRM Functions Spec and graduate it to v1.
...
- Define the OpenAPI schema for ResourceList
- Graduate `ResourceList` to apiVersion `v1`. Many functions have been implemented
and we are effectively treating the spec as backwards compatible.
- Add `results` field to the spec. This has been implemented in the
orchestrator and couple of functions libraries for a while, but hasn't been
yet standardized leading to minor discrepencies. Concurrent to this PR,
we need to udpate the fn framework (kyaml) to be compatible with
the standard and update the orchestrator to be backwards compatible.
- Include per-resource annotations (previously a seperate doc)
- Remove support for non-ResourceList wire formats. In practice, this is
not widely used and complicates the standard. The orchestrators can
easily covert a List to a ResourceList.
2021-05-25 16:09:32 -07:00
Jeff Regan
5954314b98
Merge pull request #3917 from zhouhao3/clean-tempfile
...
Cleanup tempfiles
2021-05-24 20:01:33 -07:00
Jeff Regan
c0324456a7
Merge pull request #3921 from monopole/deleteScriptsDir
...
Consolidate scripts into k8s-traditional hack dir.
2021-05-24 17:25:01 -07:00
monopole
172adc404f
Consolidate scripts into k8s-traditional hack dir.
2021-05-24 17:09:11 -07:00
Jeff Regan
501748192b
Merge pull request #3920 from monopole/unpinEverything
...
Back to development mode; unpin the modules
2021-05-24 09:42:57 -07:00
monopole
f6e6ac0320
Back to development mode; unpin the modules
2021-05-24 09:30:04 -07:00
Zhou Hao
a10ce1d787
cleanup tempfiles for runfn_test
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com >
2021-05-24 17:01:44 +08:00
Zhou Hao
839cc2467c
cleanup tempfiles for fmtr_test
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com >
2021-05-24 15:52:28 +08:00
Mikhail Mazurskiy
dbc11ed29f
Handle errors
2021-05-21 16:53:14 +10:00
Jeff Regan
0f614e92f7
Merge pull request #3909 from monopole/pinToApi
...
Pin to api v0.8.10
2021-05-20 13:44:39 -07:00
monopole
afaf7c62bc
Pin to api v0.8.10
2021-05-20 13:34:27 -07:00
Jeff Regan
78d22069d7
Merge pull request #3910 from monopole/noMorePluginPin
...
No more plugin pinning.
2021-05-20 13:32:25 -07:00
monopole
22720a8b7a
No more plugin pinning.
2021-05-20 13:31:50 -07:00
Jeff Regan
38c66d213a
Update README.md
2021-05-20 13:14:28 -07:00
Jeff Regan
871de80544
Merge pull request #3908 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.12
2021-05-20 13:05:20 -07:00
monopole
c24daec480
Pin to cmd/config v0.9.12
2021-05-20 12:54:56 -07:00
Jeff Regan
0849d12572
Update README.md
2021-05-20 12:54:06 -07:00
Jeff Regan
23bd8ff749
Merge pull request #3907 from monopole/fixFormatting
...
Fix go.mod in plugins.
2021-05-20 12:53:00 -07:00
monopole
b5759305af
Fix go.mod in plugins.
2021-05-20 12:52:34 -07:00
Jeff Regan
da518668b5
Merge pull request #3906 from monopole/pinToKyaml
...
Pin to kyaml v0.10.20
2021-05-20 12:46:05 -07:00
monopole
51605beb3b
Pin to kyaml v0.10.20
2021-05-20 12:35:01 -07:00
Jeff Regan
2646861a4c
Update README.md
2021-05-20 12:29:15 -07:00
Jeff Regan
f8c910bd3b
Update go.mod
2021-05-20 12:27:03 -07:00
Jeff Regan
cb82dced8a
Merge pull request #3905 from monopole/fixMakefile
...
Fix makefile install-tools for Go 1.16
2021-05-20 11:12:12 -07:00
monopole
f618f9ce96
Fix makefile install-tools for Go 1.16
2021-05-20 10:54:13 -07:00
Jeff Regan
020dc9c216
Merge pull request #3903 from monopole/fixRepoSpecTest
...
Fix repospec test
2021-05-20 09:54:12 -07:00
monopole
a6b9445702
Fix repospec test
2021-05-20 09:52:59 -07:00
Jeff Regan
36408a120c
Update HelmChartInflationGenerator.go
2021-05-19 17:34:44 -07:00
Jeff Regan
c1bca9cd62
Merge pull request #3900 from joshdk/master
...
URL based configuration for git exec timeouts and git submodule cloning
2021-05-19 16:10:35 -07:00
Jeff Regan
701973b73e
Merge pull request #3899 from KnVerey/embedfs
...
[kyaml fn framework] Swap pkger for embed.FS compatibility
2021-05-19 09:29:23 -07:00
Josh Komoroske
24a64bdee3
URL based configuration for git exec timeouts and git submodule cloning
...
Adds a number of user-accessable options for configuring internal git resource
cloning behavior.
- Git commands are executed with a configurable timeout by including a parameter
like "?timeout=2m30s" in the resource URL. This can improve cloning a large
repository, or over a slow network.
- Git submodule cloning can be disabled by including a parameter like
"?submodules=false" in the resource URL.
- Switch the overall query parsing to use url.Parse() and be more extensible.
2021-05-19 00:07:02 -07:00
Katrina Verey
3f3d3b17a4
Replace pkger with embed.FS compatibility
2021-05-18 12:07:42 -07:00
Katrina Verey
53c87a32e9
Reset openapi in Filter and show use of pkger with filepath
2021-05-18 11:20:42 -07:00
Katrina Verey
0fdf0f825f
TemplateProcessor can add custom resource schemas to openapi
2021-05-18 11:20:42 -07:00
Devon Mizelle
73da51d0ac
Apply suggestions from code review
...
Co-authored-by: Steven E. Harris <seh@panix.com >
2021-05-17 12:18:33 -04:00
Devon Mizelle
df10d5a17d
Add includeCRDs Field to HelmChart
...
This commit adds functionality for a user to specify that `helm` should
include CRDs when inflating a Helm Chart.
As of Helm v3, the `install-crd` hook is no more, with
`CustomResourceDefinitions` existing in the root of the chart, under the
`crds` directory.
When calling `helm template`, `helm` does not output these CRDs unless
the user passes the `--include-crds` flag to the command.
With this commit, users can set `includeCRDs: true` as part of their helm
chart definition in `kustomize.yaml` to have these included as part of
the output.
Signed-off-by: Devon Mizelle <devon.mizelle@onepeloton.com >
2021-05-14 16:46:30 -04:00
Jeff Regan
9557888b32
Merge pull request #3889 from sylr/fix-tests-macos
...
Fix api tests on MacOS
2021-05-13 15:22:18 -07:00
Jeff Regan
3e14a31312
Merge pull request #3893 from natasha41575/fixTests
...
use assert statements for kustomize edit tests
2021-05-12 16:33:27 -07:00
Natasha Sarkar
dca13a4770
use assert statements for kustomize edit tests
2021-05-12 16:20:12 -07:00
Kubernetes Prow Robot
017a094438
Merge pull request #3888 from monopole/popRNodeUp
...
Remove delegation to RNode in Resource
2021-05-11 13:35:14 -07:00
Kubernetes Prow Robot
b8e7cf04b6
Merge pull request #3832 from cehoffman/helm-chart-namespace
...
Add ability to set target namespace for helm chart template
2021-05-11 13:09:13 -07:00
Sylvain Rabot
a8dacdaffc
Fix api tests on MacOS
...
On MacOS /var is a symlink for /private/var and we can end up having the
loader having a /private/var path while the TMPDIR has a /var path which
triggers a panic.
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-05-11 20:02:56 +02:00
monopole
5c4e363f11
Remove delegation to RNode in Resource.
2021-05-11 10:49:17 -07:00
Kubernetes Prow Robot
1e3ce57077
Merge pull request #3886 from monopole/applyFilter
...
Introduce resmap.ApplyFilter.
2021-05-11 08:31:36 -07:00
monopole
01ddeb476d
Introduce resmap.ApplyFilter.
2021-05-10 20:47:57 -07:00
Jeff Regan
714af0cd66
Merge pull request #3884 from monopole/nitterFix
...
Simplify kind and name change code.
2021-05-09 16:21:52 -07:00
monopole
82abd7e9ea
Simplify kind and name change code.
2021-05-09 16:20:39 -07:00
Jeff Regan
823ff2d048
Update go.mod
2021-05-08 08:02:28 -07:00
Kubernetes Prow Robot
fcfdf6be51
Merge pull request #3880 from Shell32-Natsu/func-filter-result
...
Make result in function filter public
2021-05-06 15:43:02 -07:00
Donny Xia
627118c438
skip tests instead of comment out
2021-05-06 12:33:17 -07:00
Donny Xia
5bb7364967
Fix linter error
2021-05-06 09:54:35 -07:00
Donny Xia
a46926c1eb
Disable tests that use non-exist image
2021-05-06 09:54:26 -07:00
Donny Xia
4f760a0850
make result public in function filter
2021-05-06 09:45:11 -07:00
Jeff Regan
e905411207
Update go.mod
2021-05-05 13:02:57 -07:00
Jeff Regan
1eb77a6cab
Update README.md
2021-05-05 08:27:58 -07:00
Jeff Regan
8b1704bcf3
Merge pull request #3874 from monopole/depprobcheck
...
Add a dependency debugging directory.
2021-05-04 22:21:33 -07:00
monopole
a0edb2d966
Add a dependency debugging directory.
2021-05-04 22:11:52 -07:00
Kubernetes Prow Robot
02dff45d7d
Merge pull request #3870 from Shell32-Natsu/fix-image-helm
...
add helm fields to ordered fields
2021-05-04 06:25:13 -07:00
Donny Xia
3cf18adae9
fix test
2021-05-03 17:02:55 -07:00
Donny Xia
2bec25b46e
add new fields to ordered fields
2021-05-03 16:57:27 -07:00
Kubernetes Prow Robot
8ee308d5d6
Merge pull request #3863 from monopole/simplifyGvk
...
Simplify gvk, speed up cluster-scoped checks.
2021-05-03 16:06:20 -07:00
Jeff Regan
3c3c97f9b5
Merge pull request #3854 from natasha41575/updateOpenApiFetch
...
update openapi fetch command
2021-05-03 12:20:26 -07:00
Kubernetes Prow Robot
c3e8f6008e
Merge pull request #3838 from monopole/helmNamespace
...
A last-mile helm example, with namespace and prefix
2021-05-03 11:02:08 -07:00
monopole
660847225d
Simplify gvk, speed up cluster-scoped checks.
2021-05-02 13:17:33 -07:00
Jeff Regan
48d16f877b
Merge pull request #3864 from monopole/runMoreTests
...
Run e2e tests against 4.1.2
2021-05-02 13:17:04 -07:00
monopole
a4f4945455
Run e2e tests against 4.1.2
2021-05-02 13:01:24 -07:00
Jeff Regan
bd7229ea17
Merge pull request #3862 from monopole/updateGoSums
...
Update plugin go.mod, go.sum w/r to kyaml.
2021-05-02 10:38:22 -07:00
monopole
72441ce3ef
Update plugin go.mod, go.sum w/r to kyaml.
2021-05-02 10:22:22 -07:00
Jeff Regan
fe5b7a3b41
Merge pull request #3861 from monopole/backToDevMode
...
Require kyaml v0.10.19, and unpin everything.
2021-04-30 23:01:18 -07:00
monopole
a4db686b6c
Unpin everything.
2021-04-30 22:49:38 -07:00
Jeff Regan
10026758d3
Merge pull request #3860 from monopole/moveResidFromApiToKyamlModule
...
Move resid from api to kyaml module
2021-04-30 22:14:24 -07:00
monopole
c8dddac5b9
Move resid package from api to kyaml
2021-04-30 20:39:32 -07:00
monopole
5a8a4d47a5
More pinning.
2021-04-30 20:21:36 -07:00
monopole
6c35c06f3e
Pin the plugins.
2021-04-30 20:11:14 -07:00
monopole
1235047742
Establish pin state.
2021-04-30 19:32:43 -07:00
Jeff Regan
6c041c3a79
Merge pull request #3859 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.11
2021-04-30 18:57:12 -07:00
monopole
1e7260b69a
Pin to cmd/config v0.9.11
2021-04-30 18:46:59 -07:00
Jeff Regan
1de5fe608f
Merge pull request #3858 from monopole/gorepoModAdjustments
...
In module lists, handle allowed replacements.
2021-04-30 18:36:25 -07:00
monopole
6c9bf58e7f
In module lists, handle allowed replacements.
2021-04-30 18:35:59 -07:00
Jeff Regan
accd71a105
Update README.md
2021-04-30 18:15:54 -07:00
Jeff Regan
e3fd691459
Merge pull request #3857 from monopole/pinToKyaml_v0.10.18
...
Pin to kyaml/v0.10.18
2021-04-30 18:10:06 -07:00
monopole
3a508da641
Pin to kyaml/v0.10.18
2021-04-30 17:39:24 -07:00
Jeff Regan
a64a1022e6
Merge pull request #3855 from monopole/allowReplacements
...
When releasing, allow certain replacements.
2021-04-30 17:08:52 -07:00
monopole
b6fba0ad5c
When releasing, allow certain replacements.
2021-04-30 17:08:16 -07:00
Natasha Sarkar
45fc67062e
update openapi fetch command
2021-04-30 16:00:19 -07:00
Kubernetes Prow Robot
32cef014bb
Merge pull request #3844 from MaXinjian/0428
...
Fix small golint warning
2021-04-30 14:13:58 -07:00
Ma Xinjian
677ec868e0
Fix golint warning
...
golint warning: if block ends with a return statement, so drop this else and outdent its block
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com >
2021-04-30 09:22:57 +08:00
Kubernetes Prow Robot
7716b1bd3d
Merge pull request #3821 from phanimarupaka/OverrideIsSameResourceImpl
...
Support multiple implementations for IsSameResource
2021-04-28 08:42:50 -07:00
Phani Teja Marupaka
8a529ca399
Update merge3 with deafult GVKNN matcher
2021-04-27 23:53:54 -07:00
Phani Teja Marupaka
914a82bfa4
Support multiple implementations for IsSameResource
2021-04-27 23:53:43 -07:00
Jeff Regan
197c95f6ef
Merge pull request #3843 from monopole/upgradeReplace
...
Update go.sum in replacements.
2021-04-27 16:32:01 -07:00
monopole
323672bc38
Update go.sum in replacements.
2021-04-27 16:14:32 -07:00
Kubernetes Prow Robot
66ce6f8801
Merge pull request #3827 from gautierdelorme/rm-go-openapi-spec-validate-strfmt
...
remove go-openapi/spec,validate,strfmt
2021-04-26 12:33:16 -07:00
Gautier Delorme
6bc9d7358c
remove go-openapi/spec,validate,strfmt from plugins
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
Gautier Delorme
bcbfa069ae
remove go-openapi/spec,validate,strfmt from kustomize/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
Gautier Delorme
7e622e1382
remove go-openapi/spec,validate,strfmt from cmd/config/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
Gautier Delorme
a2871181fe
remove go-openapi/spec,validate,strfmt from kyaml/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
Gautier Delorme
86c3863bc9
remove go-openapi/spec,validate,strfmt from api/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:34 +02:00
Jeff Regan
14d2f4bb15
Merge pull request #3841 from monopole/deleteCrawl
...
Delete internal/crawl.
2021-04-23 19:43:01 -07:00
monopole
c6f575ce37
Delete internal/crawl.
2021-04-23 19:24:15 -07:00
Jeff Regan
e86fd7f009
Merge pull request #3822 from benjamintanweihao/patch-1
...
Fix typo
2021-04-23 12:46:30 -07:00
monopole
d03a5ab95f
Add another last mile helm example.
2021-04-23 11:10:45 -07:00
Jeff Regan
8ef9f75de7
Merge pull request #3839 from monopole/harnessMkDir
...
Add testharness mkdir function.
2021-04-23 11:10:22 -07:00
monopole
cf3a125940
Add testharness mkdir function.
2021-04-23 11:09:34 -07:00
Kubernetes Prow Robot
8049f7b1af
Merge pull request #3836 from monopole/ownerAliasChange
...
Update OWNER_ALIASES
2021-04-23 10:45:39 -07:00
Kubernetes Prow Robot
985fe4821d
Merge pull request #3835 from monopole/useResIdInReplacements
...
Use resid.ResId in replacements.
2021-04-23 10:25:41 -07:00
monopole
c828b1e49a
Use resid.ResId in replacements.
2021-04-23 09:30:05 -07:00
Jeff Regan
d5d44ce3fe
Merge pull request #3837 from navist2020/modify/Error_log_info
...
modify Error log info
2021-04-23 08:01:19 -07:00
navist2020
5d3dac04fa
modify Error log info
2021-04-23 14:40:05 +08:00
monopole
d2f5fe13aa
Update OWNER_ALIASES
2021-04-22 21:20:16 -07:00
Jeff Regan
705c6ad5ce
Merge pull request #3834 from monopole/pinPluginsToV0.0.0
...
Pin plugins to v0.0.0
2021-04-22 17:20:18 -07:00
monopole
94f8d4ec63
Pin plugins to v0.0.0
2021-04-22 17:06:33 -07:00
Francesc Campoy
225bae8491
Make fsNode handle correctly consecutive reads and writes ( #3820 )
...
* Make fsNode handle correctly consecutive reads and writes
* Check for directories in ReadFile and add some error checks
* Update comment
* Improved docs and added better test
* Move test into its own file protected by built constraint
* Use manual test since iotest.TestReader is only available in Go 1.16
2021-04-22 16:50:01 -07:00
Chris Hoffman
53f78260a9
Add ability to set target namespace for helm chart template
2021-04-22 18:31:26 -05:00
Jeff Regan
06add3ab35
Merge pull request #3737 from natasha41575/ReplacementTransformer
...
replacement transformer that uses the new replacement filter
2021-04-22 11:22:51 -07:00
Benjamin Tan Wei Hao
a59ec8fe23
Fix typo
2021-04-21 16:53:21 +08:00
Jeff Regan
f93cee9440
Merge pull request #3813 from monopole/unpinEverything
...
Back to dev mode; unpin the modules.
2021-04-16 03:12:33 -07:00
Kubernetes Prow Robot
21e65990c1
Merge pull request #3795 from jlandowner/master
...
Support immutable attribute on generators
2021-04-15 22:36:22 -07:00
monopole
38e9c34f08
Back to dev mode; unpin the modules.
2021-04-15 22:15:57 -07:00
Natasha Sarkar
038bc7713b
add replacement transformer
2021-04-15 14:12:33 -07:00
Jeff Regan
a5914abad8
Merge pull request #3811 from monopole/pinToApi
...
Pin to api v0.8.8
2021-04-15 13:32:54 -07:00
monopole
3f2b98ff01
Pin to api v0.8.8
2021-04-15 13:21:06 -07:00
Jeff Regan
aa1dd9ddc2
Merge pull request #3810 from monopole/mergo_0.3.5
...
Back to mergo v0.3.5
2021-04-15 13:11:16 -07:00
monopole
5ba45f1ef8
Back to mergo v0.3.5
2021-04-15 12:48:20 -07:00
Jeff Regan
f3752dc75c
Update args.go
2021-04-15 12:31:29 -07:00
Jeff Regan
d5f4da1261
Merge pull request #3809 from monopole/unpinEverything
...
Back to development mode; unpin the modules
2021-04-15 09:13:28 -07:00
Kubernetes Prow Robot
7680392d96
Merge pull request #3808 from fenggw-fnst/work
...
Fix typo
2021-04-14 20:21:49 -07:00
monopole
d8015d3c93
Back to development mode; unpin the modules
2021-04-14 20:08:13 -07:00
Jeff Regan
7487e2f9cb
Merge pull request #3807 from monopole/pinToApi
...
Pin to api v0.8.7
2021-04-14 20:03:46 -07:00
Guangwen Feng
4b8bc7d6ba
Fix typo
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com >
2021-04-15 10:55:28 +08:00
monopole
59af49522e
Pin to api v0.8.7
2021-04-14 19:47:59 -07:00
Jeff Regan
72d3eb15e0
Update remoteBuild.md
2021-04-14 19:26:42 -07:00
Jeff Regan
14e31de6b1
Merge pull request #3806 from monopole/unpinApi
...
Unpin the api
2021-04-14 19:03:18 -07:00
monopole
162b8f3d37
Unpin the api
2021-04-14 18:44:16 -07:00
Kubernetes Prow Robot
003cf61a48
Merge pull request #3805 from KnVerey/downgrade-mergo
...
Downgrade mergo to v0.3.7
2021-04-14 16:11:51 -07:00
Katrina Verey
74f0df8b9d
Downgrade mergo to v0.3.7
2021-04-14 14:58:02 -07:00
Jeff Regan
0df531e7c6
Merge pull request #3802 from monopole/pinToApi
...
Pin to api v0.8.6
2021-04-13 12:22:20 -07:00
monopole
e3ce61647f
Pin to api v0.8.6
2021-04-13 12:05:52 -07:00
Jeff Regan
768132f65f
Merge pull request #3801 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.10
2021-04-13 11:37:55 -07:00
monopole
6a708bcc23
Pin to cmd/config v0.9.10
2021-04-13 11:24:17 -07:00
Jeff Regan
d8182f8d81
Merge pull request #3800 from monopole/fixGoModNit
...
Fix go.sum nit
2021-04-13 11:19:21 -07:00
monopole
99b6a5920e
Fix go.sum nit
2021-04-13 11:15:36 -07:00
Jeff Regan
8877c81468
Merge pull request #3799 from monopole/pinToKyaml_v0.10.17
...
Pin to kyaml@v0.10.17
2021-04-13 11:01:50 -07:00
monopole
88911bbb61
Pin to kyaml@v0.10.17
2021-04-13 10:31:18 -07:00
jlandowner
82ff64c374
Support immutable attribute on generators
2021-04-13 01:02:58 +00:00
Jeff Regan
01c477570a
Merge pull request #3750 from minchao/fix-wordpress-init-command
...
Fix init command in wordpress example
2021-04-12 16:46:19 -07:00
Kubernetes Prow Robot
f8dad80a79
Merge pull request #3784 from monopole/flagEnableHelm
...
Add flag --enable-helm
2021-04-12 13:52:15 -07:00
monopole
240cda089a
Add flag --enable-helm
2021-04-12 13:40:21 -07:00
Kubernetes Prow Robot
c94c193b5b
Merge pull request #3793 from jeremyrickard/better-update-handling
...
Add check of UpdateExpectedFromActual before skipping test
2021-04-12 12:52:15 -07:00
Jeremy
9989b5fc84
Add check of UpdateExpectedFromActual before skipping test
...
Signed-off-by: Jeremy <jeremyrrickard@gmail.com >
2021-04-12 13:12:53 -06:00
Jeff Regan
aeba50488b
Merge pull request #3792 from monopole/nits
...
Fix nits, add internal GetRoot func.
2021-04-12 07:53:00 -07:00
monopole
9c43518a15
Fix nits, add internal GetRoot func.
2021-04-12 07:51:01 -07:00
Jeff Regan
9d50890174
Merge pull request #3790 from monopole/enhanceHarness
...
Enhance the enhanced test harness.
2021-04-11 18:50:00 -07:00
monopole
3af1ae4159
Enhance test harness.
2021-04-11 18:14:30 -07:00
Kubernetes Prow Robot
5100568b0c
Merge pull request #3788 from monopole/helmPrep
...
upgrade to helm 3.5.4 and imdario/mergo v0.3.12
2021-04-09 15:52:22 -07:00
monopole
aa5b4814d6
upgrade to helm 3.5.4 and imdario/mergo v0.3.12
2021-04-09 15:05:41 -07:00
Kubernetes Prow Robot
264b3ff338
Merge pull request #3773 from natasha41575/ReplacementFieldOptions
...
use field options to refine replacements
2021-04-09 12:15:16 -07:00
Natasha Sarkar
a40c74e545
use field options to refine replacements
2021-04-09 11:15:49 -07:00
Kubernetes Prow Robot
f61b075d3b
Merge pull request #3775 from Shell32-Natsu/kyaml-filter
...
Enable LocalPackageReader to ignore specific path
2021-04-08 09:52:03 -07:00
Donny Xia
629d822604
Merge pull request #3783 from natasha41575/AddNatasha
...
add natasha to maintainers
2021-04-08 09:39:55 -07:00
Jeff Regan
bf64f109b9
Merge pull request #3782 from natasha41575/ReplacementRejectField
...
add use of rejects field in replacement filter
2021-04-08 09:15:53 -07:00
Natasha Sarkar
5f93fc53f4
add natasha to maintainers
2021-04-07 17:08:30 -07:00
Natasha Sarkar
0fe3f303e8
add use of rejects field in replacement filter
2021-04-07 16:00:18 -07:00
Donny Xia
7825050b18
Enable LocalPackageReader to ignore specific path
2021-04-05 12:46:20 -07:00
Jeff Regan
ed688a87e4
Update README.md
2021-04-02 17:34:22 -07:00
Jeff Regan
629fdee26a
Merge pull request #3774 from monopole/fixGoSums
...
Fix go sum files.
2021-04-02 16:04:48 -07:00
Kubernetes Prow Robot
ca58ce775a
Merge pull request #3771 from natasha41575/ReplacementFilterTests
...
add more tests for replacement filter
2021-04-02 16:02:12 -07:00
monopole
0990d96c52
Fix go sum files.
2021-04-02 15:50:24 -07:00
Natasha Sarkar
94c45e0f9f
add more tests for replacement filter
2021-04-02 11:30:10 -07:00
Kubernetes Prow Robot
ca527a8e4c
Merge pull request #3735 from natasha41575/ReplacementFilter
...
add replacement filter to support replacmenttransformer
2021-03-31 18:03:21 -07:00
Natasha Sarkar
fa0b237178
add replacement filter to support replacmenttransformer
2021-03-31 17:04:43 -07:00
Kubernetes Prow Robot
a9bcf7187a
Merge pull request #3558 from zhijianli88/GOBIN
...
Makefile: check and use GOBIN environment variable first
2021-03-31 10:01:01 -07:00
Kubernetes Prow Robot
a49d429909
Merge pull request #3768 from monopole/pinToKyaml
...
Pin to kyaml v0.10.16
2021-03-30 15:00:58 -07:00
monopole
c63288024d
Pin to kyaml v0.10.16
2021-03-30 14:40:52 -07:00
Kubernetes Prow Robot
f374a12f24
Merge pull request #3759 from phanimarupaka/NoKptfileInTreeOutput
...
Don't print Krmfile file in tree output
2021-03-30 09:37:57 -07:00
Kubernetes Prow Robot
c7156d0586
Merge pull request #3733 from RyanSquared/add-crd-webhook-namespace-transformer
...
Add CustomResourceDefinition webhook namespace transformer
2021-03-26 11:50:43 -07:00
Jeff Regan
d3b7d3ab70
Merge pull request #3754 from webwurst/patch-3
...
Fix indentation
2021-03-26 11:37:36 -07:00
Jeff Regan
197bb9d9e3
Merge pull request #3744 from KnVerey/plugin-dir-error
...
Do no require exec/go plugin home to use fn plugins
2021-03-26 11:26:48 -07:00
Phani Teja Marupaka
fa96878cfc
Don't print Kustomization file in tree output
2021-03-25 17:01:30 -07:00
Kubernetes Prow Robot
558995536d
Merge pull request #3748 from phanimarupaka/AvoidSetPanic
...
Check if value is provided
2021-03-25 10:23:30 -07:00
Katrina Verey
3255c73c71
Loader FS and empty env fix
2021-03-24 18:44:29 -07:00
Tobias Bradtke
fd486c1f23
Fix indentation
2021-03-24 22:29:31 +01:00
Kubernetes Prow Robot
b0a40e2752
Merge pull request #3743 from Shell32-Natsu/label
...
Add labels field to kustomization
2021-03-24 12:25:28 -07:00
Donny Xia
ccb95ab269
add conflict check
2021-03-24 10:41:37 -07:00
minchao
e6b52e7295
Fix init command in wordpress example
2021-03-24 11:19:53 +08:00
Jeff Regan
4a6ec9063d
Merge pull request #3747 from natasha41575/RemoveOldReplacementTransformer
...
remove old untested replacement transformer
2021-03-23 16:47:16 -07:00
Phani Teja Marupaka
c3beadacd9
Check if value is provided
2021-03-23 15:40:35 -07:00
Natasha Sarkar
5f3bd4b4c2
remove old untested replacement transformer
2021-03-23 14:28:53 -07:00
Katrina Verey
e77c284924
Do no require exec/go plugin home to use fn plugins
2021-03-23 10:47:16 -07:00
Donny Xia
5ed2067be9
Add labels field to kustomization
2021-03-22 17:01:45 -07:00
Jeff Regan
7b38ce4ef2
Merge pull request #3740 from monopole/fixNitsIn3731
...
Fix nits in 3731
2021-03-20 07:31:28 -07:00
monopole
700a112b28
Fix nits in 3731
2021-03-20 07:05:56 -07:00
Jeff Regan
e05ce0f05b
Merge pull request #3731 from dfsdevops/test-validating-webhook
...
added test showing broken namespace reference when combining resource…
2021-03-20 06:40:08 -07:00
Jeff Regan
b8cfa3ca9b
Merge pull request #3738 from phanimarupaka/MakeDirOptionalForTree
...
Make dir optional for tree command
2021-03-20 06:38:35 -07:00
Phani Teja Marupaka
26a8455717
Make dir optional for tree command
2021-03-19 16:58:16 -07:00
Jeff Regan
710db98dbf
Merge pull request #3685 from natasha41575/PatchServicePort
...
fixed disappearing port issue
2021-03-17 11:00:39 -07:00
Dylan Schultz
0d152c4784
added comment referring test to issue 3732
2021-03-17 10:52:41 -07:00
Kubernetes Prow Robot
1729c95135
Merge pull request #3734 from monopole/removeMergeConflictCode
...
Remove dead merge conflict code.
2021-03-17 09:51:58 -07:00
monopole
6f6d41f17f
Remove dead merge conflict code.
2021-03-17 06:35:30 -07:00
RyanSquared
3ff5263ff6
api/konfig/builtinpluginconsts/namespace: Add CustomResourceDefinition webhook namespace transformer
2021-03-16 19:35:18 -05:00
Dylan Schultz
5bb668533f
added test showing broken namespace reference when combining resources from two different bases
2021-03-16 17:01:39 -07:00
Jeff Regan
eb48b1b718
Merge pull request #3730 from monopole/typeAlias
...
Type alias for spec.Schema
2021-03-16 16:54:41 -07:00
monopole
1f837fdfec
Type alias for spec.Schema
2021-03-16 16:18:10 -07:00
Kubernetes Prow Robot
1301384670
Merge pull request #3729 from Shell32-Natsu/helm-deps
...
handle helm output properly
2021-03-16 15:12:56 -07:00
Donny Xia
a9c20a2eb7
handle helm output properly
2021-03-16 13:09:04 -07:00
Kubernetes Prow Robot
297bdc3825
Merge pull request #3727 from monopole/fix3394
...
Allow patch removal of emptyDir {}
2021-03-16 10:06:35 -07:00
Jeff Regan
831f99c95b
Merge pull request #3715 from natasha41575/SpeedUpCustomParsing
...
Speed up custom parsing
2021-03-15 22:26:27 -07:00
Jeff Regan
5247aa5750
Update resource.go
2021-03-15 22:22:43 -07:00
monopole
74d5646526
Allow patch removal of emptyDir {}
2021-03-15 18:34:36 -07:00
Natasha Sarkar
2f6a611e62
add example of using custom schema
2021-03-15 18:08:12 -07:00
Kubernetes Prow Robot
d0dbc3e87b
Merge pull request #3721 from monopole/removeWrappyLayer
...
Remove the wrappy package in service of 3588
2021-03-15 16:54:34 -07:00
monopole
235101a614
Drop uses of 'unstructured' terminology.
2021-03-15 15:59:06 -07:00
monopole
123a5d6e56
Remove the wrappy layer.
2021-03-15 15:59:06 -07:00
Jeff Regan
e4bbd04a43
Merge pull request #3644 from natasha41575/AllowGeneralNameChanges
...
allow general name and kind changes via an options field in patches
2021-03-15 15:49:04 -07:00
Jeff Regan
75120b2a92
Merge pull request #3708 from saschagrunert/test-version
...
Take provenance version into account for build test
2021-03-15 13:16:29 -07:00
Jeff Regan
cb423ad300
Merge pull request #3725 from JohanWork/bug-demo-components-link
...
Fix broken link kep 1802
2021-03-15 12:40:31 -07:00
Johan Hansson
c81b5bd3c2
updated formatting
2021-03-14 21:49:23 +01:00
Kubernetes Prow Robot
b3cec39c25
Merge pull request #3720 from Shell32-Natsu/helm-version
...
support new version string in helm
2021-03-12 15:33:03 -08:00
Donny Xia
5fc6cab49f
support new version string in helm
2021-03-12 12:01:02 -08:00
Donny Xia
c636ee616b
Merge pull request #3713 from jkroepke/patch-1
...
HelmChartInflationGenerator: inherit environment variables to helm command
2021-03-12 10:10:54 -08:00
Natasha Sarkar
f96ac2d61e
allow general name and kind changes via an options field in patches
2021-03-10 14:58:58 -08:00
Natasha Sarkar
a513c56d88
parse custom schema only once when necessary
2021-03-10 13:45:53 -08:00
Natasha Sarkar
ed3ab9f532
updated krusty tests for custom schema
2021-03-10 13:45:34 -08:00
Jeff Regan
bab8c34c1f
Merge pull request #3709 from monopole/removeKyamlBranching
...
Remove branching on kyaml enablement
2021-03-09 14:45:26 -08:00
monopole
839fd2b971
Remove branching on kyaml enablement
2021-03-09 14:29:27 -08:00
Jeff Regan
26e9b8b3b8
Merge pull request #3714 from monopole/backToDev
...
Unpin all modules (back to dev mode).
2021-03-09 14:17:36 -08:00
monopole
ddfb4ff02d
Unpin all modules (back to dev mode).
2021-03-09 14:01:26 -08:00
Jan-Otto Kröpke
a5e6295923
HelmChartInflationGenerator: inherit environment variables to helm command
2021-03-09 19:44:53 +01:00
Sascha Grunert
e2e495027d
Take provenance version into account for build test
...
The result of the test will be different depending on how it has being
build via `-ldflags=-X sigs.k8s.io/kustomize/api/provenance.version=…`.
We now additionally query this version within the test to make it more
robust.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-03-09 09:52:45 +01:00
Natasha Sarkar
397744f436
fixed disappearing ports issue
2021-03-08 17:03:22 -08:00
Jeff Regan
9e8e7a7fe9
Merge pull request #3704 from monopole/pinToApi
...
Pin to api v0.8.5
2021-03-08 12:13:15 -08:00
monopole
4d66f9a093
Pin to api v0.8.5
2021-03-08 11:46:32 -08:00
Jeff Regan
81cac9b633
Merge pull request #3702 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.7
2021-03-08 11:42:47 -08:00
Jeff Regan
43edc6dd7f
Update README.md
2021-03-08 11:32:24 -08:00
Jeff Regan
f313cca52b
Update go.sum
2021-03-08 11:30:52 -08:00
monopole
243e7cca1f
Pin to cmd/config v0.9.7
2021-03-08 11:21:35 -08:00
Jeff Regan
b9c36caa1c
Merge pull request #3701 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.15
2021-03-08 11:19:42 -08:00
monopole
711b4ff4bb
Pin to kyaml v0.10.15
2021-03-08 11:18:42 -08:00
Jeff Regan
8d72528eb5
Merge pull request #3700 from natasha41575/UpdateKustomizationWithEnvs
...
add env to kustomization openapi spec
2021-03-08 11:05:45 -08:00
Kubernetes Prow Robot
6590cce5c1
Merge pull request #3699 from Shell32-Natsu/image-transformer
...
cleanup image transformer
2021-03-08 10:56:12 -08:00
Natasha Sarkar
12c0360ba3
add env to kustomization openapi spec
2021-03-08 10:51:32 -08:00
Donny Xia
8e8fa5409d
cleanup image transformer
2021-03-08 10:41:43 -08:00
Jeff Regan
5af35f4f1a
Merge pull request #3695 from simster7/readlink
...
Use portable method to emulate 'readlink -f' behavior
2021-03-08 10:24:27 -08:00
Kubernetes Prow Robot
412e73cf76
Merge pull request #3697 from monopole/podTemplate
...
Add PodTemplate field to namereference config.
2021-03-08 10:07:43 -08:00
monopole
ec27642e2f
Add PodTemplate field to namereference config.
2021-03-08 09:52:08 -08:00
Kubernetes Prow Robot
7165b1ec40
Merge pull request #3692 from monopole/reinstateEnv
...
Reinstate configmap/secret generator 'env' field.
2021-03-08 09:41:43 -08:00
Simon Behar
6dd50de7a4
Use portable method to emulate 'readlink -f' behavior
...
Signed-off-by: Simon Behar <simbeh7@gmail.com >
2021-03-08 09:27:38 -08:00
monopole
a8b851f84a
Reinstate configmap/secret generator env field.
2021-03-07 20:42:41 -08:00
Jeff Regan
9c4966ccc8
Merge pull request #3691 from monopole/fixGoSum
...
Fix go.sum
2021-03-07 20:17:32 -08:00
monopole
d0bb1cd0fa
Fix go.sum
2021-03-07 20:16:16 -08:00
Jeff Regan
102cf87f36
Merge pull request #3690 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.6
2021-03-07 18:42:21 -08:00
monopole
584a6c2a86
Pin to cmd/config v0.9.6
2021-03-07 18:19:02 -08:00
Jeff Regan
03c6f8fff4
Merge pull request #3689 from kubernetes-sigs/pinToKyaml
...
Pin to kyaml v0.10.14
2021-03-07 18:17:08 -08:00
monopole
90de9b78df
Pin to kyaml v0.10.14
2021-03-07 18:00:24 -08:00
Jeff Regan
34f1f2967e
Merge pull request #3688 from monopole/undoreplace
...
Undo kyaml/go.mod lint replacements.
2021-03-07 15:01:59 -08:00
monopole
9a9df7436e
Undo kyaml/go.mod lint replacements.
2021-03-07 14:36:05 -08:00
Jeff Regan
c036830c70
Merge pull request #3676 from rhtenhove/master
...
allow most recent release with specific path
2021-03-07 12:47:28 -08:00
Ruben ten Hove
ebbd0c7b5a
check if version exists
2021-03-06 13:55:39 +01:00
Jeff Regan
7264a3a65d
Merge pull request #3686 from monopole/extractFunctionEnablers
...
Extract flags that enable alpha function features.
2021-03-05 20:25:58 -08:00
monopole
f3a958bbf7
Extract flags that enable alpha function features.
2021-03-05 19:55:59 -08:00
Jeff Regan
14bf6f8a27
Merge pull request #3684 from monopole/gomodup
...
Full tree go mod tidy
2021-03-05 19:55:42 -08:00
monopole
60c8a0498b
Full tree go mod tidy.
2021-03-05 18:22:32 -08:00
Jeff Regan
774d768e7b
Merge pull request #3579 from KnVerey/framework_refactor
...
Functions Framework Revamp
2021-03-05 15:58:07 -08:00
Jeff Regan
efef397acf
Merge pull request #3679 from natasha41575/MultibyteDataTest
...
add test for multibyte string
2021-03-05 11:56:46 -08:00
Jeff Regan
5793653630
Merge pull request #3673 from natasha41575/PanicDuplicateKeys
...
Return error instead of panicking for duplicate keys
2021-03-05 11:55:33 -08:00
Natasha Sarkar
4ee3d05bd8
add test for multibyte string
2021-03-04 17:41:44 -08:00
Kubernetes Prow Robot
a1df3e030f
Merge pull request #3669 from justinsb/benchmark_swagger_unpack
...
Add benchmarks to measure impact of swagger parsing
2021-03-04 17:04:21 -08:00
Kubernetes Prow Robot
4e0332551a
Merge pull request #3667 from natasha41575/UpgradeYaml.V2
...
upgraded to yaml.v2 v2.4.0
2021-03-04 16:48:24 -08:00
Ruben ten Hove
216ab488a6
allow most recent release with specific path
2021-03-04 17:19:39 +01:00
Natasha Sarkar
722b0131f0
return error for duplicate keys rather than panicking
2021-03-03 12:13:24 -08:00
Natasha Sarkar
93dd571df9
regression test for panic on duplicate keys
2021-03-03 11:18:42 -08:00
Katrina Verey
a7000dd9c6
Update unpinned pluginator to new framework
2021-03-03 08:27:19 -08:00
Katrina Verey
5c4b5b1bf0
Improvements to kyaml fn framework
...
This commit creates a new version of the alpha configuration functions framework. Goals include:
- Make it easy to build multi-version APIs with the framework (not previously facilitated at all).
- Simplify the framework's APIs where redundant configuration options exist (leaving the most powerful, replacing others with helpers to maintain usability they provided).
- Make the Framework's APIs more consistent (e.g. between the various template types, usage of kio.Filter, field names)
- Decouple responsibilities (e.g. command creation, resource list processing, generation of templating functions).
- Make the framework even more powerfully pluggable (e.g. any kio.Filter can be a selector, and the selector the framework provides is itself a filter built from reusable abstractions).
- Improve documentation.
- Make container patches merge fields (notably list fields like `env`) correctly.
2021-03-03 08:27:19 -08:00
Justin SB
8e57ee9111
Add benchmarks to measure impact of swagger parsing
...
Example results:
BenchmarkSwaggerParse-72 2 882910241 ns/op
BenchmarkAsssetUnpack-72 62 19654866 ns/op
2021-03-03 09:11:42 -05:00
Natasha Sarkar
60bd8d15d9
upgraded to yaml.v2 v2.4.0
2021-03-02 18:04:21 -08:00
Jeff Regan
1d524b6fbe
Merge pull request #3666 from natasha41575/UpdateToGo1.16
...
updated go version to 1.16
2021-03-02 17:20:46 -08:00
Natasha Sarkar
e9c97a4c4e
updated go version to 1.16
2021-03-02 16:40:08 -08:00
Kubernetes Prow Robot
48c89cb698
Merge pull request #3661 from natasha41575/TrimOpenApi
...
update openapi version to v1.20.4
2021-03-02 16:39:19 -08:00
Natasha Sarkar
af1e692a5e
fix lint error
2021-03-02 16:03:26 -08:00
Natasha Sarkar
57e7db0423
update openapi version to v1.20.4
2021-03-02 13:46:11 -08:00
Jeff Regan
7fb6fa0f35
Merge pull request #3648 from lcostea/lcostea/smaller_docker_image
...
feat: Reduce docker image size
2021-02-28 13:01:00 -08:00
Jeff Regan
50c3875354
Merge pull request #3654 from monopole/unpinEverything
...
Back to development mode; unpin the modules
2021-02-28 13:00:44 -08:00
monopole
efc03bf329
Back to development mode; unpin the modules
2021-02-28 12:41:31 -08:00
Jeff Regan
9785bda7be
Merge pull request #3653 from monopole/pinToApi
...
Pin to api v0.8.4
2021-02-28 12:20:17 -08:00
monopole
29bfdfc1ef
Pin to api v0.8.4
2021-02-28 12:06:30 -08:00
Jeff Regan
4f72cb8d00
Merge pull request #3652 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.5
2021-02-28 12:01:11 -08:00
monopole
a45e90b1e4
Pin to cmd/config v0.9.5
2021-02-28 11:40:30 -08:00
Jeff Regan
6b6bc45f2c
Update go.sum
2021-02-28 11:29:19 -08:00
Jeff Regan
e4a34f2a48
Merge pull request #3651 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.13
2021-02-28 11:26:39 -08:00
monopole
4a2ed901b3
Pin to kyaml v0.10.13
2021-02-28 11:04:30 -08:00
Jeff Regan
ba67bc0f18
Merge pull request #3650 from monopole/unpinEverything
...
Unpin kyaml, cmd/config and api.
2021-02-28 10:46:03 -08:00
monopole
be8d60fb9f
Unpin kyaml, cmd/config and api.
2021-02-28 10:26:07 -08:00
Jeff Regan
d9d5bb83f0
Merge pull request #3649 from monopole/updateGeneratedFiles
...
Update generated files
2021-02-28 10:24:21 -08:00
monopole
cfa7645d3b
Update generated files under cmd/config.
...
sed -i 's|version: v0.18.10|version: v0.19.8|' cmd/config/internal/commands/internal/k8sgen/k8scopy.yaml
(cd cmd/config/; make generate)
2021-02-28 10:11:39 -08:00
monopole
2e6ef91a7c
Update generated files under kyaml.
...
sed -i 's|version: v0.17.0|version: v0.19.8|' kyaml/yaml/internal/k8sgen/k8scopy.yaml
rm kyaml/yaml/internal/k8sgen/pkg/labels/zz_generated.deepcopy.go
(cd kyaml; make generate)
2021-02-28 10:10:52 -08:00
Jeff Regan
508f294e0c
k8scopy should rename zz_generated.foo.go
...
Files whose names start with zz_generated get special treatment from
https://github.com/kubernetes/kubernetes/blob/master/build/common.sh
(and ./hack/verify-generated-files-remake.sh, etc.).
We don't want that, so modify those file names.
2021-02-28 09:21:35 -08:00
Liviu Costea
a81ebe9842
feat: Reduce docker image size
2021-02-28 12:45:57 +02:00
Jeff Regan
c92fb809c6
Delete older releasing program (replaced by gorepomod).
2021-02-27 06:52:25 -08:00
Jeff Regan
043e8c36e5
Merge pull request #3645 from monopole/pinToApi
...
Pin to api api/v0.8.3
2021-02-26 17:04:45 -08:00
monopole
7965195c29
Pin to api api/v0.8.3
2021-02-26 16:50:46 -08:00
Jeff Regan
4263d18c1a
Update kustomize/api/internal/crawl/go.sum
2021-02-26 16:40:04 -08:00
Jeff Regan
827fb1e1da
Merge pull request #3643 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.4
2021-02-26 16:21:30 -08:00
monopole
03c77cee9b
Pin to cmd/config v0.9.4
2021-02-26 15:51:25 -08:00
Jeff Regan
2db34e7127
Merge pull request #3642 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.12
2021-02-26 15:49:11 -08:00
monopole
821b14bfd1
Pin to kyaml v0.10.12
2021-02-26 15:35:13 -08:00
Jeff Regan
33b4735f98
Merge pull request #3641 from monopole/dropReGenerationDirectives
...
Drop regeneration directives from copied code.
2021-02-26 15:18:24 -08:00
monopole
bbebd1e56a
Drop regeneration directives from copied code.
2021-02-26 14:34:22 -08:00
Jeff Regan
c9d9348944
Drop commands replacement from go.mod
2021-02-25 11:15:22 -08:00
Jeff Regan
555c4cb279
Merge pull request #3638 from monopole/pinToApi
...
Pin to api v0.8.2
2021-02-25 08:19:56 -08:00
monopole
3da90dbde7
Pin to api v0.8.2
2021-02-25 08:04:59 -08:00
Jeff Regan
4ac0f59b8a
Merge pull request #3637 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.3
2021-02-25 07:56:06 -08:00
monopole
2b9c69f964
Pin to cmd/config v0.9.3
2021-02-25 07:03:38 -08:00
Jeff Regan
437c960d86
Merge pull request #3636 from monopole/moregosum
...
More go sum changes.
2021-02-25 07:02:01 -08:00
monopole
131aba8f14
More go sum changes.
2021-02-25 07:01:32 -08:00
Jeff Regan
ada02703cf
Merge pull request #3634 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.11
2021-02-25 07:00:31 -08:00
monopole
f96dfb5772
Pin to kyaml v0.10.11
2021-02-24 21:30:40 -08:00
Jeff Regan
57b3e70cef
Merge pull request #3633 from monopole/goSumFix
...
More go tidy adjustments.
2021-02-24 20:09:02 -08:00
monopole
f4fbcc6fb4
More go tidy adjustments.
...
ALLOW_MODULE_SPAN
2021-02-24 19:50:37 -08:00
Jeff Regan
867da9631a
Merge pull request #3632 from monopole/dropMoreDeps
...
Remove tool deps from shippable modules.
2021-02-24 18:09:20 -08:00
monopole
cd2b0fce7e
Remove tool deps from shippable modules.
2021-02-24 17:37:16 -08:00
Kubernetes Prow Robot
66504c263c
Merge pull request #3631 from natasha41575/KrustyTestPaths
...
Change paths for krusty tests to relative, and have top level be '.'
2021-02-24 16:55:25 -08:00
Jeff Regan
bce4f75fc5
Merge pull request #3630 from natasha41575/UseCustomOpenApiSchema
...
kustomization openapi data should be parsed for custom schema
2021-02-24 16:32:05 -08:00
Natasha Sarkar
8b082aff5a
Change paths for krusty tests to relative, and have top level be '.' instead of 'app'
2021-02-24 16:23:45 -08:00
Natasha Sarkar
48e4cad72e
kustomization openapi data should be parsed for custom schema
2021-02-24 15:27:50 -08:00
Kubernetes Prow Robot
30e53a992b
Merge pull request #3617 from natasha41575/UseCustomOpenApiSchema
...
add openapi/path field to use custom openapi schema document
2021-02-24 15:03:24 -08:00
Kubernetes Prow Robot
2df9f85a20
Merge pull request #3621 from natasha41575/OpenApiFetchCommand
...
added `kustomize openapi fetch` command to get schema from local cluster
2021-02-24 14:37:24 -08:00
Jeff Regan
01733d970a
Merge pull request #3608 from argyle-systems/repeat-base-test
...
Add repeatbase_test.
2021-02-24 14:22:16 -08:00
Kubernetes Prow Robot
ac178c539c
Merge pull request #3629 from pwittrock/main
...
Fork starlib/util for serialization libs.
2021-02-24 14:11:26 -08:00
Phillip Wittrock
61dcb3f548
Fork starlib/util for serialization libs.
...
Prevents pulling in excessive transitive deps.
See: https://github.com/kubernetes/kubernetes/pull/98946
2021-02-24 11:17:08 -08:00
Chico Venancio
6f15b1e56d
Simplify paths and rename objects
2021-02-24 15:13:32 -03:00
Kubernetes Prow Robot
9a94c5ecd3
Merge pull request #3613 from phanimarupaka/DefaultRFalseForListSetters
...
List setters default false for recurse-subpackages
2021-02-24 07:56:50 -08:00
Kubernetes Prow Robot
2ba148d9b5
Merge pull request #3615 from pwittrock/main
...
fn framework support for legacy kustomize plugin io
2021-02-24 07:40:51 -08:00
Natasha Sarkar
5a0e193002
moved common resource definitions to separate function
2021-02-23 17:21:16 -08:00
Jeff Regan
3265f64cd5
Merge pull request #3546 from zhijianli88/master
...
Fix ineffectual assignment to err
2021-02-22 10:24:11 -08:00
Jeff Regan
c2b1ab8303
Add makeKubectlPr.sh
2021-02-22 06:51:37 -08:00
Natasha Sarkar
7dd0ade0f9
add openapi/path field to use custom openapi schema document
2021-02-19 14:19:22 -08:00
Natasha Sarkar
316e4314ed
added openapi fetch command to get schema from local cluster
2021-02-19 11:08:31 -08:00
Donny Xia
324353eaf6
Merge pull request #3619 from natasha41575/PatchDeleteOnObjectPanic
...
fixed panic on patch delete for objects
2021-02-19 10:32:36 -08:00
Natasha Sarkar
6361c3b1b7
fixed panic on patch delete for objects
2021-02-18 10:47:13 -08:00
Phillip Wittrock
f7d13ade35
fn framework support for legacy kustomize plugin io
2021-02-17 09:19:02 -08:00
Kubernetes Prow Robot
99e82890e1
Merge pull request #3606 from qrilka/patch-1
...
Add name reference for fastcgi-params-configmap
2021-02-17 08:39:09 -08:00
Kubernetes Prow Robot
4a35bfa84c
Merge pull request #3612 from Shell32-Natsu/edit-metadata
...
fix edit commands remove metadata
2021-02-16 15:09:06 -08:00
Phani Teja Marupaka
27f28d5fe0
List setters default false for recurse-subpackages
2021-02-16 14:48:19 -08:00
Donny Xia
c04cf01b45
fix test
2021-02-16 14:31:32 -08:00
Donny Xia
5614852b33
fix edit commands remove metadata
2021-02-16 14:17:09 -08:00
Kubernetes Prow Robot
4f23ae5e1a
Merge pull request #3611 from Shell32-Natsu/release-doc
...
add doc for releasing image
2021-02-16 13:25:06 -08:00
Donny Xia
3bd088a77c
update links
2021-02-16 12:57:41 -08:00
Chico Venancio
fe30a9321a
Adds repeatbase_test
2021-02-16 16:23:53 -03:00
Donny Xia
c715b82ad7
add doc for releasing image
2021-02-16 11:03:08 -08:00
Kirill Zaborsky
44d308cbba
Add name reference for fastcgi-params-configmap
...
See https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/#the-nginxingresskubernetesiofastcgi-params-configmap-annotation
2021-02-15 12:38:41 +03:00
Jeff Regan
c9e7f627fe
Update makeKubectlPr.sh
2021-02-13 15:29:39 -08:00
Jeff Regan
00fa7e636c
Merge pull request #3604 from monopole/tweakMake
...
git stTweak make
2021-02-13 14:04:49 -08:00
monopole
c7a504c9cf
Add 4.0.1 to example tests and unpin.
2021-02-13 13:51:59 -08:00
Jeff Regan
516ff1fa56
Merge pull request #3603 from monopole/pinForRelease
...
Pin for kustomize/v4.0.1 release.
2021-02-13 13:07:33 -08:00
monopole
81562a7a37
Pin for kustomize/v4.0.1 release.
2021-02-13 12:55:18 -08:00
Jeff Regan
ba0baa828c
Merge pull request #3600 from natasha41575/TestExamplesAgainst4.0
...
Test examples against 4.0
2021-02-13 12:47:30 -08:00
Jeff Regan
420f03d429
Merge pull request #3601 from monopole/addBuildTest
...
Hyphenate flags and add more build command tests.
2021-02-13 12:26:48 -08:00
monopole
6cf48442df
Hyphenate flags and add more build command tests.
2021-02-13 11:59:08 -08:00
Jeff Regan
8cf7bc67bb
Create makeKubectlPr.sh
2021-02-13 07:26:13 -08:00
Natasha Sarkar
48d6af6e38
test examples against kustomize 4.0
2021-02-12 17:08:45 -08:00
Kubernetes Prow Robot
0309a0fb07
Merge pull request #3599 from natasha41575/unpinEverything
...
Back to development mode; unpin the modules
2021-02-12 15:33:04 -08:00
Natasha Sarkar
d7b29455ab
Back to development mode; unpin the modules
2021-02-12 15:09:16 -08:00
Natasha Sarkar
a414f75f1b
Merge pull request #3598 from monopole/majorVersionChangeToV4
...
Increment major version from v3 to v4
2021-02-12 14:40:50 -08:00
monopole
1c3832f897
Increment major version from v3 to v4
2021-02-12 13:26:41 -08:00
Jeff Regan
3ec62c6e26
Merge pull request #3597 from monopole/fixGoSum
...
Fix crawl/go.sum
2021-02-12 13:20:47 -08:00
Jeff Regan
c7ee4c281e
Fix crawl/go.sum
2021-02-12 13:19:37 -08:00
Jeff Regan
471ff0c4bb
Merge pull request #3595 from natasha41575/pinToApi
...
Pin to api v0.8.1
2021-02-12 13:01:53 -08:00
Natasha Sarkar
cd0d416a11
Pin to api v0.8.1
2021-02-12 12:40:49 -08:00
Jeff Regan
4a1a2bfdd8
Merge pull request #3594 from natasha41575/pinToCmdConfig
...
Pin to cmd/config v0.9.2
2021-02-12 12:33:25 -08:00
Natasha Sarkar
8d75824bb6
Pin to cmd/config v0.9.2
2021-02-12 12:30:01 -08:00
Jeff Regan
232e615afe
Merge pull request #3592 from natasha41575/pinToKyaml
...
Pin to kyaml v0.10.10
2021-02-12 12:20:04 -08:00
Natasha Sarkar
50bfa0564c
Pin to kyaml v0.10.10
2021-02-12 12:04:11 -08:00
Jeff Regan
d0b101dc90
Update README.md
2021-02-12 11:24:36 -08:00
Jeff Regan
526ae9ff57
Merge pull request #3590 from monopole/morePublicSutff
...
Make more high level build methods public.
2021-02-12 11:21:37 -08:00
monopole
b553997447
Make more high level build methods public.
2021-02-12 10:58:20 -08:00
Jeff Regan
66b7c5968b
Merge pull request #3589 from monopole/dropEnableKyamlFlag
...
Delete --enable_kyaml flag.
2021-02-12 10:57:28 -08:00
monopole
003b4946a2
Delete --enable_kyaml flag.
2021-02-12 09:26:36 -08:00
Kubernetes Prow Robot
2d7b6a57ca
Merge pull request #3586 from monopole/dropGetter
...
Drop go-getter use.
2021-02-11 19:14:47 -08:00
Kubernetes Prow Robot
ecda4f423e
Merge pull request #3584 from Shell32-Natsu/binarydata
...
fix merging ConfigMap with binaryData
2021-02-11 17:12:47 -08:00
monopole
9dc4004fbe
Tidy go.sum after dropping go-getter.
2021-02-11 16:48:40 -08:00
monopole
a815774e5e
Drop the go-getter dependence.
2021-02-11 16:48:39 -08:00
Kubernetes Prow Robot
f170af70fd
Merge pull request #3582 from alexal/fix/3575
...
Kustomize file should be ignored when adding resources and components
2021-02-11 16:28:47 -08:00
Donny Xia
6518393f5d
support binaryData merge
2021-02-11 15:34:16 -08:00
Donny Xia
dd72ea1e6a
add functions for binaryData
2021-02-11 15:34:16 -08:00
Jeff Regan
dbbe340b4f
Simplify gorepomod manager
2021-02-11 15:25:19 -08:00
Jeff Regan
38b30b0edc
Merge pull request #3583 from monopole/addKyamlReplacements
...
Add kyaml replacements to modules with dependency on api.
2021-02-11 15:18:46 -08:00
Jeff Regan
10f9a5afda
Merge pull request #3580 from pwittrock/main
...
Support fnframework to write expected testdata based on observed results
2021-02-11 15:06:38 -08:00
monopole
8a61bff299
Run: gorepomod unpin kyaml api --doIt
2021-02-11 15:05:01 -08:00
monopole
52fbe73d49
Modify gorepomod to unpin conditionally.
2021-02-11 15:04:16 -08:00
Alex Rodin
17ecec2f0a
Kustomize file should be ignored when adding resources and components
2021-02-11 15:53:47 -05:00
Jeff Regan
aeb6024e72
Merge pull request #3581 from monopole/dropHashicorpMultierror
...
Drop hashicorp multierror due to MPL
2021-02-11 12:42:44 -08:00
monopole
e33addc16b
Drop hashicorp multierror due to MPL
2021-02-11 12:24:22 -08:00
Phillip Wittrock
2db4121c6a
Support fnframework to write expected testdata based on observed results
2021-02-11 09:48:50 -08:00
Li Zhijian
d203c2328a
kyaml: set proper GOBIN
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2021-02-10 14:07:45 +08:00
Li Zhijian
ec0e42709a
functions/examples: set proper GOBIN
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2021-02-10 14:07:14 +08:00
Li Zhijian
abae65d8f1
cmd: set proper GOBIN
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2021-02-10 14:06:29 +08:00
Li Zhijian
054f18701a
Makefile/scripts: check and use GOBIN environment variable first
...
'go get/install' will install binaries into GOBIN when it's set which is not
always same with GOPATH/bin
Fix below error:
$ hack/testExamplesAgainstKustomize.sh HEAD
Installing kustomize HEAD
On linux, and not on remote CI. Running expensive tests.
make: Nothing to be done for '/home/lizj/gosrc/bin/helm'.
Removing kustomize HEAD
rm: cannot remove '/home/lizj/gosrc/bin/kustomize': No such file or directory
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2021-02-10 14:06:00 +08:00
Jeff Regan
c764bc1618
Merge pull request #3573 from monopole/unpinEverything
...
Unpin everything, back to development mode.
2021-02-09 17:34:23 -08:00
monopole
2d2fbe9f14
Unpin everything, back to development mode.
2021-02-09 16:42:11 -08:00
Jeff Regan
7073371c1a
Merge pull request #3572 from monopole/fix3571
...
Sort release versions using a version sensitive sort
2021-02-09 16:30:17 -08:00
monopole
dc25a6a1ce
Fix #3571 with a -V
2021-02-09 16:28:31 -08:00
Jeff Regan
602ad8aa98
Merge pull request #3569 from monopole/pinToApi
...
Pin to api v0.8.0
2021-02-09 15:50:17 -08:00
monopole
1fa3b224b1
Pin to api v0.8.0
2021-02-09 14:44:12 -08:00
Jeff Regan
5a328ababf
Merge pull request #3568 from monopole/deleteK8sIoDeps
...
Delete dependence on k8s.io/...
2021-02-09 14:30:54 -08:00
monopole
3ae1aa7cd7
Delete dependence on k8s.io/...
2021-02-09 14:15:54 -08:00
monopole
703fee93af
Delete kyaml replacements.
2021-02-09 13:00:50 -08:00
Jeff Regan
3e4a59c1cd
Merge pull request #3567 from monopole/unpinEverything
...
Unpin from api.
2021-02-09 11:46:29 -08:00
monopole
f98edf1b55
Unpin from api.
2021-02-09 11:22:46 -08:00
Jeff Regan
e41d94ddef
Merge pull request #3566 from monopole/pinToApi
...
Pin to api
2021-02-09 11:18:44 -08:00
monopole
0508c89b4b
Pin to api
2021-02-09 10:59:18 -08:00
Jeff Regan
e653cffab6
Merge pull request #3565 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.1
2021-02-09 10:38:46 -08:00
monopole
e036f85b71
Pin to cmd/config v0.9.1
2021-02-09 10:17:53 -08:00
Jeff Regan
cee1324d18
Merge pull request #3564 from kubernetes-sigs/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.9
2021-02-09 10:14:01 -08:00
monopole
b062ce0f66
Pin to kyaml v0.10.9
2021-02-09 09:57:21 -08:00
Jeff Regan
fbcb15b15f
Merge pull request #3563 from monopole/commitGeneratedCode
...
Commit generated doc changes.
2021-02-09 09:19:32 -08:00
monopole
8eb062637f
Commit generated doc changes.
2021-02-09 09:18:31 -08:00
Jeff Regan
2fe85be932
Merge pull request #3557 from natasha41575/PatchMergeIssue
...
fixed ports merging issue and refactored some kyaml/walk code
2021-02-09 08:48:19 -08:00
Jeff Regan
44edfa87fe
Merge pull request #3562 from monopole/changeGenMessage
...
Fix message in generated code.
2021-02-09 08:08:04 -08:00
monopole
bbccee0219
Fix message in generated code.
2021-02-09 07:34:32 -08:00
Jeff Regan
7cdc6cbe2f
Merge pull request #3561 from monopole/unpin
...
Unpin; back to development mode.
2021-02-09 07:13:20 -08:00
monopole
264bfa8998
Unpin; back to development mode.
2021-02-09 06:54:18 -08:00
Jeff Regan
041181afe4
Merge pull request #3560 from monopole/dropQuantityProto
...
Drop unused quantity protobuf - avoid bad init.
2021-02-09 06:36:56 -08:00
monopole
5db79285a7
Drop unused quantity protobuf - avoid bad init.
2021-02-09 06:19:13 -08:00
Jeff Regan
556692c9f5
Merge pull request #3556 from monopole/dropKubeOpenAi
...
Drop dependence on k8s.io/kube-openapi
2021-02-08 18:01:02 -08:00
Natasha Sarkar
71f4cecb4c
fixed ports merging issue and refactored some kyaml.walk code
2021-02-08 17:49:10 -08:00
monopole
d4d5fca2a5
Drop dependence on k8s.io/kube-openapi
2021-02-08 17:31:54 -08:00
Jeff Regan
811e1dca05
Merge pull request #3554 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.9.0
2021-02-08 16:46:36 -08:00
monopole
09bc6e76b1
Pin to cmd/config v0.9.0
2021-02-08 16:30:57 -08:00
Jeff Regan
065b14c5c5
Merge pull request #3553 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.8
2021-02-08 16:24:49 -08:00
monopole
adb2f2237a
Pin to kyaml v0.10.8
2021-02-08 16:09:17 -08:00
Jeff Regan
024bbd0777
Merge pull request #3549 from monopole/removeApiMachDep
...
Remove grep's dependence on apimachinery.
2021-02-08 15:34:53 -08:00
monopole
ca1929abfb
Remove grep's dependence on apimachinery.
2021-02-08 15:16:46 -08:00
Jeff Regan
a13ef4da65
Update Makefile
2021-02-08 15:14:47 -08:00
Jeff Regan
81ec59fa62
Update Makefile
2021-02-08 14:58:31 -08:00
Jeff Regan
075a2d6c0f
Merge pull request #3552 from monopole/tweakCopier
...
Fix prefix bug in copier.
2021-02-08 14:45:12 -08:00
monopole
1df430255a
Fix prefix bug in copier.
2021-02-08 14:39:25 -08:00
Jeff Regan
94d06e1e18
Merge pull request #3550 from Shell32-Natsu/value-add
...
fix forward slash in value add path
2021-02-08 13:39:58 -08:00
Jeff Regan
c3b240639d
Merge pull request #3551 from monopole/fixKyamlMake
...
Normalize deps in kyaml makefile.
2021-02-08 13:34:40 -08:00
monopole
4de6db3d59
Normalize deps in makefile.
2021-02-08 13:21:42 -08:00
Donny Xia
58216d1d33
fix forward slash in value add path
2021-02-08 13:11:24 -08:00
Jeff Regan
4c456d60a4
Merge pull request #3548 from monopole/moveCopier
...
Move the k8s-related code generator.
2021-02-08 12:49:41 -08:00
monopole
582bc4de01
Move the k8s code generator.
2021-02-08 12:32:13 -08:00
Li Zhijian
a167084ccf
api/internal/crawl/index/elasticsearch: Fix ineffectual assignment to err
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2021-02-08 13:55:17 +08:00
Jeff Regan
a3a11bf3f4
Merge pull request #3545 from monopole/testExamplesAgainstLatestReleases
...
Test examples against latest releases.
2021-02-07 10:52:26 -08:00
monopole
4e96502ec6
Test examples against latest releases.
2021-02-07 10:31:34 -08:00
Jeff Regan
1ae8303bdc
Merge pull request #3544 from monopole/pinToApi
...
Pin to api v0.7.3
2021-02-07 08:56:03 -08:00
monopole
41df2bed1f
Pin to api v0.7.3
2021-02-07 08:40:52 -08:00
Jeff Regan
1f1304194d
Update cloudbuild.sh
2021-02-07 07:57:10 -08:00
Jeff Regan
4157933c8d
Update cloudbuild.sh
2021-02-07 07:47:06 -08:00
Jeff Regan
a79253e02f
Merge pull request #3543 from monopole/releaserUpdates
...
Use goreleaser/v0.155.0, --parallelism 4
2021-02-07 07:21:14 -08:00
monopole
3b35b121b3
Use goreleaser/v0.155.0, --parallelism 4
2021-02-07 07:19:39 -08:00
Jeff Regan
3c94d20599
Deleting goarch=arm build, leaving arm64
...
Hitting hard step limit of 10m
Increasing timeout field in cloudbuild.yaml past 10m seems to have no effect.
Maybe break goreleaser step into multiple substeps?
2021-02-06 09:45:01 -08:00
Jeff Regan
1faeb91cc4
Set build timeout=800s, goreleaser timeout =720s
2021-02-06 09:16:02 -08:00
Jeff Regan
9f1ef993a1
Set FlagEnableKyamlDefaultValue = true
2021-02-06 08:31:12 -08:00
Jeff Regan
55d8cb3d3a
Merge pull request #3541 from monopole/pinToApi
...
Pin to api v0.6.9
2021-02-06 08:16:35 -08:00
monopole
a684592639
Pin to api v0.6.9
2021-02-06 07:59:54 -08:00
Jeff Regan
386d10834b
Set FlagEnableKyamlDefaultValue = false
2021-02-06 07:16:55 -08:00
Jeff Regan
af32126e80
Merge pull request #3540 from monopole/pinToCmdConfig
...
Pin to cmd/config v0.8.9
2021-02-05 22:01:41 -08:00
monopole
b0cfa15b9c
Pin to cmd/config v0.8.9
2021-02-05 21:40:42 -08:00
Jeff Regan
62e7df6812
Merge pull request #3539 from monopole/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.7 and cli-utils v0.23.1
2021-02-05 21:29:06 -08:00
monopole
c077ed4b58
Pin to kyaml v0.10.7 and cli-utils v0.23.1
2021-02-05 20:34:05 -08:00
Jeff Regan
156beb300c
Update README.md
2021-02-05 20:23:59 -08:00
Jeff Regan
25b02d2d6c
Merge pull request #3538 from monopole/fixnits
...
Make starlarkmixer plugin module name match path.
2021-02-05 18:07:34 -08:00
monopole
781098843e
Make starlarkmixer plugin module name match path.
2021-02-05 17:57:12 -08:00
Jeff Regan
af3ffa7059
Merge pull request #3493 from natasha41575/UseIntermediateName
...
Allow references to intermediate IDs after multiple name transformations
2021-02-05 16:31:31 -08:00
Donny Xia
9d7b8952a0
Merge pull request #3535 from MaXinjian/tmpfile
...
Cleanup tempfiles introduced in confirmeddir_test.go
2021-02-05 12:57:05 -08:00
Natasha Sarkar
cb400c895e
added test to check for resources with the same name in different layers
2021-02-05 12:35:59 -08:00
Ma Xinjian
9a8dcf6a8e
Cleanup tempfiles introduced in confirmeddir_test.go
...
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com >
2021-02-05 13:26:58 +08:00
Natasha Sarkar
384b71b5f5
Allow references to intermediate names
2021-02-04 20:38:08 -08:00
Kubernetes Prow Robot
4345cd2ade
Merge pull request #3534 from KnVerey/starlark_genformer
...
Fix function/exec transformer plugin ability to add/remove resources
2021-02-04 19:54:51 -08:00
Katrina Verey
1460d13d50
Allow exec and function transformers to delete resources
2021-02-04 13:01:09 -08:00
Katrina Verey
97a2b15be6
Allow exec and function transformers to generate resources
2021-02-04 13:01:09 -08:00
Katrina Verey
f927cf0b8e
Regression test for inability to add resources in function-based transfomer
2021-02-04 13:01:09 -08:00
Jeff Regan
cbb121e651
Merge pull request #3533 from monopole/updateNRtest
...
Update namerefence tests for apimachinery code path.
2021-02-04 12:15:17 -08:00
monopole
447b315a61
Update namerefence tests for apimachinery code path.
2021-02-04 12:14:16 -08:00
Kubernetes Prow Robot
b3cb61b80f
Merge pull request #3532 from monopole/commandsOption3
...
Expose some top level kustomize commands.
2021-02-04 10:02:26 -08:00
monopole
b9f05dd357
Expose some top level kustomize commands.
...
The PR exposes some of the top level kustomize commands
(especially `build`) for reuse in other command line tools
(expecially `kubectl`, see #1500 ).
This PR represents option 3 from the following list of ways
this exposure could be arranged.
1. Expose the commands in the `api` module.
```
REPO/api/go.mod
REPO/api/builtins
REPO/api/commands <- new
REPO/api/...
```
Disadvantage: This would make `api` module depend on cobra.
That's bad for clients that want to depend on the api, but
want to write their own commands at their own version of
cobra. The `api` module shouldn't depend on UX libraries
like cobra.
2. Expose the commands in their own `commands` module.
They'd appear alongside `api`, e.g. `
```
REPO/api/go.mod
REPO/api/builtins
REPO/api/...
REPO/commands/go.mod
REPO/commands/build
REPO/commands/edit
REPO/commands/...
```
Advantage: The commands would be consumed by the kustomize
binary and the kubectl binary in the same way.
Disadvantage: The kustomize binary module and the commands
module could evolve separately with their own version
numbers, creating confusion.
3. Expose the commands in the existing `kustomize` module
```
REPO/api/go.mod
REPO/api/builtins
REPO/api/...
REPO/kustomize/go.mod
REPO/kustomize/main.go
REPO/kustomize/commands/build
REPO/kustomize/commands/edit
REPO/kustomize/commands/...
```
Outside users, e.g. kubectl, could then
```
import sigs.k8s.io/kustomize/kustomize/v3/commands/build
```
and hopefully still get the `main` package
as they do now via:
```
go get sigs.k8s.io/kustomize/kustomize/v3
```
Advantage: 1) The kustomize binary ships at the same version
as the commands - which makes sense as the binary's
_version_ refers to how the CLI operates (command names,
flags, etc.). This makes it easy to related the version of
a kustomize binary with the version of commands running in
some other CLI binary. 2) The path to the kustomize binary
doesn't change.
Disadvantage: It's an atypical Go module arrangement.
Usually `main` packages live as leaves under a directory
called `cmd` inside a module, rather than at the _top_ of
the module. This might cause some problems. If so, we can
go with option 4.
4. Same as 3, but move `main.go` (the `main` package) down one step.
```
REPO/api/go.mod
REPO/api/builtins
REPO/api/...
REPO/kustomize/go.mod
REPO/kustomize/cmd/main.go
REPO/kustomize/commands/build
REPO/kustomize/commands/edit
REPO/kustomize/commands/...
```
2021-02-04 08:35:01 -08:00
Jeff Regan
1ee16d9f52
Merge pull request #3525 from natasha41575/RefactorNameTransformers
...
Refactored resource to store all previous names and namespaces
2021-02-03 16:53:16 -08:00
Natasha Sarkar
43157f5d35
cleaned up resource refactoring
2021-02-03 14:30:25 -08:00
Natasha Sarkar
cd918483f9
removed some prefix methods from resource
2021-02-03 12:02:12 -08:00
Natasha Sarkar
f71854a0c8
Refactored resource to store all previous names and namespaces
2021-02-03 12:01:09 -08:00
Kubernetes Prow Robot
6246262965
Merge pull request #3529 from monopole/fix3489
...
Fix 3489
2021-02-03 11:04:28 -08:00
monopole
d3ea87220b
Fix Issue 3489.
2021-02-03 10:49:17 -08:00
Jeff Regan
61daea0202
Merge pull request #3245 from natasha41575/UseOpenApiVersions
...
Use `openApi` field in kustomization file to specify OpenAPI schema version
2021-02-03 10:35:08 -08:00
Jeff Regan
a54cd12b39
Delete fixgomod.sh
2021-02-03 10:20:28 -08:00
Kubernetes Prow Robot
11ce6363b4
Merge pull request #3528 from monopole/refactorNameref
...
Refactor nameref for readability.
2021-02-03 10:16:29 -08:00
monopole
4de26ccf9d
Refactor nameref for readability.
2021-02-02 19:02:41 -08:00
Jeff Regan
7801830152
Merge pull request #3527 from monopole/addTests
...
Add tests in support of Issue 3489.
2021-02-02 18:53:31 -08:00
monopole
aae2be1a79
Add tests in support of Issue 3489.
2021-02-02 18:35:46 -08:00
Kubernetes Prow Robot
79e15c05d5
Merge pull request #3522 from Shell32-Natsu/chart-generator
...
fix relative path to values file
2021-02-02 15:44:28 -08:00
Donny Xia
507244e6f8
fix relative path to values file
2021-02-01 13:55:48 -08:00
Jeff Regan
3892e3c910
Merge pull request #3519 from monopole/fieldspectest
...
More fieldspec filter tests and comments.
2021-01-31 20:01:47 -08:00
monopole
dcb26d0901
More fieldspec tests.
2021-01-31 19:08:48 -08:00
Jeff Regan
f5f1a15226
Merge pull request #3518 from monopole/nits
...
Improve name reference transformer testing.
2021-01-31 09:04:45 -08:00
monopole
64644643d4
Improve name reference transformer testing.
2021-01-31 08:40:47 -08:00
Jeff Regan
4d1eebbb82
Merge pull request #3517 from monopole/pathSplitter
...
Expose smart path splitter as a utility.
2021-01-31 07:56:42 -08:00
monopole
b3a9314e27
Expose smart path splitter as a utility.
2021-01-31 06:45:04 -08:00
Kubernetes Prow Robot
86168cebbc
Merge pull request #3514 from natasha41575/TestForPortsIssue
...
Add test for ports issue #3513
2021-01-29 12:51:49 -08:00
Natasha Sarkar
57a53797d3
Add test for ports issue #3513
2021-01-29 11:10:00 -08:00
Kubernetes Prow Robot
f5beffe394
Merge pull request #3512 from monopole/improveNameRefTests
...
Add test for issue 3489 and improve error messages.
2021-01-29 10:49:41 -08:00
monopole
4287e28ff4
Add test for issue 3489 and improve error messages.
2021-01-29 06:55:23 -08:00
Jeff Regan
a5cdd98414
Merge pull request #3498 from piyushpgupta/patch-1
...
Update README.md
2021-01-27 17:20:22 -08:00
Piyush Gupta
16a49c50c4
Update README.md
2021-01-28 09:17:39 +09:00
Piyush Gupta
a6f29f2bf7
Update README.md
2021-01-28 09:17:10 +09:00
Piyush Gupta
22fcf3b3fa
Update README.md
2021-01-28 09:16:28 +09:00
Piyush Gupta
a31b846fa5
Update README.md
2021-01-28 09:10:59 +09:00
Jeff Regan
22fb23071b
Merge pull request #3483 from msk-/master
...
Bug: configMapRefs in patches are not resolved correctly in diamond structure
2021-01-27 15:43:49 -08:00
Jeff Regan
382cf5c2e0
Merge pull request #3506 from natasha41575/FixSmpDirectiveWhenElementNotFound
...
$patch:delete should not add elements when element is not found
2021-01-27 11:24:38 -08:00
Jeff Regan
8d4508a041
Merge pull request #3484 from kubernetes-sigs/issue3377
...
Demonstrate issue #3377 is fixed.
2021-01-26 16:53:58 -08:00
Natasha Sarkar
4d5657f037
smpdirectives shouldn't add elements when element isn't found
2021-01-26 16:43:30 -08:00
Natasha Sarkar
5958edda14
don't merge patches until they are applied
2021-01-26 16:43:15 -08:00
Natasha Sarkar
48676fe34b
updated patch delete test
2021-01-26 16:42:59 -08:00
Jeff Regan
a8278b6da9
Merge pull request #3495 from MaXinjian/install
...
Add support to install kustomize to specified directory
2021-01-26 12:30:46 -08:00
Kubernetes Prow Robot
31d6e24fa4
Merge pull request #3491 from Shell32-Natsu/error-message
...
add error message for AsYAML
2021-01-26 12:26:30 -08:00
Jeff Regan
25e11e9020
Update install_kustomize.sh
2021-01-26 12:15:20 -08:00
Jeff Regan
d8e2a76ef3
Merge pull request #3499 from MaXinjian/validator
...
Fix wrong Validator dir
2021-01-26 12:01:41 -08:00
Jeff Regan
cff7bd4eb2
Merge pull request #3496 from msk-/use-usr-bin-env-bash-for-scripts
...
Use `/usr/bin/env bash` instead of `/bin/bash` in scripts
2021-01-26 12:01:01 -08:00
Kubernetes Prow Robot
58db58202c
Merge pull request #3500 from Shell32-Natsu/ingress-name-ref
...
support anchor in filedspec
2021-01-26 11:48:31 -08:00
Donny Xia
fc29d7e108
Merge pull request #3503 from dimw/3487-set-image-tag-name
...
Add support for setting new tag while preserving the current name
2021-01-26 10:32:33 -08:00
dimw
ae060cc225
Add documentation/help on preserving the digest
...
Issue: #3487
2021-01-25 22:06:44 +01:00
dimw
9b4fdcf35a
Add support for setting the name while keeping the digest
...
- And the other way around
Issue: #3487
2021-01-25 21:38:28 +01:00
dimw
bb2d63ab58
Use raw string to avoid double escape
...
Issue: #3487
2021-01-25 21:15:05 +01:00
dimw
b5012385c8
Add support for setting new tag while preserving the current name
...
- As well as setting new name while keeping the tag
Issue: #3487
2021-01-25 15:31:19 +01:00
Natasha Sarkar
659a7de8f9
edited kyaml libraries to use the openapi field from the kustomization file
2021-01-22 16:07:18 -08:00
Natasha Sarkar
866dbf2017
added an openapi field to the kustomization file
2021-01-22 16:06:57 -08:00
Donny Xia
ef89df6123
support anchor in filedspec
2021-01-22 11:01:07 -08:00
Ma Xinjian
97f23966af
Fix wrong Validator dir
...
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com >
2021-01-22 13:54:34 +08:00
Piyush Gupta
5059033b13
Update README.md
...
Fixed the typo #
2021-01-21 22:41:54 +09:00
msk-
d91e8af702
Use /usr/bin/env bash instead of /bin/bash for scripts to support more systems
2021-01-21 10:43:18 +00:00
msk-
1bef8c4cdd
Added ASCII art per PR feedback
2021-01-21 10:13:42 +00:00
msk-
9b87f78511
Modified test name per PR feedback
2021-01-21 10:04:19 +00:00
msk-
eda827c317
Added line break to all WriteK, WriteF calls per PR feedback
2021-01-21 10:03:18 +00:00
Ma Xinjian
be57e1f6c2
Add support to install kustomize to specified directory
...
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com >
2021-01-21 15:59:04 +08:00
Kubernetes Prow Robot
021c3ce3fc
Merge pull request #3494 from KnVerey/template-cmd-without-cobra
...
[kyaml] Framework/TemplateCommand usability improvements
2021-01-20 16:49:01 -08:00
Katrina Verey
4f184e8ce3
Add validation hook to template command execution
2021-01-20 15:53:46 -08:00
Katrina Verey
2e0d6d42bf
Improve framework usability without cobra
2021-01-20 15:53:10 -08:00
Donny Xia
6cf6eb9f76
use reource.AsYAML in resWrangler.AsYAML
2021-01-20 12:51:25 -08:00
Donny Xia
ffed8f1430
add error message for AsYAML
2021-01-20 10:40:59 -08:00
monopole
3d17503329
Demonstrate that #3377 is fixed.
2021-01-19 19:06:36 -08:00
msk-
7ac37867dc
tidy-up, added desired behaviour
2021-01-19 18:00:02 +00:00
msk-
d8f2d2256d
Fixed test
2021-01-19 17:57:42 +00:00
msk-
463b776486
Initial test commit
2021-01-19 17:41:44 +00:00
Jeff Regan
d28ce28130
Merge pull request #3478 from kubernetes-sigs/testAgainst3.9.2
...
Test examples against v3.9.2 and v3.8.9
2021-01-17 11:14:46 -08:00
monopole
4f72faeecb
Test examples against v3.9.2 and v3.8.9
2021-01-17 10:54:13 -08:00
Jeff Regan
29814b556b
Update README.md
2021-01-17 10:25:19 -08:00
Jeff Regan
d94ed369fa
Merge pull request #3477 from kubernetes-sigs/unpinEverything
...
Back to development mode; unpin the modules
2021-01-17 10:25:10 -08:00
monopole
0cf18987d7
Back to development mode; unpin the modules
2021-01-17 10:10:12 -08:00
Jeff Regan
a6374db2cb
Update README.md
2021-01-17 10:09:08 -08:00
Jeff Regan
e98eada736
Merge pull request #3476 from kubernetes-sigs/pinToApi
...
Pin to api v0.7.2
2021-01-17 09:36:37 -08:00
monopole
8a65ece956
Pin to api v0.7.2
2021-01-17 09:19:41 -08:00
Jeff Regan
4cdc3b0bad
Merge pull request #3475 from kubernetes-sigs/pinToCmdConfig
...
Pin to cmd/config v0.8.8
2021-01-17 09:09:20 -08:00
monopole
40bf89abcd
Pin to cmd/config v0.8.8
2021-01-17 08:40:13 -08:00
Jeff Regan
7f548eddd0
Merge pull request #3474 from kubernetes-sigs/pinToKyamlAndCliUtils
...
Pin to kyaml v0.10.6 and cli-utils v0.22.4
2021-01-17 07:17:43 -08:00
monopole
86e9983bb7
Pin to kyaml v0.10.6 and cli-utils v0.22.4
2021-01-17 06:55:10 -08:00
Jeff Regan
cbbcfde99d
Update multiplepatch_test.go
2021-01-16 20:43:57 -08:00
Jeff Regan
304a9e57ee
Update factory_test.go
2021-01-16 20:36:46 -08:00
Jeff Regan
f23f26aa05
Update factory_test.go
2021-01-16 20:24:39 -08:00
Jeff Regan
720857623f
Merge pull request #3473 from monopole/doImportantStuff
...
Fix unfiled bug in port replacement where ports were being quoted.
2021-01-16 18:02:06 -08:00
monopole
065c2b861a
Fix unfiled bug; don't quote port numbers.
2021-01-16 16:56:48 -08:00
monopole
2a16af80bf
Simplify, document and add more tests to var replacement.
2021-01-16 16:48:26 -08:00
Jeff Regan
81d324c68c
Merge pull request #3472 from monopole/issue3449
...
Reproduce issue #3449
2021-01-16 16:47:45 -08:00
monopole
b8702561ef
Add test for issue 3449
2021-01-16 16:45:13 -08:00
Jeff Regan
ea039b36bc
Merge pull request #3471 from monopole/mergeExpansionRefvar
...
Merge expansion package into refvar package.
2021-01-16 13:54:32 -08:00
monopole
561cef1d5c
Merge expansion package into refvar package.
2021-01-16 13:50:56 -08:00
Jeff Regan
62c5e424a6
Merge pull request #3470 from monopole/annotateIssue3304
...
Annotate code with decisions on issue 3304 in kyaml conversion
2021-01-16 09:09:49 -08:00
monopole
45b1bf17d3
Annotate decisions on issue 3304 in api.
2021-01-16 08:08:52 -08:00
monopole
11dce34407
Annotate decisions on issue 3304 in plugins.
2021-01-16 08:08:39 -08:00
Kubernetes Prow Robot
550a89295a
Merge pull request #3469 from monopole/labelAndAnnotationQuoting
...
Always quote non-string values in labels and annotations
2021-01-15 18:43:43 -08:00
monopole
8083b3607f
Harden anno transformer test.
2021-01-15 17:37:46 -08:00
monopole
cb42142161
Fix api tests that accomodated bad label and anno quoting.
2021-01-15 17:37:46 -08:00
monopole
cb59e0ef5f
Always tag label and annotations values as strings.
2021-01-15 17:37:46 -08:00
Jeff Regan
1a4a9fcdaf
Update go.mod
2021-01-15 17:33:00 -08:00
Kubernetes Prow Robot
eb8dc5e20a
Merge pull request #3462 from mikhail-nikitin/master
...
$patch: delete of not existing elements
2021-01-15 14:23:43 -08:00
Jeff Regan
0fb30a1010
In plugin tests, yell FAILURE on failure.
2021-01-15 13:58:09 -08:00
Jeff Regan
fdfdfa9e4d
Update go.mod
2021-01-15 13:56:18 -08:00
Jeff Regan
6042aca7a4
Update CalvinDuplicator.go
2021-01-15 13:33:46 -08:00
Jeff Regan
94962c8bac
Update CalvinDuplicator_test.go
2021-01-15 13:10:40 -08:00
Mikhail Nikitin
f6ddea435c
Make test file paths consistent and relative
...
Signed-off-by: Mikhail Nikitin <mikhail.nikitin@ispringsolutions.com >
2021-01-15 22:50:23 +03:00
Jeff Regan
a9d4b7615f
Merge pull request #3466 from monopole/renameAnnotations
...
Rename id annotations to build annotations.
2021-01-15 11:27:49 -08:00
Jeff Regan
822cac26f9
Merge pull request #3467 from monopole/calvinDuplicator
...
Add calvin duplicator example plugin.
2021-01-15 07:58:11 -08:00
monopole
97eedc8a43
Add calvin duplicator example plugin.
2021-01-15 07:22:46 -08:00
monopole
2cb972de3b
Rename id annotations to build annotations.
2021-01-15 06:43:13 -08:00
Jeff Regan
79d0d6b5e1
Merge pull request #3465 from monopole/pdbTest
...
Add test covering pod disruption budget treatment.
2021-01-15 06:38:38 -08:00
monopole
fabaf35c72
Add test covering pod disruption budget treatment.
2021-01-15 06:09:52 -08:00
Mikhail Nikitin
e13f8803eb
Add test case of deleting not existing elements
2021-01-15 00:08:49 +03:00
Jeff Regan
64ffbcb15d
Merge pull request #3461 from monopole/anotherTest
...
Add another test covering fix of 3412
2021-01-14 11:52:56 -08:00
monopole
b41df2293b
Add another test covering fix of 3412
2021-01-14 11:32:34 -08:00
Kubernetes Prow Robot
e3fcec122a
Merge pull request #3460 from monopole/fix3412
...
Fix 3412, retaining quotes in configmap data fields
2021-01-14 11:25:32 -08:00
monopole
1edf9b630c
Update configmap test with quotes fixed.
2021-01-14 11:01:37 -08:00
monopole
7c6bf2e21d
When merging configmaps, retain proper quoting.
2021-01-14 11:01:06 -08:00
monopole
b3fc306f6a
Move some code to make it reusable without import cycles.
2021-01-14 10:29:51 -08:00
Jeff Regan
e92d048af2
Merge pull request #3441 from natasha41575/namePrefixNamespaceBehavior
...
Update name references by checking both the original and current namespaces
2021-01-13 16:21:05 -08:00
Kubernetes Prow Robot
f76059b824
Merge pull request #3454 from monopole/evenMoreTests
...
Add more tests and explain some quoting behavior.
2021-01-13 16:05:03 -08:00
monopole
bb41d018b5
Add more tests and explain some strange quotes.
2021-01-13 15:49:12 -08:00
Kubernetes Prow Robot
cf8815b0a0
Merge pull request #3453 from Shell32-Natsu/wnode-field-value
...
fix GetFieldValue cannot handle slice index
2021-01-13 15:07:03 -08:00
Donny Xia
64beee22e9
fix GetFieldValue cannot handle slice index
2021-01-13 14:14:01 -08:00
Jeff Regan
79afd219a5
Merge pull request #3450 from monopole/anotherTest
...
Add a test that only loads an annotated resource.
2021-01-13 11:27:14 -08:00
monopole
c68cf40d75
Add a test that only loads an annotated resource.
2021-01-13 10:56:50 -08:00
Kubernetes Prow Robot
c7337a7d87
Merge pull request #3445 from KnVerey/resource_list_empty_items
...
[kio] Unwrap ResourceList with a functionConfig but no items
2021-01-12 17:04:35 -08:00
Jeff Regan
875e265e5d
Merge pull request #3372 from natasha41575/AddNameAnnotations
...
Refactor resource to use annotations in the yaml instead of fields in resource struct
2021-01-12 16:38:48 -08:00
Katrina Verey
bdbfb28139
Unwrap ResourceList with a functionConfig but no items
2021-01-12 16:13:40 -08:00
Natasha Sarkar
d54bc674f2
Update name references by checking both the original and current namespaces
2021-01-11 18:08:52 -08:00
Natasha Sarkar
bd4580d73a
Manage name changes (prefix/suffix) via YAML annotations rather than via in-memory-only fields.
2021-01-11 13:08:45 -08:00
Kubernetes Prow Robot
ea5d08bac5
Merge pull request #3438 from monopole/fix3424
...
Fix 3424 by avoiding a JSON round trip
2021-01-11 10:18:24 -08:00
monopole
14a1a0e4a8
Fix 3424 by avoiding a JSON round trip
2021-01-10 20:39:01 -08:00
Jeff Regan
497e8038a3
Merge pull request #3439 from monopole/clarifyErrorMessage
...
Clarify var-related error message.
2021-01-10 20:38:39 -08:00
monopole
44b5acad51
Clarify var-related error message.
2021-01-10 20:35:55 -08:00
Jeff Regan
e5e19f7c09
Merge pull request #3431 from Shell32-Natsu/newline
...
keep \n in the end of resource yaml
2021-01-10 12:51:36 -08:00
Jeff Regan
a03843dfc7
Merge pull request #3437 from monopole/regressionTestsForKyaml
...
In kyaml, loosen interpretation of string node and add tests.
2021-01-10 12:28:30 -08:00
monopole
b7cce27d40
In kyaml, loosen interpretation of string node and add tests.
2021-01-10 12:08:50 -08:00
Jeff Regan
126f5481f3
Merge pull request #3436 from monopole/addTestsAroundVarRefTransformer
...
Add var ref replacement tests and more doc.
2021-01-10 09:38:30 -08:00
monopole
30dcf38609
Add var ref replacement tests and more doc.
2021-01-10 09:16:52 -08:00
Jeff Regan
1a2779b2c3
Merge pull request #3434 from monopole/reduceComplexityInNameReferenceTransformer
...
Reduce complexity in NameReferenceTransformer.
2021-01-10 07:12:23 -08:00
monopole
658b62c6f1
Reduce complexity in NameReferenceTransformer.
2021-01-10 06:56:06 -08:00
Jeff Regan
cf0bb49610
Merge pull request #3433 from monopole/anotherTowards3412
...
Improve handling of empty resource maps.
2021-01-09 07:20:19 -08:00
monopole
c2fbb709da
Don't swallow error in SM patch and use new RNode Map method.
2021-01-09 07:00:21 -08:00
monopole
1a002005c1
Add RNode.Map method and test to help decoding.
2021-01-09 06:57:01 -08:00
Jeff Regan
4f468fcc90
Merge pull request #3432 from monopole/towards3412
...
Short circuit anno/label transformer for performance.
2021-01-08 18:53:47 -08:00
monopole
769f65d6c4
Short circuit anno/label transformer for performance.
2021-01-08 18:02:58 -08:00
Donny Xia
378eaedc82
keep \n in the end of resource yaml
2021-01-08 15:36:36 -08:00
Jeff Regan
6f2f401f6b
Merge pull request #3428 from monopole/confineApplyToJson
...
Confine calls to ApplyToJSON.
2021-01-07 20:53:55 -08:00
monopole
614e853db3
Confine calls to ApplyToJSON.
2021-01-07 20:31:10 -08:00
Jeff Regan
33be04db45
Merge pull request #3427 from monopole/avoidCycle
...
Move plugin lister to avoid import cycle.
2021-01-07 19:27:45 -08:00
monopole
8c6a9f6495
Move plugin lister to avoid import cycle.
2021-01-07 18:46:04 -08:00
Jeff Regan
03b2fff0ee
Merge pull request #3425 from monopole/issue3424
...
Add test for issue 3424
2021-01-07 15:55:47 -08:00
monopole
69cade143f
Add test for issue 3424
2021-01-06 16:23:12 -08:00
Jeff Regan
90f45651d1
Merge pull request #3416 from HansK-p/Fix-link-to-lugins-doc
...
Updated link to Kustomize plugins documentation
2021-01-06 15:49:19 -08:00
Hans Kristian Nordengen
1b740034f7
Updated link to Kustomize plugins documentation
2021-01-03 19:44:32 +01:00
Jeff Regan
a2d8e686de
Merge pull request #3411 from monopole/unpinApiKyamlCmdConfig
...
Unpin kyaml, cmd/config, api
2020-12-29 18:17:48 -08:00
jregan
ce2ab487a5
Unpin kyaml, cmd/config, api
2020-12-29 16:18:12 -08:00
Jeff Regan
7439f1809e
Merge pull request #3410 from monopole/pinToApiv0.7.1
...
Pin to api/v0.7.1 (--enableKyaml=true)
2020-12-29 09:43:42 -08:00
jregan
6977c83a83
Pin to api/v0.7.1 (--enableKyaml=true)
2020-12-29 09:24:25 -08:00
Jeff Regan
7b9eb05058
Merge pull request #3408 from monopole/enableKyamlForApiv0.7.1
...
Set FlagEnableKyamlDefaultValue = true
2020-12-29 08:36:33 -08:00
jregan
e2806a09fd
Set FlagEnableKyamlDefaultValue = true
2020-12-29 08:17:45 -08:00
Jeff Regan
f30fea4c07
Merge pull request #3407 from monopole/pinToApiv0.6.8
...
Pin to api/v0.6.8
2020-12-29 07:44:13 -08:00
jregan
8732671919
Pin to api/v0.6.8
2020-12-29 07:27:11 -08:00
Jeff Regan
07cada36fa
Merge pull request #3406 from monopole/pinToCmdConfig_v0.8.7
...
Pin to cmd/confg v0.8.7
2020-12-29 07:11:12 -08:00
jregan
0d6b232b49
Pin to cmd/confg v0.8.7
2020-12-29 06:55:07 -08:00
Jeff Regan
61455fe489
Merge pull request #3404 from monopole/pinKyamlv0.10.5
...
Pin to kyaml v0.10.5
2020-12-28 20:50:59 -08:00
jregan
c63ed033ad
Pin to kyaml v0.10.5
...
ALLOW_MODULE_SPAN
2020-12-28 20:30:22 -08:00
Jeff Regan
455bd0c563
Merge pull request #3403 from monopole/betterPin
...
Unpin versioned and unversioned pins.
2020-12-28 18:11:39 -08:00
jregan
9ad4b1ddca
Unpin versioned and unversioned pins.
2020-12-28 18:10:53 -08:00
Jeff Regan
d529eb8777
Merge pull request #3402 from monopole/upgradeGopkg.in_yaml.v3
...
Pin to gopkg.in/yaml.v3 v3.0.0-20200313102051
2020-12-28 18:02:41 -08:00
jregan
f7b2f0c067
Pin to gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
...
This is the last commit in yaml.v3 before
ae27a74434
which changed the indentation of sequence.
That change has has large downstream impact on tests in the kustomize
repo. To upgrade beyond this point in yaml.v3 means many changes to
indentation in "expected" values in tests. That should be done in a
PR dedicated to that purpose, after specific consideration the change.
ALLOW_MODULE_SPAN
2020-12-28 17:28:01 -08:00
Jeff Regan
ff6b337ebe
Update README.md
2020-12-28 14:06:43 -08:00
Jeff Regan
76f05f3a40
Update cli-utils release instructions.
2020-12-28 13:57:21 -08:00
Jeff Regan
d181a73f56
Set FlagEnableKyamlDefaultValue = false for v3.8.9
...
In the 3.8 branch, this is false. In the 3.9 branch, it's true.
2020-12-28 13:32:56 -08:00
Jeff Regan
979fe3b457
Merge pull request #3401 from monopole/close3393
...
Regression coverage for configmap generation.
2020-12-28 13:09:37 -08:00
Kubernetes Prow Robot
bec45093e2
Merge pull request #3400 from monopole/dropClose
...
Drop channel close in timed call.
2020-12-28 10:06:28 -08:00
jregan
c113c41c9c
Regression coverage for configmap generation.
2020-12-28 09:53:34 -08:00
jregan
99c9edfc3d
Drop close in timed call.
2020-12-28 08:31:42 -08:00
Jeff Regan
cde6a5741e
Merge pull request #3399 from fwolter/patch-1
...
Fix typo
2020-12-28 05:40:49 -08:00
Fabian Wolter
a315eb56ec
Fix typo
2020-12-27 20:11:30 +01:00
Kubernetes Prow Robot
90654b39bf
Merge pull request #3398 from monopole/close3343
...
Close 3343
2020-12-27 07:30:27 -08:00
jregan
24c4c66403
Close 3343
2020-12-26 10:43:58 -08:00
Jeff Regan
2b5029952c
Merge pull request #3397 from monopole/towards3304
...
Drop another difference between kyaml and apimachinery
2020-12-26 10:32:50 -08:00
jregan
6a3bb5df44
Drop another difference between kyaml and apimachinery
2020-12-26 10:12:33 -08:00
Jeff Regan
d9623ab307
Merge pull request #3382 from monopole/emptyMapMania
...
Isolate tests related to #3396
2020-12-26 09:44:21 -08:00
jregan
dd1df5a30e
Remaining problems.
2020-12-26 09:28:01 -08:00
Jeff Regan
0e13a9c02b
Merge pull request #3395 from monopole/isolateEmptyDirTests
...
Isolate patch conflation problem to one test.
2020-12-26 08:58:52 -08:00
jregan
eb26d79fa0
Isolate patch conflation problem to one test.
...
See #3394
2020-12-26 08:41:48 -08:00
Jeff Regan
7f8da385c0
Merge pull request #3392 from monopole/isolateQuoting
...
Isolate scalar int and bool quoting oddities to one test set.
2020-12-23 18:26:52 -08:00
jregan
1426137883
Isolate scalar quoting oddities to one test set.
...
The apimachinery code path, in its final marshalling
for output, calls Marshall
https://github.com/go-yaml/yaml/blob/v2/yaml.go#L199
This code path (via apimachinery Unstructured types)
has no JSON schema tags
https://yaml.org/spec/1.2/spec.html#id2803311
so it adds quotes to values that smell like
booleans and ints (e.g. `false` becomes `"false"`).
The kyaml code path, OTOH, uses such tags,
so generally does not quote ints and booleans.
This PR isolates this difference in behavior to
one set of tests (using data fields in configmaps
in api/krusty/configmaps_test.go) so that
they don't confuse other tests that cover
completely different behaviors.
2020-12-23 17:08:25 -08:00
Kubernetes Prow Robot
d90d77cdaf
Merge pull request #3366 from natasha41575/QuotedScalarValueWithColon
...
if setter value ends in colon, treat it as a string
2020-12-23 11:54:26 -08:00
Jeff Regan
1ffd790cfb
Merge pull request #3388 from Shell32-Natsu/secret-type
...
Fix type ignored in secret generator
2020-12-22 17:51:07 -08:00
Jeff Regan
454906d093
Merge pull request #3389 from monopole/moreMergeTests
...
More merge tests, clearer method names.
2020-12-22 17:49:26 -08:00
jregan
8b97274af3
More merge tests, clearer method names.
2020-12-22 17:26:12 -08:00
Donny Xia
b1056b43cb
Merge pull request #3383 from antoninbas/add-role-resourceNames-to-configMap-builtin-nameref-resolver
...
Add Role / ClusterRole resourceNames to ConfigMap nameref resolver
2020-12-22 14:43:19 -08:00
Donny Xia
e411942a74
Fix type ignored in secret generator
2020-12-22 14:37:13 -08:00
Kubernetes Prow Robot
6b30b72ebc
Merge pull request #3385 from monopole/elimateExtraneousEmtpyMaps
...
Eliminate extraneous label and anno maps.
2020-12-22 08:54:26 -08:00
jregan
9ddf0fe304
Eliminate extraneous label and anno maps.
2020-12-22 08:37:40 -08:00
Jeff Regan
8a952a1b26
Merge pull request #3384 from monopole/badBlank
...
Fix roleref test failing under enableKyaml
2020-12-22 06:47:55 -08:00
jregan
fff484e98b
Fix test failing under enableKyaml
2020-12-22 06:24:27 -08:00
Antonin Bas
e819a2ba9d
Add Role / ClusterRole resourceNames to ConfigMap nameref resolver
...
While it is possible to use a kustomizeconfig.yml for this, with a
custom namereference, this functionality should probably be built-in.
This is similar to previous PRs, like this one:
https://github.com/kubernetes-sigs/kustomize/pull/592
2020-12-21 21:02:19 -08:00
Natasha Sarkar
4908654c09
if setter value ends in colon, treat it as a string
2020-12-21 11:54:30 -08:00
Jeff Regan
586515ebc4
Merge pull request #3379 from monopole/messingWithMerge
...
Fix configmap merge problem under kyaml.
2020-12-21 09:22:02 -08:00
jregan
735befef19
Add kunstruct impl of Get/SetDataMap, replace Resource.Merge
2020-12-21 07:22:03 -08:00
jregan
35087ed0cc
Add RNode.Set/GetDataMap to ease configmap generation.
2020-12-21 07:18:51 -08:00
Jeff Regan
f84f8f28fd
Merge pull request #3376 from monopole/oops
...
Drop another go.mod version replacement omission.
2020-12-20 17:07:36 -08:00
jregan
45e118458c
Drop another go.mod version replacement omission.
2020-12-20 17:06:26 -08:00
Jeff Regan
1102153ae3
Merge pull request #3375 from monopole/removeVersionNumbers
...
In module replacements, drop specific version numbers.
2020-12-20 16:45:54 -08:00
jregan
338910d36c
In module replacements, drop specific version numbers.
2020-12-20 16:23:23 -08:00
Kubernetes Prow Robot
38e9770f40
Merge pull request #3374 from monopole/deleteOldChartInflator
...
Delete old example helm chart inflator.
2020-12-20 11:24:25 -08:00
Kubernetes Prow Robot
20a4153893
Merge pull request #3373 from monopole/unpinKyaml
...
Unpin kyaml
2020-12-20 11:00:24 -08:00
jregan
51fba009b3
Delete old example helm chart inflator.
2020-12-20 10:45:43 -08:00
jregan
002215d719
Unpin kyaml
2020-12-20 10:31:17 -08:00
Kubernetes Prow Robot
f9d1e800e4
Merge pull request #3371 from mortent/UseIndexForOrderingFunctions
...
Multiple declarative functions in the same file should execute in order
2020-12-17 17:24:25 -08:00
Jeff Regan
82db6cd73d
Merge pull request #3370 from monopole/fixAnotherNit
...
Fix formatting nit with enableKyaml
2020-12-17 12:49:25 -08:00
Morten Torkildsen
3c25584658
Multiple declarative functions in the same file should execute in order
2020-12-17 12:13:42 -08:00
jregan
c32a809dbd
Fix formatting nit with enableKyaml
2020-12-17 11:21:46 -08:00
Jeff Regan
02be687778
Merge pull request #3369 from monopole/unpinApi
...
Unpin api module.
2020-12-17 10:02:20 -08:00
jregan
c0a754e7b0
Unpin api module.
2020-12-17 09:38:14 -08:00
Jeff Regan
63e441a673
Merge pull request #3368 from monopole/fixSlash
...
Fix apiversion slash
2020-12-17 09:20:00 -08:00
jregan
bd27d5f8bb
Fix apiversion slash
2020-12-17 08:42:15 -08:00
Kubernetes Prow Robot
0aa250c6e2
Merge pull request #3359 from Shell32-Natsu/resmap-from-rnodes
...
Avoid error when the node has local-config
2020-12-16 11:00:30 -08:00
Jeff Regan
e269ad4a80
Merge pull request #3356 from JaredTan95/update_extension_version
...
upgrade admissionregistration.k8s.io/v1beta1 version to v1
2020-12-16 10:44:08 -08:00
Jeff Regan
9db6b37b88
Merge pull request #3357 from yuvalk/yuvalk/master
...
add curl timeout to install script
2020-12-16 10:43:13 -08:00
JaredTan95
2361b70967
fix unit test
2020-12-16 10:05:04 +08:00
Donny Xia
d016326877
avoid error when the node has local-config
2020-12-15 13:29:19 -08:00
Donny Xia
67e445c10b
Merge pull request #3353 from epcim/helmValuesOnInflatorConfig-plugin
...
Helm values on inflator config plugin
2020-12-15 10:21:47 -08:00
Jeff Regan
76970a6b05
Merge pull request #3354 from Shell32-Natsu/set-image
...
describe the format of image tag that is allowed
2020-12-15 09:44:20 -08:00
Kubernetes Prow Robot
66db1df79a
Merge pull request #3346 from Shell32-Natsu/ynode-iszero
...
Add function to check is YNode zero
2020-12-15 09:43:48 -08:00
Yuval Kashtan
6442047e52
add curl timeout to install script
...
This is important to improve reliency of other automations/scripts that are using this script internally. Otherwise install script might stall forever in some cases.
2020-12-15 12:01:15 +02:00
Petr Michalec
8ac6954de1
helm values on inflator config - test
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:39:17 +01:00
Petr Michalec
494977b9d0
helm values on inflator config - builtin
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:38:59 +01:00
Petr Michalec
0a0a6e1018
helm values on inflator config - plugin
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:38:37 +01:00
Petr Michalec
fa69d4ba9d
helm values on inflator config - types
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:37:34 +01:00
JaredTan95
36bdcca735
update plugin api version.
...
Signed-off-by: JaredTan95 <jian.tan@daocloud.io >
2020-12-15 12:22:57 +08:00
JaredTan95
c71a4534a0
update kyaml api version.
2020-12-15 12:21:27 +08:00
JaredTan95
97402f1136
update crd_test.go api version.
2020-12-15 12:20:10 +08:00
JaredTan95
1329afa3ca
update imagetag_test.go api version.
2020-12-15 12:19:37 +08:00
Donny Xia
60c8f4c594
Merge pull request #3350 from shibataka000/add-topologyspreadconstraints-to-builtin-common-label-field
...
Add topologySpreadConstraints to builtin common label field
2020-12-14 10:13:23 -08:00
Donny Xia
428e25b856
Merge pull request #3349 from montmanu/update-docker-path
...
add kustomize to PATH
2020-12-14 10:12:45 -08:00
Donny Xia
8dd6f2b185
describe the format of image tag that is allowed
2020-12-14 10:09:01 -08:00
Takao Shibata
a3bf3ba608
Add topologySpreadConstraints to builtin label field
2020-12-14 14:18:02 +09:00
Christopher Montoro
b97e59c57e
add kustomize to PATH
2020-12-13 18:03:35 -05:00
Donny Xia
bae3228557
Add function to check is YNode zero
2020-12-11 14:55:44 -08:00
Jeff Regan
cc43a2d732
Merge pull request #3342 from Shell32-Natsu/wnode-slice
...
fix wnode get slice issue
2020-12-11 09:07:16 -08:00
Donny Xia
d25e1effb7
Unpin api
2020-12-10 15:13:22 -08:00
Donny Xia
485b8121d3
fix wnode get slice issue
2020-12-10 15:12:57 -08:00
Jeff Regan
401118728a
Update kustomization.yaml
2020-12-10 14:20:36 -08:00
Kubernetes Prow Robot
0f45bd9583
Merge pull request #3339 from monopole/updateTests
...
Update tests of examples against new releases.
2020-12-10 12:58:13 -08:00
jregan
97e4353755
Update test of examples against new releases.
2020-12-10 12:37:47 -08:00
Jeff Regan
826b5d9792
Merge pull request #3338 from monopole/updateGoSum
...
Auto update go.sum
2020-12-10 11:27:28 -08:00
jregan
8c9da15156
Auto update go.sum
2020-12-10 11:26:51 -08:00
Kubernetes Prow Robot
e18d619c9e
Merge pull request #3337 from monopole/pinToApiv0.7.0_enableKyamlByDefault
...
Pin kustomize to api/v0.7.0, enabling kyaml by default
2020-12-10 11:08:15 -08:00
jregan
f8a3c04286
Pin kustomize to api/v0.7.0, enabling kyaml by default
...
ALLOW_MODULE_SPAN
2020-12-10 10:48:52 -08:00
Kubernetes Prow Robot
1a4c82241a
Merge pull request #3335 from monopole/enableKyamlByDefault
...
Flip default value of --enable_kyaml from false to true.
2020-12-10 10:38:14 -08:00
jregan
81ca271e62
Flip default value of --enable_kyaml from false to true.
2020-12-10 10:12:49 -08:00
Kubernetes Prow Robot
72262c5e71
Merge pull request #3334 from monopole/pinKustToApiv0.6.7
...
Pin kustomize to api/v0.6.7
2020-12-10 09:42:14 -08:00
jregan
125762d94d
Pin kustomize to api/v0.6.7
2020-12-09 22:33:02 -08:00
Jeff Regan
0ecbd5905b
Merge pull request #3332 from monopole/pinToApi0.6.7
...
Pin to api v0.6.7
2020-12-09 19:45:48 -08:00
jregan
cb2b376065
Pin to api v0.6.7
2020-12-09 19:20:29 -08:00
Jeff Regan
595e59b919
Merge pull request #3330 from monopole/loaderTest
...
Provide timeouts for all remote loads.
2020-12-09 17:33:03 -08:00
jregan
6bbc829593
Add a loader test.
2020-12-09 17:17:21 -08:00
Kubernetes Prow Robot
3dd9c6c0b5
Merge pull request #3331 from monopole/unpinKust
...
Unpin kustomize from api.
2020-12-09 16:04:53 -08:00
jregan
c04c13a12a
Unpin kustomize from api.
2020-12-09 15:44:09 -08:00
Jeff Regan
05eccab823
Update loader.go
2020-12-09 15:17:52 -08:00
Jeff Regan
dd946e1343
Merge pull request #3328 from monopole/pin_to_api_v0.6.6
...
Pin to api v0.6.6
2020-12-07 17:48:32 -08:00
jregan
b4ad4b6984
Pin to api v0.6.6
2020-12-07 17:29:46 -08:00
Jeff Regan
13dee68d3b
Merge pull request #3327 from monopole/pin_to_cmdConfig_v0.9.6
...
Pin to cmd/config v0.8.6
2020-12-07 17:22:31 -08:00
jregan
e849b160bc
Pin to cmd/config v0.8.6
2020-12-07 17:02:55 -08:00
Jeff Regan
87987d3382
Merge pull request #3326 from monopole/pin_to_kyaml_v0.10.3_cliutils_v0.22.1
...
Pin to kyaml v0.10.3 cliutils v0.22.1
2020-12-07 16:53:35 -08:00
jregan
575b4efc18
Pin to kyaml v0.10.3 cliutils v0.22.1
2020-12-07 16:26:52 -08:00
Jeff Regan
b1a460985c
Merge pull request #3325 from monopole/autoGoMo
...
Automated Go mod cache updates.
2020-12-07 13:44:23 -08:00
jregan
e1fd74bb61
Automated Go mod cache updates.
2020-12-07 13:23:20 -08:00
Jeff Regan
8a673b82bd
Merge pull request #3287 from yujunz/getter
...
Upgrade go-getter
2020-12-07 13:11:26 -08:00
Jeff Regan
d2e995b3e2
Merge pull request #3306 from thatsmydoing/single-fetch
...
Don't fetch default branch if ref is specified
2020-12-07 13:10:26 -08:00
Jeff Regan
f2e025ea53
Update manager.go
2020-12-07 12:57:32 -08:00
Jeff Regan
dade85e40e
Merge pull request #3324 from kubernetes-sigs/revert-3316-helmValuesOnInflatorConfigSpec
...
Revert "helm values on inflator config"
2020-12-07 12:53:49 -08:00
Jeff Regan
51ba54ad82
Revert "helm values on inflator config"
2020-12-07 12:52:31 -08:00
Jeff Regan
4144775a3b
Merge pull request #3316 from epcim/helmValuesOnInflatorConfigSpec
...
helm values on inflator config
2020-12-07 12:51:42 -08:00
Jeff Regan
ff9b215ae7
Update taggedmodule.go
2020-12-07 12:09:09 -08:00
Jeff Regan
cd5ae17335
Merge pull request #3322 from monopole/fixModNames
...
Fix some plugin module names.
2020-12-07 12:08:14 -08:00
jregan
e3d022325b
Fix some plugin module names.
2020-12-07 11:59:13 -08:00
Kubernetes Prow Robot
e6dc03bea4
Merge pull request #3315 from monopole/hoserface
...
Add more tests
2020-12-07 10:31:11 -08:00
jregan
d08b9c30ee
What is this?
2020-12-07 10:16:30 -08:00
Petr Michalec
f6e5eedee2
helm values on inflator config spec.
2020-12-07 13:49:30 +01:00
Jeff Regan
212b2cff12
Merge pull request #3312 from monopole/conflicting
...
Extract conflict detection to its own interface.
2020-12-06 09:00:41 -08:00
jregan
f66e5bb923
Extract conflict detection to it's own interface.
...
This PR
- defines a patch conflict detector interface,
- extracts implementations of the interface from the
merginator code, making the merginator code
independent of --enable_kyaml.
- injects those implementations into kustomize
as a function of --enable_kyaml.
So, instead of using different merginators to combine
resmaps, this pr allows the use of a single patch merge
code path that uses different conflict detectors.
So instead of debating how to merge, we're now only
considering whether to warn on conflict detection
in one transformer.
This PR is in service of #3304 , eliminating seven
instances where --enable_kyaml was consulted. These
were cases where conflict detection wasn't an issue
(but merging patches was).
2020-12-06 08:38:45 -08:00
Kubernetes Prow Robot
23bc91f233
Merge pull request #3311 from drewwells/patch-1
...
absolute path to entrypoint
2020-12-04 18:05:25 -08:00
Drew Wells
9c421c7410
absolute path to entrypoint
...
Make the kustomize container tolerant of alternative working directory.
Mounting my project and making it the working directory will now work.
ie. docker run -w /pkg -v $(shell pwd):/pkg kustomize version
2020-12-04 18:27:57 -06:00
Jeff Regan
c63dfd6772
Merge pull request #3310 from monopole/nits
...
Spelling nits.
2020-12-04 12:30:36 -08:00
jregan
1a5aa63d54
Spelling nits.
2020-12-04 12:29:39 -08:00
Jeff Regan
1583cef8d9
Merge pull request #3309 from monopole/autoUpdate
...
Automated doc update.
2020-12-04 10:51:54 -08:00
jregan
a7c91c37e9
Automated doc update.
2020-12-04 10:51:22 -08:00
Kubernetes Prow Robot
c1dca7fdb5
Merge pull request #3302 from natasha41575/TestGvknChange
...
tests for gvkn changing
2020-12-04 10:29:59 -08:00
Natasha Sarkar
724bbe9452
connected allowresourcesidchanges bool to allow_id_changes flag
2020-12-02 18:03:09 -08:00
Natasha Sarkar
deb2b21cbe
added allowresourceidchanges bool to options struct
2020-12-02 18:02:09 -08:00
Kubernetes Prow Robot
709f499b44
Merge pull request #3305 from monopole/moreHacking
...
In PatchStrategicMergeTransformer's test, highlight remaining work
2020-12-02 10:38:50 -08:00
jregan
dbaa2d6092
hacking
2020-12-02 10:23:13 -08:00
Thomas Dy
6445e03d1a
Don't fetch default branch if ref is specified
...
Currently, we always fetch the default branch with an initial git clone
and then fetch the ref after if it's specified. This changes it to only
make one fetch instead of two if a ref is specified.
2020-12-02 16:16:30 +09:00
Jeff Regan
19ff1b307e
Merge pull request #3301 from rumstead/master
...
[Docs] Fixing README link to kubectl book.
2020-12-01 16:56:25 -08:00
Jeff Regan
55f44a29c6
Update README.md
2020-12-01 16:48:41 -08:00
Jeff Regan
1f1873a6ed
Merge pull request #3299 from monopole/demoteReplacementTransformer
...
Move ReplacementTransformer plugin to untested folder
2020-12-01 12:45:53 -08:00
rumstead
6e3c4ecc72
Update README.md
2020-12-01 13:18:59 -05:00
jregan
c37c7b6b2c
Move ReplacementTransformer plugin to untested.
2020-12-01 10:04:00 -08:00
Jeff Regan
42acdcc1d0
Merge pull request #3298 from monopole/makeUntestedPluginDir
...
Start directory for 'untested' plugins.
2020-12-01 09:52:59 -08:00
jregan
67db23b24b
Start directory for 'untested' plugins.
2020-12-01 07:32:44 -08:00
Kubernetes Prow Robot
35a19fb8a9
Merge pull request #3296 from monopole/secretGeneratorTestKYaml
...
Adjust SecretGeneratorTest to pass with --enable_kyaml
2020-11-30 19:50:57 -08:00
Kubernetes Prow Robot
a6c2e982f9
Merge pull request #3292 from Shell32-Natsu/helm-extra-args
...
Add field extraArgs to helm generator
2020-11-30 19:50:49 -08:00
Kubernetes Prow Robot
a053ff6907
Merge pull request #3295 from monopole/addSmPatchTests
...
Add more tests for reswrangler ApplySmPatch
2020-11-30 19:24:50 -08:00
jregan
64201c8352
Adjust SecretGeneratorTest to pass with --enable_kyaml
2020-11-30 19:17:15 -08:00
jregan
d5ce26e423
Patchtransformers - drop copied code, improve deletion handling.
2020-11-30 18:43:35 -08:00
Kubernetes Prow Robot
09497f0830
Merge pull request #3294 from monopole/goSumCatchup
...
Automated go.sum updates.
2020-11-30 18:42:50 -08:00
jregan
32dd194aca
Automated go.sum updates.
2020-11-30 18:16:23 -08:00
Jeff Regan
4122787bd8
Merge pull request #3293 from natasha41575/FixOpenApiInfoSpacing
...
Made output of `kustomize openapi info` command more readable
2020-11-30 18:15:16 -08:00
Yujun Zhang
485cb3831e
Upgrade go-getter
...
* Provide a detector for repositories hosted on GitLab.com
* Update github.com/ulikunitz/xz@v0.5.8 for CVE-2020-16845
2020-12-01 09:39:03 +08:00
Natasha Sarkar
2ccb73a2a3
made output of kustomize openapi info command more readable
2020-11-30 14:56:20 -08:00
Kubernetes Prow Robot
83377cf597
Merge pull request #3291 from monopole/thrashing
...
Patchtransformers - drop copied code, improve deletion handling.
2020-11-30 14:26:50 -08:00
Donny Xia
2bf73c60c3
Add field extraArgs to helm generator
2020-11-30 14:22:25 -08:00
jregan
4a55a07c14
Patchtransformers - drop copied code, improve deletion handling.
2020-11-30 11:58:43 -08:00
Kubernetes Prow Robot
5279ad904b
Merge pull request #3282 from pwittrock/main
...
Fn framework utilities for parsing templates from directories
2020-11-30 08:42:50 -08:00
Phillip Wittrock
736f110f04
Fn framework template and process options
...
- Refactor framework code to be simpler
- Add TemplatesFn feature
- Add PreProcessFilters feature
- Add PostProcessFilters features
- Add TemplatesFromDir
- Add PatchTemplatesFromDir
- Add PatchContainerTemplatesFromDir
2020-11-30 08:23:34 -08:00
Jeff Regan
c9ab1270fa
Merge pull request #3290 from monopole/idSet
...
Add resource id set.
2020-11-30 05:42:26 -08:00
jregan
bb5fc9086b
Add resource id set.
2020-11-30 05:37:53 -08:00
Kubernetes Prow Robot
e8c85456cc
Merge pull request #3279 from monopole/addGeneratedCode
...
Add label and annotation selector code.
2020-11-28 22:36:48 -08:00
jregan
aa9a397808
Kyaml: disable generation on each build.
2020-11-28 05:55:16 -08:00
jregan
60ea8de5f1
Complete WNode implementation.
2020-11-26 14:48:00 -08:00
jregan
56c8df7b85
Add RNode implementation of label and annotation selectors.
2020-11-26 14:47:23 -08:00
Jeff Regan
a51e4234c4
Merge pull request #3283 from Shell32-Natsu/docker
...
Add git and openssh in docker image
2020-11-26 08:18:44 -08:00
Jeff Regan
50cd01e5f7
Update Makefile
2020-11-26 07:00:13 -08:00
Jeff Regan
42b082a6b1
Merge pull request #3285 from monopole/improveSelectTest
...
Add labels to selector test.
2020-11-26 06:57:14 -08:00
jregan
c3cdd15769
Clean up selector test.
2020-11-26 06:36:24 -08:00
Donny Xia
c3a8b6f359
Add git and openssh in docker image
2020-11-25 15:02:47 -08:00
Jeff Regan
4af4483e12
Merge pull request #3281 from Shell32-Natsu/update-go-version
...
update Go version to 1.15
2020-11-25 14:05:24 -08:00
Donny Xia
8f7bcb9b16
update Go version to 1.15
2020-11-25 12:41:20 -08:00
Jeff Regan
f54d904766
Merge pull request #3277 from monopole/moreRNodeSetters
...
More RNode setters and WNode delegation
2020-11-25 10:20:06 -08:00
Jeff Regan
ba91b6f79f
Merge pull request #3278 from SyamSundarKirubakaran/doc-site-changes
...
Remove `zh` site contents and redirect to new site
2020-11-25 09:09:07 -08:00
Syam Sundar K
851acafe32
generate site
2020-11-25 21:42:09 +05:30
Syam Sundar K
14eac6020f
remove duplicate contents and redirect
2020-11-25 21:41:27 +05:30
Jeff Regan
e45d667b4d
Delete .gitattributes
...
Didn't work as desired.
2020-11-25 07:59:58 -08:00
Jeff Regan
cbdf4a0e43
Update .gitattributes
2020-11-25 07:53:35 -08:00
jregan
aed7e5aaf9
Delegate more from WNode to RNode.
...
The implementations in WNode are supposed to be thin,
as it will be removed once #2506 closes.
The change also makes some addjustments for the
upcoming flip of the enable_kyaml flag, pointing to
issue #3271 .
2020-11-25 07:11:06 -08:00
jregan
ec64ef705b
Add metadata getters and setters to RNode.
...
These setters completely remove the field if the argument
is empty, rather than setting the field to an empty value,
mimicing apimachinery behavior.
2020-11-25 07:03:12 -08:00
Jeff Regan
1e0eb58bc9
Merge pull request #3273 from Shell32-Natsu/reenable-multi-module-check
...
Re-enable multi-module check
2020-11-24 19:18:16 -08:00
Jeff Regan
fd2fe35863
Merge pull request #3275 from monopole/tryGitAttributes
...
Start a gitattributes file.
2020-11-24 19:12:23 -08:00
jregan
ebdbd81ed8
Start a gitattributes file.
2020-11-24 18:50:46 -08:00
Donny Xia
c9d2ae6b49
Re-enable multi-module check
2020-11-24 16:29:01 -08:00
Kubernetes Prow Robot
e8c212a10f
Merge pull request #3272 from monopole/moreTests
...
Add more tests around yaml parsing.
2020-11-24 14:34:39 -08:00
jregan
1eb378254a
Add more tests around yaml parsing.
2020-11-24 14:15:45 -08:00
Kubernetes Prow Robot
0d030e3095
Merge pull request #3270 from pwittrock/main
...
Improved fn framework support for patching
2020-11-24 12:22:39 -08:00
Phillip Wittrock
f2706dce68
Improved fn framework support for patching
...
- Generate patches with a func
- Generate patches for containers
2020-11-24 12:02:55 -08:00
Jeff Regan
f8194bd3c2
Merge pull request #3267 from monopole/generatedCode
...
Add generated code.
2020-11-23 16:51:41 -08:00
jregan
eb5227680e
Add generated code.
2020-11-23 16:47:00 -08:00
Jeff Regan
27e89f271f
Merge pull request #3266 from monopole/modsToMakefile
...
Consistently prefix make targets with clean, generate, build.
2020-11-23 16:37:34 -08:00
jregan
626f2f9d1d
Another cleaning target in Makefile.
2020-11-23 16:14:47 -08:00
Jeff Regan
ffda124ca5
Update Makefile
2020-11-23 06:48:53 -08:00
Jeff Regan
fd677f635e
Update README.md
2020-11-22 21:01:28 -08:00
Jeff Regan
14b1388c6a
Merge pull request #3263 from monopole/useLessReflectionInTests
...
In some tests, replace reflection with yaml compare.
2020-11-22 20:34:38 -08:00
jregan
5248fd0cd9
In some tests, replace reflection with yaml compare.
2020-11-22 18:48:32 -08:00
Jeff Regan
b6ae9f80d3
Merge pull request #3257 from monopole/binaryData
...
Secrets and ConfigMaps with binary data in kyaml
2020-11-21 15:11:29 -08:00
Jeff Regan
2ad502d5a8
Merge pull request #3261 from monopole/depProviderInjection
...
Use DepProvider in tests to access kyaml impls.
2020-11-21 15:07:45 -08:00
jregan
a5f3d5c823
Use DepProvider in tests to access kyaml impls.
2020-11-21 14:49:44 -08:00
Jeff Regan
c65875cacc
Merge pull request #3259 from pwittrock/main
...
fn/framework support for reading from stdin in standalone
2020-11-21 14:44:54 -08:00
Phillip Wittrock
82b2d83ede
fn/framework support for reading from stdin in standalone
...
- speficy '-' to read from stdin when running standalone
2020-11-21 09:17:26 -08:00
Jeff Regan
7e01aec5a4
Update Makefile
2020-11-21 07:14:04 -08:00
Jeff Regan
9e8a84c5ff
Merge pull request #3251 from Shell32-Natsu/krm-function-converter
...
[KRM function converter] Get plugin config from data field
2020-11-21 06:25:42 -08:00
Jeff Regan
849d5c4a8d
Merge branch 'master' into krm-function-converter
2020-11-21 06:10:25 -08:00
Jeff Regan
00352cbc58
Merge pull request #3256 from Shell32-Natsu/pluginator-api-version
...
update module api version in wrapper
2020-11-21 06:09:04 -08:00
jregan
b88e770b1d
binary data nope
2020-11-20 17:55:20 -08:00
Jeff Regan
eda7a9f8d6
Merge pull request #3258 from monopole/goSumAutomated
...
Automated go.sum change.
2020-11-20 17:55:01 -08:00
jregan
114b3f4b00
Automated go.sum change.
2020-11-20 17:18:14 -08:00
Donny Xia
6cb339142d
update module api version in wrapper
2020-11-20 16:28:38 -08:00
Kubernetes Prow Robot
052a6b4e96
Merge pull request #3255 from Shell32-Natsu/rnode-format
...
fix rnode string format converted from resmap
2020-11-20 15:07:33 -08:00
Donny Xia
4add7eccd0
fix rnode string format converted from resmap
2020-11-20 14:34:11 -08:00
Kubernetes Prow Robot
a0a89e1adc
Merge pull request #3250 from pwittrock/main
...
Function framework support for patching containers
2020-11-20 12:42:51 -08:00
Donny Xia
10fd4b4bbe
Merge pull request #3252 from runewake2/notes
...
Update release notes generation
2020-11-20 10:24:03 -08:00
Donny Xia
e15ede037d
Merge pull request #3253 from yujunz/remote-build
...
Fix test against examples
2020-11-20 09:47:47 -08:00
Yujun Zhang
32a2f5ffa9
Fix test against examples
...
Tests in examples.remoteBuild.md were skipped unexpectedly
2020-11-20 20:10:07 +08:00
Sam Wronski
4f74203f6c
Fix variable name: "currentTag" -> "fullTag"
2020-11-19 15:37:39 -08:00
Sam Wronski
5b0cbcb5fb
Update release notes generation
...
- Notes use tags instead commit sha
2020-11-19 14:28:05 -08:00
Donny Xia
2f4c35347e
Get plugin config from data field
2020-11-19 13:11:47 -08:00
Phillip Wittrock
be5db09db1
Function framework support for patching containers
2020-11-19 10:01:12 -08:00
Jeff Regan
a6833bc4c0
Merge pull request #3211 from Shell32-Natsu/krm-plugin-tool
...
modify pluginator to support convert builtin plugin to krm function
2020-11-18 15:59:29 -08:00
Donny Xia
2ae323bb26
move files into internal
2020-11-18 12:21:59 -08:00
Donny Xia
7e74271071
fix script name
2020-11-18 12:21:59 -08:00
Donny Xia
260e093547
modify pluginator to add support for krm function
2020-11-18 12:21:59 -08:00
Jeff Regan
47b12fa3dc
Merge pull request #3240 from Shell32-Natsu/list-builtin
...
Add command to list builtin plugins
2020-11-18 11:13:39 -08:00
Jeff Regan
38801cd966
Merge pull request #3238 from Shell32-Natsu/managed-by-label
...
fix invalid managed-by label value
2020-11-18 11:09:28 -08:00
Jeff Regan
c49e177b9c
Merge pull request #3247 from monopole/secretsAndMaps
...
Secrets and ConfigMaps with string data in kyaml
2020-11-18 10:00:38 -08:00
jregan
486be07e22
Add WNodeFactory.MakeConfigMap,MakeSecret
2020-11-18 09:45:43 -08:00
Donny Xia
a12db91a10
mark the list-builtin command alpha
2020-11-18 09:38:03 -08:00
jregan
f7613631d1
Add some kyaml filters for k8s metadata.
2020-11-18 08:57:13 -08:00
Kubernetes Prow Robot
8a77494c7d
Merge pull request #3239 from pwittrock/framework
...
Function framework features
2020-11-17 17:58:04 -08:00
Kubernetes Prow Robot
af25469c8b
Merge pull request #3219 from phanimarupaka/RefactorOpenAPI
...
Refactor open api
2020-11-17 11:26:04 -08:00
Phillip Wittrock
8c4841c28f
Support for framework.Selector substitutions
2020-11-17 08:52:34 -08:00
Phani Teja Marupaka
b6a4dd446a
Refactor openAPI
...
Refactor global openapi
2020-11-16 23:03:56 -08:00
Jeff Regan
606654756d
Update kfns.go
2020-11-16 21:38:25 -08:00
Jeff Regan
97c18518ea
Update rnode.go
2020-11-16 21:37:28 -08:00
Jeff Regan
2dca4ab987
Merge pull request #3242 from monopole/useConst
...
Gather and use some of the kyaml constants.
2020-11-16 21:31:13 -08:00
jregan
712276176c
Gather and use some of the kyaml constants.
2020-11-16 21:26:18 -08:00
Donny Xia
c610e3a364
Add command to list builtin plugins
2020-11-16 17:18:56 -08:00
Phillip Wittrock
02e7589323
Function framework testutil support for functions which refer to local files
...
Some functions may read local files using relative paths. Update the test
framework to `cd` into the directory containing the config.yaml before
running the function.
2020-11-16 16:35:07 -08:00
Kubernetes Prow Robot
2ae180ca23
Merge pull request #3235 from pwittrock/framework
...
fn framework TemplatePatch support
2020-11-16 14:14:05 -08:00
Donny Xia
98900c43f7
fix invalid managed-by label value
2020-11-16 14:05:21 -08:00
Phillip Wittrock
02b14d919b
fn framework -- add support for patch templates
2020-11-16 14:01:08 -08:00
Phillip Wittrock
bd0a699ff6
Refactor fn/framework tests to use a common library.
2020-11-16 14:00:55 -08:00
Jeff Regan
02b4b56c60
Merge pull request #3233 from monopole/sliceFromBytes
...
Implement WNodeFactory.SliceFromBytes
2020-11-16 11:57:09 -08:00
jregan
0cac05448b
Implement WNodeFactory.SliceFromBytes and FromMap
2020-11-16 11:33:04 -08:00
jregan
e1c3caeba6
Introduce some RNode validation methods.
2020-11-16 11:32:23 -08:00
Jeff Regan
a25429ae3b
Merge pull request #3236 from runewake2/mergeless-releases
...
Remove merge commits from release notes
2020-11-16 11:22:01 -08:00
Kubernetes Prow Robot
e557677fed
Merge pull request #3229 from Shell32-Natsu/krm-plugin-tool-helpers
...
Add methods to convert ResMap to and from RNodes
2020-11-16 11:12:06 -08:00
Donny Xia
59e0b593cf
Merge pull request #3232 from justinsb/hint_about_bytereader
...
Expand rnode function comments to point to multi-object options.
2020-11-16 10:12:54 -08:00
Sam Wronski
3fa906505c
Remove merge commits from release notes
2020-11-16 09:47:57 -08:00
Justin SB
a823f3043f
Expand rnode function comments to point to multi-object options.
...
The rnode Parse and ReadFile functions only return a single object;
suggest kio.ByteReader for the case of parsing multiple objects.
2020-11-15 13:07:28 -05:00
Jeff Regan
b2ba82a0bd
Merge pull request #3231 from monopole/fromMap
...
Add RNode FromMap factory method.
2020-11-14 13:33:12 -08:00
jregan
a4f22cb84f
Add RNode fromMap method.
2020-11-14 13:10:53 -08:00
Jeff Regan
22f41c789a
Merge pull request #3230 from monopole/fmtFix
...
Fix go fmt.
2020-11-14 11:03:59 -08:00
jregan
966d0a054c
Fix go fmt.
2020-11-14 11:02:44 -08:00
Kubernetes Prow Robot
97f3ac2da1
Merge pull request #3185 from aodinokov/streamline-fn-plugin-kyaml-part
...
Allowing RunFns not to stop on empty result
2020-11-13 13:47:04 -08:00
Donny Xia
536b69e5dc
add methods to convert resmap to&from rnodes
2020-11-13 13:41:34 -08:00
Kubernetes Prow Robot
c7aaa18d0c
Merge pull request #3227 from radTuti/master
...
update kustomize download script
2020-11-13 11:39:05 -08:00
tuti
a45523bb95
dry release_url
2020-11-13 11:25:35 -08:00
Kubernetes Prow Robot
376f59f0f6
Merge pull request #3222 from natasha41575/EditSetLabel
...
added kustomize edit set label
2020-11-13 11:15:04 -08:00
tuti
34863346b0
include arch type in grep string
2020-11-13 11:09:56 -08:00
Kubernetes Prow Robot
9569ca93d9
Merge pull request #3220 from natasha41575/OpenApiVersionField
...
Add multiple versions of OpenAPI schema to kyaml
2020-11-13 10:39:05 -08:00
Kubernetes Prow Robot
09377ac19c
Merge pull request #3223 from sylr/azure-file
...
Add namereference for PersistentVolume
2020-11-13 10:25:04 -08:00
Jeff Regan
a25300dfd6
Merge pull request #3225 from Shell32-Natsu/inline-transformer
...
support inline transformer and generator
2020-11-13 10:05:43 -08:00
Kubernetes Prow Robot
50e9e90b17
Merge pull request #3226 from phanimarupaka/DeprecateV1Setters
...
Delete v1 setters code
2020-11-13 09:21:06 -08:00
tuti
e3ad472933
allow downloading older releases
2020-11-12 18:19:02 -08:00
tuti
154f894774
fix latest release download failure
2020-11-12 18:17:47 -08:00
Natasha Sarkar
4d7600d4ef
updated comments and readme
2020-11-12 18:02:11 -08:00
tuti
0a0a0ccddc
Merge branch 'master' from kubernetes-sigs/kustomize
2020-11-12 17:59:53 -08:00
Phani Teja Marupaka
2278e01b7f
Delete v1 setters code
2020-11-12 15:29:07 -08:00
Donny Xia
abc88c56c4
support inline transformer and generator
2020-11-12 15:19:14 -08:00
Kubernetes Prow Robot
eddd872eca
Merge pull request #3221 from pwittrock/framework
...
Function framework standalone feature
2020-11-12 13:52:25 -08:00
Sylvain Rabot
febede115e
Add namereference for PersistentVolume
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2020-11-12 22:47:33 +01:00
Natasha Sarkar
a2087f07d4
added kustomize edit set label
2020-11-12 13:26:52 -08:00
Phillip Wittrock
8b9d8a266d
Support standalone mode for framework functions
2020-11-12 11:54:58 -08:00
Phillip Wittrock
5557e1ff3c
Retain element ordering when merge resources
2020-11-12 08:54:16 -08:00
Phillip Wittrock
1c009ca217
More control over bytereadwriter options
...
- Override wrapping
- Override function config
2020-11-12 08:54:16 -08:00
Natasha Sarkar
bdb59d2cd2
updated releasing readme
2020-11-11 18:09:41 -08:00
Natasha Sarkar
b61a115e76
added support for multiple kubernetes openapi schemas
2020-11-11 18:09:41 -08:00
Jeff Regan
66221d17d4
Merge pull request #3217 from Shell32-Natsu/image
...
remove a tag from image
2020-11-11 16:22:51 -08:00
Kubernetes Prow Robot
c83f256dbe
Merge pull request #3218 from monopole/unpinEverything
...
Unpin everything post v3.8.7 release
2020-11-11 15:58:52 -08:00
jregan
fa3caaacee
Unpin everything post v3.8.7 release
2020-11-11 15:45:09 -08:00
Kubernetes Prow Robot
0a0a2ed586
Merge pull request #3209 from pwittrock/main
...
Remove duplicate docs content
2020-11-11 15:44:52 -08:00
Donny Xia
aff1db13e0
remove a tag from image
2020-11-11 15:41:32 -08:00
Kubernetes Prow Robot
ad092cc7a9
Merge pull request #3216 from monopole/pin_api_v0.6.5
...
Pin to api_v0.6.5
2020-11-11 15:08:50 -08:00
jregan
0a9fc6c8cb
Pin to api_v0.6.5
2020-11-11 14:56:25 -08:00
Kubernetes Prow Robot
881d33ac5c
Merge pull request #3214 from monopole/pin_cmd_config_v0.8.5
...
Pin to cmd/config/v0.8.5
2020-11-11 14:48:50 -08:00
jregan
842e4f5dc5
Pin to cmd/config/v0.8.5
2020-11-11 14:34:30 -08:00
Kubernetes Prow Robot
ef612286e4
Merge pull request #3213 from monopole/pinToCli-utils_v0.21.1
...
Pin to cli-utils_v0.21.1 kyaml_v0.9.4
2020-11-11 13:40:50 -08:00
jregan
636c9fcddf
Pin to cli-utils_v0.21.1 kyaml_v0.9.4
2020-11-11 13:26:05 -08:00
Kubernetes Prow Robot
333945d361
Merge pull request #3207 from runewake2/local-presubmit
...
Skip multi-mod check if PULL_NUMBER unset
2020-11-11 08:34:29 -08:00
Phillip Wittrock
afff3ce5ab
update docs site
2020-11-11 08:30:00 -08:00
Phillip Wittrock
71b763888c
Remove duplicate kustomize docs content
2020-11-11 08:29:43 -08:00
Jeff Regan
c5cd539b01
Merge pull request #3118 from brianpursley/kustomize-2893
...
Implement WNode methods
2020-11-11 08:15:29 -08:00
Sam Wronski
4b89c2afa2
Skip multi-mod check if PULL_NUMBER unset
2020-11-10 16:22:48 -08:00
Kubernetes Prow Robot
630fc9b973
Merge pull request #3206 from monopole/disableHelmTests
...
Disable helm inflator tests.
2020-11-10 16:12:42 -08:00
jregan
a468743b81
Disable helm inflator tests.
2020-11-10 15:22:25 -08:00
Kubernetes Prow Robot
e9a74b87e3
Merge pull request #3203 from Shell32-Natsu/fix-helm
...
fix helm chart inflation generator
2020-11-10 10:36:41 -08:00
Donny Xia
64f8d2ae38
add one more test
2020-11-10 10:25:05 -08:00
Donny Xia
5ab320c216
fix helm chart inflation generator
2020-11-10 10:03:26 -08:00
Kubernetes Prow Robot
6131f86d23
Merge pull request #3197 from Shell32-Natsu/doc
...
add link for component reference
2020-11-10 09:14:40 -08:00
Jeff Regan
e7609559ce
Merge pull request #3201 from monopole/tmpRemoveCheck
...
Temporarily remove cross-module PR check.
2020-11-10 08:23:12 -08:00
Donny Xia
c2bdac7a6b
Merge pull request #3200 from natasha41575/CleanTestComments
...
cleaned comments
2020-11-09 21:30:35 -08:00
Jeffrey Regan
4cc2c4f623
Temporarily remove cross-module PR check.
2020-11-09 20:47:06 -08:00
Natasha Sarkar
155c42679c
cleaned comments
2020-11-09 20:17:51 -08:00
Donny Xia
88239445ce
add link for component reference
2020-11-09 12:05:06 -08:00
Kubernetes Prow Robot
d66fc462ec
Merge pull request #3159 from natasha41575/MergeKeyList
...
use merge key list instead of a single merge key
2020-11-09 11:51:58 -08:00
Natasha Sarkar
6788af083b
updated tests for multiple merge keys
2020-11-09 11:35:37 -08:00
Natasha Sarkar
df0576a270
use merge key tuple instead of single merge key
2020-11-09 11:34:31 -08:00
Jeff Regan
f4d8ebb1da
Merge pull request #3182 from pwittrock/master
...
Redirect kustomize site to the unified site
2020-11-07 08:59:07 -08:00
Kubernetes Prow Robot
0acac39640
Merge pull request #3192 from Shell32-Natsu/multierror
...
Improve the readability for multiple errors in kusttarget
2020-11-06 17:21:38 -08:00
Donny Xia
65db82df0c
Merge pull request #3177 from Shell32-Natsu/json-patch
...
Improve json patch plugin
2020-11-06 16:17:24 -08:00
Donny Xia
68951bb37e
format
2020-11-06 15:38:33 -08:00
Donny Xia
b18910aa6d
format
2020-11-06 15:38:18 -08:00
Donny Xia
f780f7a3c2
update go.sum
2020-11-06 15:18:41 -08:00
Donny Xia
7966386615
improve format
2020-11-06 15:17:56 -08:00
Donny Xia
2130ba72cc
improve format
2020-11-06 15:17:43 -08:00
Donny Xia
94d26ba53a
improve the readability for multiple errors
2020-11-06 15:16:48 -08:00
Jeff Regan
c53f31ca4f
Merge pull request #3169 from Shell32-Natsu/patch-target
...
support regex in GVK selection
2020-11-06 15:15:40 -08:00
Jeff Regan
b58075cbc3
Merge pull request #3176 from natasha41575/ElementSetterList
...
add ElementSetterList and ElementMatcherList to fns.go
2020-11-06 13:40:48 -08:00
Jeff Regan
b3e82a2fe7
Merge pull request #3187 from runewake2/multi-module-golang
...
Run multi-module check during presubmit
2020-11-06 13:33:29 -08:00
Donny Xia
78c26f55b5
support regex in GVK selection
2020-11-06 13:23:55 -08:00
Jeff Regan
ec2a6e4e4b
Update Makefile
2020-11-06 13:15:43 -08:00
Natasha Sarkar
886f73aa0f
added test case for no values
2020-11-06 13:14:25 -08:00
Natasha Sarkar
73d91dda6e
changed handling of empty values
2020-11-06 11:42:17 -08:00
Natasha Sarkar
9f06376ab2
updated associative sequence
2020-11-05 17:22:54 -08:00
Natasha Sarkar
e785bab474
updated matchelementlist
2020-11-05 17:03:52 -08:00
Natasha Sarkar
8f80a898b6
removed elementsetterlist and updated elementsetter
2020-11-05 16:50:18 -08:00
Sam Wronski
fe84d119d6
Use gomodule when running prchecker
2020-11-05 16:03:36 -08:00
Sam Wronski
03b847a749
Use PULL_NUMBER env from prow
2020-11-05 15:44:40 -08:00
Sam Wronski
9d2f257acf
Install dependencies from go module
2020-11-05 15:28:37 -08:00
Jeff Regan
129b25ceff
Merge pull request #3167 from Shell32-Natsu/patch-test
...
re-enable test for edit patch add
2020-11-05 15:07:14 -08:00
Jeff Regan
57f4ea5354
Merge pull request #3166 from phanimarupaka/DeferOpenAPICleanup
...
Defer openAPI cleanup
2020-11-05 14:48:00 -08:00
Phani Teja Marupaka
ec2cc2d421
Defer openAPI cleanup
2020-11-05 13:49:43 -08:00
Sam Wronski
712eb6d276
Refactor changeset spanning function naming
2020-11-05 12:23:45 -08:00
Natasha Sarkar
a04e3a575c
added test case for different length keys/values
2020-11-05 12:19:54 -08:00
Natasha Sarkar
03e2fed925
checked array length
2020-11-05 12:16:17 -08:00
Jeff Regan
c37b3b2525
Merge pull request #3170 from natasha41575/MultipleMergeKeyTests
...
added tests for merge key tuple behavior
2020-11-05 12:12:59 -08:00
Donny Xia
ceeba8764f
update Makefile
2020-11-05 12:06:06 -08:00
Donny Xia
04d133a66f
re-enable test for edit patch add
2020-11-05 12:06:06 -08:00
Natasha Sarkar
99aaa80e1d
updated stale comments
2020-11-05 11:40:36 -08:00
Natasha Sarkar
1f806b0aa2
add elementsetterlist and elementmatcherlist to fns.go
2020-11-05 11:37:45 -08:00
Sam Wronski
1f697e3792
Run multi-module check during presubmit
2020-11-05 11:21:15 -08:00
Alexey Odinokov
28cdcc2e46
Allowing RunFns not to stop on empty result
...
Introducing the additional flag
ContinueOnEmptyResult that is false by default
to keep compatibility with the previous behavior.
Based on [1]
[1]
https://github.com/kubernetes-sigs/kustomize/pull/3112
2020-11-05 07:19:20 +00:00
Natasha Sarkar
c0ecd1d1ad
added more tests
2020-11-04 19:07:58 -08:00
Natasha Sarkar
3923c63182
added some tests to merge3/element_test.go
2020-11-04 19:07:58 -08:00
Natasha Sarkar
9943e74187
updated comments
2020-11-04 19:07:58 -08:00
Natasha Sarkar
3b504fa3e5
added StringList set
2020-11-04 19:07:58 -08:00
Kubernetes Prow Robot
9fb25fc5a7
Merge pull request #3139 from runewake2/multi-module-golang
...
Update Multi Module Check to Scan Commits
2020-11-04 12:14:52 -08:00
Phillip Wittrock
4d99217a7c
Build kustomize docs site with redirects to new unified at cli-experimental
2020-11-04 11:18:56 -08:00
Phillip Wittrock
0834e152b2
Redirect kustomize docs to the new unified site.
2020-11-04 11:15:40 -08:00
Donny Xia
ff276af317
use same logic with path transformer
2020-11-03 17:14:08 -08:00
Donny Xia
3b79944190
improve target in JSON6902 transformer
2020-11-03 17:13:43 -08:00
Kubernetes Prow Robot
d8d57eae29
Merge pull request #3174 from Shell32-Natsu/elementsetter-test
...
add tests for ElementSetter
2020-11-03 15:42:04 -08:00
Donny Xia
c803ca83a4
fix linter error
2020-11-03 15:29:01 -08:00
Donny Xia
6bed275234
add more tests for ElementSetter
2020-11-03 15:23:34 -08:00
Jeff Regan
8e5df26e4c
Merge pull request #3173 from natasha41575/StringListSet
...
added StringList set
2020-11-03 13:34:56 -08:00
Donny Xia
3fed68b694
clarify the comments
2020-11-03 13:09:12 -08:00
Natasha Sarkar
0e59c36d03
added StringList set
2020-11-03 12:42:37 -08:00
Jeff Regan
00fdf71dc3
Merge pull request #2951 from dearchap/cm_merge
...
Add ability to specify behavior adding configmap
2020-11-03 12:02:45 -08:00
Donny Xia
be327e7443
add tests for ElementSetter
2020-11-03 11:54:44 -08:00
Donny Xia
be8d2fe016
Merge pull request #3161 from mikebz/mb_remove_travis
...
removing travis references
2020-11-03 11:15:58 -08:00
Mike Borozdin
072ae36fe6
removing travis references
2020-11-03 10:04:42 -08:00
Naveen Gogineni
b5d8b8d258
Add ability to specify behavior when running "kustomize edit add configmap" command
2020-11-02 16:09:51 -05:00
Jeff Regan
e6b21174f1
Merge pull request #3143 from Shell32-Natsu/helm-inflator-builtin
...
Convert helminflator to builtin plugin HelmChartGenerator
2020-11-02 12:30:02 -08:00
Donny Xia
49094cf999
Merge pull request #3164 from Shell32-Natsu/cloudbuild
...
fix version in releasing/cloudbuild_kustomize_image.yaml
2020-11-02 11:12:11 -08:00
Donny Xia
d2c7db6ca0
update chart examples
2020-11-02 11:03:31 -08:00
Donny Xia
d141f9b973
fix version
2020-11-02 10:52:04 -08:00
Sam Wronski
877da8da6d
Update module span to check commits
...
- Use regex to detect if check should run
- Update scan to be per-commit
2020-11-02 10:29:40 -08:00
Kubernetes Prow Robot
8596e63203
Merge pull request #3163 from Shell32-Natsu/cloudbuild
...
update version in image creation
2020-11-02 10:16:15 -08:00
Donny Xia
b2df55e9d7
update version in image creation
2020-11-02 09:55:06 -08:00
Donny Xia
6daf8f8820
Merge pull request #3160 from Shell32-Natsu/cloudbuild
...
update cloudbuild for image pushing job
2020-11-02 09:39:48 -08:00
Donny Xia
e75d4fc87d
convert helm inflator to builtin plugin
2020-10-30 23:18:54 -07:00
Donny Xia
9ae07634f2
update cloudbuild for image pushing job
2020-10-30 12:19:17 -07:00
Donny Xia
981959ffcf
Merge pull request #3155 from radTuti/master
...
fix binary install script
2020-10-29 22:01:18 -07:00
tuti
dc31321b05
fix binary install script
2020-10-29 17:51:54 -07:00
Kubernetes Prow Robot
64dc3e14ff
Merge pull request #3153 from Shell32-Natsu/master
...
unpin modules
2020-10-29 16:32:05 -07:00
Donny Xia
da0893bac0
unpin modules
2020-10-29 16:17:45 -07:00
Kubernetes Prow Robot
c1747439cd
Merge pull request #3152 from Shell32-Natsu/master
...
Pin to api 0.6.4
2020-10-29 16:06:05 -07:00
Donny Xia
f68986827b
Pin to api 0.6.4
2020-10-29 15:53:34 -07:00
Kubernetes Prow Robot
b736b81167
Merge pull request #3151 from Shell32-Natsu/master
...
Pin to cmd/config 0.8.4
2020-10-29 15:24:06 -07:00
Donny Xia
0a04b1bb78
Pin to cmd/config 0.8.4
2020-10-29 15:11:09 -07:00
Kubernetes Prow Robot
f7ebaae39e
Merge pull request #3150 from Shell32-Natsu/master
...
Pin to kyaml v0.9.3
2020-10-29 15:04:06 -07:00
Donny Xia
08099f0cea
Pin to kyaml v0.9.3
2020-10-29 14:47:52 -07:00
Kubernetes Prow Robot
6fd04dd253
Merge pull request #3146 from ilyakaznacheev/fix-configmap-doc
...
Add better configMap cleanup description.
2020-10-28 17:38:59 -07:00
Ilya Kaznacheev
9ac97ef91f
Add better configMap cleanup descripion
2020-10-29 01:50:45 +03:00
Jeff Regan
cfbf426174
Merge pull request #3129 from Shell32-Natsu/patches-command
...
Update edit patch command
2020-10-28 12:47:13 -07:00
Donny Xia
9aafc61c5b
disable edit add patch command tests temporarily
2020-10-28 12:24:51 -07:00
Donny Xia
cd2ebd3046
code review
2020-10-27 15:10:29 -07:00
Jeff Regan
b20e5d7f84
Merge pull request #3135 from Shell32-Natsu/cleanup-namespace-transformer
...
cleanup namespace transformer
2020-10-27 09:54:28 -07:00
Jeff Regan
13c9a2873e
Update comments in multi-transformer
2020-10-27 07:17:14 -07:00
Kubernetes Prow Robot
fc06283905
Merge pull request #3140 from teruyam/patch-1
...
Fix broken link to release page
2020-10-26 12:37:02 -07:00
Jeff Regan
119d7cadf5
Merge pull request #3136 from natasha41575/NamespaceabilityFromOpenAPI
...
removed hardcoded list of namespaceable resources
2020-10-26 12:22:36 -07:00
Masashi Teruya
cdc6d1fc28
Fix broken link to release page
2020-10-24 11:18:33 +09:00
Natasha Sarkar
49dced2e01
removed hardcoded list of namespaceable resources
2020-10-23 11:47:29 -07:00
Donny Xia
76a8f034cb
Merge pull request #3133 from robinbraemer/patch-2
...
Add Ingress tls secretName to Secret builtin nameref
2020-10-23 11:20:11 -07:00
Donny Xia
52060ac480
Merge pull request #3132 from robinbraemer/patch-1
...
Add Ingress v1 support to builtin name references
2020-10-23 11:19:51 -07:00
Donny Xia
719532e4df
Merge pull request #3123 from AlphaWong/patch-1
...
doc: add varReference example
2020-10-22 14:42:05 -07:00
Donny Xia
70dcc79bf4
cleanup namespace transformer
2020-10-22 13:18:20 -07:00
Kubernetes Prow Robot
55b4448862
Merge pull request #3134 from phanimarupaka/OptionallySuppressIsSet
...
Make isSet a parameter
2020-10-22 11:43:37 -07:00
Phani Teja Marupaka
bcaac6f8c1
Make isSet a parameter
2020-10-22 11:31:30 -07:00
Jeff Regan
ba4b44db6b
Merge pull request #3126 from monopole/mechanical
...
Generated go.sum/mod and docs.go changes.
2020-10-22 10:30:52 -07:00
Robin Brämer
fd280d0c0b
Add Ingress tls secretName to Secret builtin nameref
2020-10-22 17:00:10 +02:00
Robin Brämer
1dbf490146
Add IngressClass kind
...
Adds IngressClass kind and Ingress fieldSpecs path spec/ingressClassName
2020-10-22 16:11:44 +02:00
Robin Brämer
62e4df72d3
Add Service name references for Ingress v1
...
Since Kubernetes v1.19, Ingress networking.k8s.io/v1 has two more Server name references.
- https://kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource
- https://kubernetes.io/docs/setup/release/notes/
2020-10-22 15:59:22 +02:00
Donny Xia
bb77a7c86d
refactor edit remove patch
2020-10-21 18:48:53 -07:00
Donny Xia
41abeb85be
refactor edit add patch command
2020-10-21 14:56:20 -07:00
Jeff Regan
3c86d37148
Merge pull request #3122 from Shell32-Natsu/ref-target
...
check Gvk in roleRef when update name reference
2020-10-21 11:19:20 -07:00
Kubernetes Prow Robot
287b38cc87
Merge pull request #3106 from Shell32-Natsu/array-index
...
support array index in PathGetter
2020-10-21 11:16:20 -07:00
jregan
d8d727b1ca
Generated go.sum/mod and docs.go changes.
2020-10-20 17:22:48 -07:00
Jeff Regan
a81a3d40ce
Merge pull request #3087 from etefera/add-isSet-to-list-setters
...
Add isSet to ListSetters cmd.
2020-10-20 16:52:13 -07:00
Eyob Tefera
52e682489c
Merge branch 'add-isSet-to-list-setters' of https://github.com/etefera/kustomize into add-isSet-to-list-setters
2020-10-20 23:24:11 +00:00
Eyob Tefera
8714ca5a58
Move "Is Set" column to after "Required"
2020-10-20 23:17:54 +00:00
Eyob Tefera
0490ca163f
Fix list_setters test.
2020-10-20 23:17:54 +00:00
Eyob Tefera
b4947fe8a0
Add isSet to ListSetters cmd.
2020-10-20 23:17:54 +00:00
Donny Xia
9c7b4fddf9
code review
2020-10-20 12:39:50 -07:00
Alpha
5d5b1c2c38
doc: simplify the language for understanding
2020-10-20 13:13:13 +08:00
Alpha
cf1aafb121
doc: add description for new user about vars
2020-10-20 13:06:31 +08:00
Alpha
2d4e406a86
doc: add varReference example
2020-10-20 12:56:43 +08:00
Jeff Regan
2a8edd2859
Merge pull request #3110 from aude/completion
...
Use Cobra for shell completion
2020-10-19 18:03:06 -07:00
Kubernetes Prow Robot
a3bc13847c
Merge pull request #3119 from phanimarupaka/MakeRecurseLogicPublic
...
Make recurse logic public
2020-10-19 17:28:07 -07:00
Kubernetes Prow Robot
944b19ff7c
Merge pull request #3114 from monopole/hideOpenapi
...
Hide openapi top-level command
2020-10-19 17:14:07 -07:00
Jeff Regan
f75274bae7
Merge pull request #3085 from mikeyrcamp/feat/add-edit-transformer
...
Add kustomize edit add/remove transformer command #3053
2020-10-19 15:04:12 -07:00
Donny Xia
62a8a8c57d
check Gvk in roleRef when update name reference
2020-10-19 14:01:13 -07:00
Kubernetes Prow Robot
9514f9cd3a
Merge pull request #3121 from natasha41575/regenerateSwagger
...
regenerated swagger.go files and updated asset name
2020-10-19 13:39:18 -07:00
Natasha Sarkar
c1c2725360
regenerated swagger.go files and updated asset name
2020-10-19 13:04:56 -07:00
Phani Teja Marupaka
e9ff26bb1b
Make recurse logic public
2020-10-19 12:26:15 -07:00
Kubernetes Prow Robot
14dc3dfb81
Merge pull request #3112 from KnVerey/pipeline_continue
...
[kyaml] Option to continue pipeline processing when filter returns empty result
2020-10-19 10:46:14 -07:00
Katrina Verey
44619d5ca2
Option to continue pipeline processing when filter returns empty result
2020-10-19 10:34:28 -07:00
brianpursley
027b7d61ea
Implemented the following WNode methods:
...
* GetFieldValue
* GetSlice
* GetString
* Map
* SetAnnotations
* SetGvk
* SetLabels
* SetName
* SetNamespace
2020-10-18 20:09:42 -04:00
Kubernetes Prow Robot
a458ed84f9
Merge pull request #3113 from etefera/add-isSet-to-setter-struct
...
Add IsSet to SetterDefinition for kyaml release.
2020-10-18 11:26:13 -07:00
Kubernetes Prow Robot
108f44377d
Merge pull request #3115 from monopole/refactorOpenapiMakefile
...
Refactor making of openapi generated files.
2020-10-16 19:24:12 -07:00
jregan
dc8439fbfa
Refactor making of openapi generated files.
2020-10-16 19:03:33 -07:00
Jeff Regan
f5353fafa1
Update info.go
2020-10-16 18:00:18 -07:00
jregan
3d1376bbbc
oopsHideProperCommand
2020-10-16 17:57:25 -07:00
Eyob Tefera
b1ea25e86a
Add IsSet to SetterDefinition for kyaml release.
2020-10-17 00:46:30 +00:00
Jeff Regan
495f6df973
Merge pull request #3107 from natasha41575/reportOpenAPIinfo
...
Created a "kustomize openapi info" command
2020-10-16 14:33:21 -07:00
Natasha Sarkar
a4f1f0841e
added a hidden openapi info command
2020-10-16 13:55:37 -07:00
Asbjørn Apeland
9d0fba81f0
Use Cobra for shell completion
2020-10-16 18:55:54 +02:00
Donny Xia
92826c6a1e
support array index in PathGetter
2020-10-15 16:28:09 -07:00
Kubernetes Prow Robot
7e04be9ec6
Merge pull request #3105 from Shell32-Natsu/unpinKyaml
...
Unpin kyaml
2020-10-15 14:23:25 -07:00
Donny Xia
d954c39ef7
Unpin kyaml
2020-10-15 14:05:31 -07:00
Jeff Regan
176ac5b4fa
Merge pull request #3104 from Shell32-Natsu/pinToKyaml0.9.2
...
Pin to kyaml v0.9.2
2020-10-15 14:02:47 -07:00
Donny Xia
dd696b5cb4
Pin to kyaml v0.9.2
2020-10-15 13:55:30 -07:00
Jeff Regan
501404e403
Merge pull request #3103 from monopole/prchecker
...
Move multi-module-span.go to cmd/prchecker
2020-10-15 13:39:48 -07:00
Jeff Regan
ddf94175ee
Merge pull request #3102 from natasha41575/rollbackPortMergeKey
...
changed port merge key back to containerPort
2020-10-15 12:06:51 -07:00
Jeff Regan
232da9e12b
Update Makefile
2020-10-15 11:58:50 -07:00
jregan
8b9ce8eacb
Move multi-module-span.go to cmd/prchecker
2020-10-15 11:46:27 -07:00
Natasha Sarkar
ee9a4f2526
changed port merge key back to containerport
2020-10-15 11:43:14 -07:00
Kubernetes Prow Robot
006ce72b2d
Merge pull request #3099 from umangachapagain/patch-1
...
Updated description for commonannotations
2020-10-15 11:35:25 -07:00
Jeff Regan
a80bd15bda
Merge pull request #3096 from runewake2/multi-module-golang
...
Add Support for Paginated Pull Request Responses to Multi-Module Check
2020-10-15 11:23:30 -07:00
Sam Wronski
6c63bb2727
Revert Makefile changes
2020-10-15 10:29:38 -07:00
Jeff Regan
a7ba93b1d8
Merge pull request #3101 from monopole/cleanUpMakeTargets
...
Cleanup Makefile.
2020-10-15 10:03:37 -07:00
jregan
4a78cd6579
Cleanup Makefile.
2020-10-15 10:02:15 -07:00
Jeff Regan
b2b8c12203
Update README.md
2020-10-15 09:46:35 -07:00
Jeff Regan
8cc281fad6
Merge pull request #3100 from monopole/movePluginatorToCmd
...
Move pluginator to cmd dir.
2020-10-15 09:43:46 -07:00
jregan
7346813b8d
Move pluginator to cmd dir.
2020-10-15 09:22:29 -07:00
Umanga Chapagain
52f3aca22d
Updated description for commonannotations
2020-10-15 09:13:39 +05:30
Mike Camp
a6a061215f
Add kustomize edit add/remove transformer command #3053
...
Similar to edit add/remove patch these commands
add the ability to add or remove a transformer file path
from the kustomization.yaml.
Refactored the "remove resource" and new "remove transformer"
tests into a common testRemoveCommand function to prevent
code duplication.
2020-10-14 22:24:08 -04:00
Kubernetes Prow Robot
7464d8ac8f
Merge pull request #3097 from Shell32-Natsu/as-current-user
...
add --as-current-user flag to fn run
2020-10-14 18:09:51 -07:00
Donny Xia
64fda38e2d
add --as-current-user flag to fn run
2020-10-14 17:07:03 -07:00
Sam Wronski
4cefb62d41
Add multi-module check to prow-presubmit-check
2020-10-14 15:34:52 -07:00
Eyob Tefera
ccca424234
Move "Is Set" column to after "Required"
2020-10-14 19:38:47 +00:00
Jeff Regan
ca45907af0
Merge pull request #3083 from stuartpb/patch-1
...
Group regex within anchoring
2020-10-14 08:34:28 -07:00
Jeff Regan
dcf43c7f2b
Merge pull request #3076 from natasha41575/fetchOpenAPIdata
...
Fetch openAPI data
2020-10-14 08:20:27 -07:00
Natasha Sarkar
1386ec3850
edited kpt target
2020-10-13 17:19:03 -07:00
Natasha Sarkar
de8e16df15
added script for installing kpt
2020-10-13 17:11:00 -07:00
Natasha Sarkar
222b2d4485
added MYGOBIN variable for kind
2020-10-13 16:25:29 -07:00
Natasha Sarkar
e107020bd2
edited make schema for kyaml
2020-10-13 13:53:25 -07:00
Natasha Sarkar
430665e984
version -> api_version
2020-10-13 13:21:19 -07:00
Kubernetes Prow Robot
017d5673ba
Merge pull request #3088 from Shell32-Natsu/arm-build
...
add arm build
2020-10-12 15:33:22 -07:00
Donny Xia
f346b9803e
add arm build
2020-10-12 13:41:24 -07:00
Eyob Tefera
58092bf66d
Fix list_setters test.
2020-10-12 20:23:53 +00:00
Eyob Tefera
747323efce
Add isSet to ListSetters cmd.
2020-10-12 20:14:25 +00:00
Jeff Regan
7428e08f93
Merge pull request #3081 from Shell32-Natsu/release-container
...
files for building image when release kustomize
2020-10-12 11:18:09 -07:00
Stuart P. Bentley
3c8e6d7151
Group regex within anchoring
...
This ensures that anchoring will apply to the entire anchored expression, eg. a pattern like `foo|bar` will only match the strings "foo" and "bar" (`^(?:foo|bar)$`), instead of matching any string that begins with "foo" or ends with "bar" (`^foo|bar$`).
2020-10-10 15:47:38 -07:00
Donny Xia
43bd2f4cdb
files for building image when release kustomize
2020-10-09 14:35:17 -07:00
Natasha Sarkar
1dfc9a88a8
moved openapi instructions to top of readme
2020-10-09 12:31:14 -07:00
Natasha Sarkar
01beba8697
formatting documentation:
2020-10-09 12:29:06 -07:00
Natasha Sarkar
b1e01b238b
updated documentation
2020-10-09 12:29:06 -07:00
Natasha Sarkar
1f595da9ad
updated way to fetch go-bindata
2020-10-09 12:29:06 -07:00
Natasha Sarkar
1cf876927d
minor makefile fix
2020-10-09 12:29:06 -07:00
Natasha Sarkar
a422c935d8
added make target to fetch new openapi schema
2020-10-09 12:29:06 -07:00
Jeff Regan
1971816663
Update README.md
2020-10-09 09:45:19 -07:00
Kubernetes Prow Robot
3d1eab872b
Merge pull request #3071 from monopole/unpinAll
...
Unpin api,cmd/config,kyaml
2020-10-08 13:03:06 -07:00
Jeff Regan
10c1b0c5fa
Update README.md
2020-10-08 11:34:07 -07:00
Jeff Regan
4d95cd3630
Merge pull request #3072 from monopole/gorepomod
...
Replace bash release helper scripts with Go progam
2020-10-08 11:10:57 -07:00
jregan
0c169e96e5
Replace bash release helper scripts with Go progam
2020-10-08 10:54:14 -07:00
jregan
5baea8400f
Unpin api,cmd/config,kyaml
2020-10-08 09:39:49 -07:00
Jeff Regan
4052cd4fd8
Merge pull request #3069 from monopole/pinToCmdConfigV0.8.2
...
Pin to cmd/config/v0.8.2, api/v0.6.3
2020-10-07 19:40:12 -07:00
jregan
21ac400d49
Pin to cmd/config/v0.8.2
2020-10-07 19:21:23 -07:00
Jeff Regan
351a4a48e4
Merge pull request #3068 from monopole/pinToKyamlv0.9.1_cliUtilsv0.20.4
...
Pin to kyaml/v0.9.1 and cli-utils/v0.20.4
2020-10-07 16:43:04 -07:00
jregan
b3cf475024
Pin to kyaml/v0.9.1 and cli-utils/v0.20.4
2020-10-07 16:23:13 -07:00
Jeff Regan
ded25075b1
Update README.md
2020-10-07 16:17:26 -07:00
Jeff Regan
05b8671d17
Update README.md
2020-10-07 14:35:44 -07:00
Jeff Regan
1bfcc81f08
Merge pull request #3027 from gochist/windows-exec
...
Support exec plugin on Windows
2020-10-07 14:18:14 -07:00
Jeff Regan
3d058830b9
Merge pull request #2918 from sunny0826/zh-patches
...
update zh doc api-reference/kustomization/patches
2020-10-07 14:04:53 -07:00
Jeff Regan
bdb53fca9e
Merge pull request #3067 from Shell32-Natsu/file-name
...
make file name more readable when no group
2020-10-07 13:50:28 -07:00
Donny Xia
b7265440f8
make file name more readable when no group
2020-10-07 12:44:45 -07:00
Kubernetes Prow Robot
72e1a27177
Merge pull request #3064 from Shell32-Natsu/comma
...
remove ',' separator in edit add label/annotation
2020-10-07 10:18:18 -07:00
Kubernetes Prow Robot
0a1fde1e41
Merge pull request #3066 from phanimarupaka/ImproveSetOutputMessage
...
Improve setter output message
2020-10-06 21:12:42 -07:00
Jeff Regan
ae4618d327
Merge pull request #3065 from natasha41575/updateSchemaForPorts
...
updated schema to fix port merging issue
2020-10-06 18:00:15 -07:00
Natasha Sarkar
aee6ccb05c
added documentation comments
2020-10-06 17:20:18 -07:00
Natasha Sarkar
3cd2a0a2f7
removed comments documenting broken test
2020-10-06 14:48:49 -07:00
Phani Teja Marupaka
c96fa7c347
Improve setter output message
2020-10-06 14:41:14 -07:00
Natasha Sarkar
ad01d8d34e
updated schema to fix port merging issue
2020-10-06 14:30:30 -07:00
Donny Xia
b214fa7d5a
remove ',' separator in edit add label/annotation
2020-10-06 11:49:39 -07:00
Jeff Regan
68f67c183e
Merge pull request #3060 from Shell32-Natsu/doc
...
Remove the lines about config save command
2020-10-06 09:54:23 -07:00
Jeff Regan
fe5c3a291f
Merge pull request #3059 from Shell32-Natsu/metadata
...
Add metadata field to kustomization file
2020-10-05 15:18:42 -07:00
Donny Xia
f38cc4446b
Remove the lines about config save command
2020-10-05 11:29:02 -07:00
Donny Xia
e695b0534d
Add metadata field to kustomization file
2020-10-05 11:20:41 -07:00
June Yi
51ecca8f2f
Add a comment about the behavior in Windows
2020-10-03 09:49:56 +09:00
Jeff Regan
460c54064c
Update README.md
2020-10-02 16:51:13 -07:00
Jeff Regan
50c0200429
Merge pull request #3056 from monopole/mechanicalGoSum
...
Update generated go.sum files.
2020-10-02 15:25:57 -07:00
jregan
b1b5a95466
Update generated go.sum files.
2020-10-02 14:51:17 -07:00
Jeff Regan
3f71c671df
Merge pull request #2948 from dearchap/patch-1
...
Update _index.md
2020-10-02 14:22:31 -07:00
Jeff Regan
2ce9c02ada
Merge pull request #3055 from phanimarupaka/CleanupCfgCommandOutput
...
Cleanup Cfg/Grep Command Output
2020-10-02 14:22:00 -07:00
Jeff Regan
3ffc13dd6e
Merge pull request #3054 from Shell32-Natsu/isnamespaceable
...
refactor Gkv.isNamespaceableKind
2020-10-02 14:03:08 -07:00
Jeff Regan
2fb8603b2a
Merge pull request #3050 from Shell32-Natsu/deployment-annotation
...
support var ref in deployment template annotations
2020-10-02 14:01:32 -07:00
Jeff Regan
1d4b3fa36c
Merge pull request #3048 from Shell32-Natsu/merge-prepend
...
add option to choose prepend/append patch items to list in merge
2020-10-02 11:53:22 -07:00
Donny Xia
03ea8f3615
update tests
2020-10-02 10:10:05 -07:00
Donny Xia
74d0d7960e
add option to choose prepend/append in merge
2020-10-02 09:56:59 -07:00
Phani Teja Marupaka
ffed4c95b3
Cleanup Cfg/Grep Command Output
2020-10-01 16:51:13 -07:00
Donny Xia
c59b393fa4
refactor Gkv.isNamespaceableKind
2020-10-01 11:28:58 -07:00
Jeff Regan
fafe24c9df
Merge pull request #3038 from Shell32-Natsu/patch-list
...
support merge strategy directive in list
2020-10-01 10:53:13 -07:00
Jeff Regan
d62d8dcade
Merge pull request #3003 from runewake2/multi-module-golang
...
Adds a directory spanning check script
2020-09-30 13:39:21 -07:00
Kubernetes Prow Robot
ae7f984c71
Merge pull request #3052 from natasha41575/addIsEmptyToResource
...
added IsEmpty() method
2020-09-30 13:26:54 -07:00
Natasha Sarkar
7c8c827a88
added IsEmpty() method
2020-09-30 12:17:14 -07:00
Donny Xia
ff927fd11a
support merge strategy in list
2020-09-30 10:52:47 -07:00
Donny Xia
a4f6fee6c8
support var ref in deployment template annotations
2020-09-30 10:21:03 -07:00
Jeff Regan
dd8edb1b01
Merge pull request #3040 from natasha41575/fixIssue2896
...
fixed issue 2896
2020-09-29 17:55:08 -07:00
Kubernetes Prow Robot
bb42d8aa1b
Merge pull request #3044 from Shell32-Natsu/element-getter
...
add GetElementByKey
2020-09-29 17:53:24 -07:00
Donny Xia
bb60c29672
add GetElementByKey
2020-09-29 17:36:07 -07:00
Natasha Sarkar
c93274c224
changed way to test for empty resource
2020-09-29 17:33:12 -07:00
Natasha Sarkar
f5feffbd23
fix for the patchdelete test
2020-09-28 13:28:06 -07:00
Natasha Sarkar
e17bab7e55
updated to include namespace
2020-09-28 11:01:01 -07:00
Natasha Sarkar
bd534441ce
fixed issue 2896
2020-09-28 11:01:01 -07:00
June Yi
85f79edc97
Add testcase for ErrIfNotExecutable
2020-09-26 18:01:39 +09:00
Kubernetes Prow Robot
4c48a4ff83
Merge pull request #3033 from Shell32-Natsu/3021
...
fix multiple match issue in rolebinding
2020-09-25 17:22:48 -07:00
Jeff Regan
eb6c715bc3
Merge pull request #3032 from Shell32-Natsu/default-branch
...
remove default master branch in cloner
2020-09-25 17:01:54 -07:00
Jeff Regan
1320e0c3dc
Merge pull request #2999 from aodinokov/fixenv
...
Added list of env variables for fn-plugins
2020-09-25 17:00:28 -07:00
Jeff Regan
df0022c985
Merge pull request #2949 from dearchap/cmdline
...
Chore: docs : Add basic structure for command line options
2020-09-25 16:44:04 -07:00
Jeff Regan
15fc341a13
Merge pull request #2992 from Shell32-Natsu/as-current-user
...
add as-current-user for fn run
2020-09-25 16:42:49 -07:00
Jeff Regan
dd90c41f85
Merge pull request #2994 from PascalBourdier/patch-1
...
fix typo
2020-09-25 16:35:11 -07:00
Jeff Regan
3a5951563d
Merge pull request #3037 from mortent/RemoveDepOnCliUtils
...
Remove dependency from cmd/config on cli-utils
2020-09-24 12:59:21 -07:00
Donny Xia
acdfd9a920
remove error from NewContainer
2020-09-24 11:37:49 -07:00
Donny Xia
52016b22dd
test without system call
2020-09-24 11:37:48 -07:00
Donny Xia
11049fa0bb
add as-current-user for fn run
2020-09-24 11:37:48 -07:00
Morten Torkildsen
db6c825c05
Remove dependency from cmd/config on cli-utils
2020-09-24 11:16:41 -07:00
Jeff Regan
cb7974cf45
Merge pull request #3024 from Shell32-Natsu/master
...
Add issue templates
2020-09-23 21:46:44 -07:00
Jeff Regan
00111846d3
Merge pull request #3023 from TIKI-Institut/master
...
Enable the installation of specific versions with the "install_kustomize.sh" script (#3022 )
2020-09-23 21:44:53 -07:00
Kubernetes Prow Robot
eafa37810b
Merge pull request #3034 from Shell32-Natsu/cfg-tree-kustomization
...
add Kustomization to cfg tree
2020-09-23 21:44:04 -07:00
Donny Xia
0c0cb9aaba
add Kustomization to cfg tree
2020-09-23 13:35:45 -07:00
Donny Xia
b51e09d5fe
fix multiple match issue in rolebinding
2020-09-23 13:03:12 -07:00
Donny Xia
c8cd5e55fc
Add bug filing link
2020-09-23 11:33:03 -07:00
Kubernetes Prow Robot
103d1461a1
Merge pull request #3029 from phanimarupaka/SetAllSetterDefsOpenAPI
...
Sync openAPI setter values with schema
2020-09-22 19:26:09 -07:00
Donny Xia
f02af7a48b
remove default master branch in cloner
2020-09-22 15:57:50 -07:00
Phani Teja Marupaka
eba9edd7a6
Sync openAPI setter values with schema
2020-09-22 14:05:05 -07:00
Kubernetes Prow Robot
cf38166bd6
Merge pull request #3030 from mortent/FixDotGitFiles
...
copyutil should not ignore files that just happen to start with .git
2020-09-22 13:42:09 -07:00
Morten Torkildsen
03498b46b8
copyutil should not ignore files that just happen to start with .git
2020-09-22 12:32:06 -07:00
Donny Xia
9fa9c6c30c
Update issue templates
2020-09-22 12:08:50 -07:00
Donny Xia
884e35b4c8
issue template
2020-09-22 12:08:50 -07:00
Kubernetes Prow Robot
28787396b2
Merge pull request #3026 from mortent/RenameGetIgnoreFileNameFunc
...
Drop the get prefix from GetIgnoreFileName function
2020-09-22 10:56:42 -07:00
Jeff Regan
e3cf8987e1
Merge pull request #3025 from seans3/live-command-fix
...
Small change to live commands retrieval
2020-09-22 09:19:27 -07:00
June Yi
551841b789
Support exec plugin on Windows
2020-09-22 22:42:18 +09:00
Morten Torkildsen
66740dfad6
Drop the get prefix from GetIgnoreFileName function
2020-09-21 20:54:57 -07:00
Kubernetes Prow Robot
537ff024dd
Merge pull request #2981 from mortent/SimplifyCmdConfigExt
...
Simplify the cmd/config ext package
2020-09-21 17:56:47 -07:00
Morten Torkildsen
cfab28a5ff
Simplify the cmd/config ext package
2020-09-21 17:30:36 -07:00
Sean Sullivan
471d5ccf84
Small change to live commands retrieval
2020-09-21 16:41:48 -07:00
Timo Walter
6a9e75ee0d
Improve the "install_kustomize.sh" script
...
- fix formatting
- remove unnecessary echo statements
2020-09-21 23:09:16 +02:00
Kubernetes Prow Robot
7500764cbf
Merge pull request #3000 from Shell32-Natsu/res-select
...
fix namespace will match all empty namespace
2020-09-21 13:07:52 -07:00
Donny Xia
544fc60bfe
add another test
2020-09-21 12:24:47 -07:00
Jeff Regan
0850eae0b9
Merge pull request #3001 from Shell32-Natsu/patch-delete
...
handle the "$patch: delete" in patch transformer
2020-09-21 12:03:40 -07:00
Jeff Regan
3818cebe33
Merge pull request #3011 from natasha41575/issue2896test
...
test for issue 2896
2020-09-21 11:59:51 -07:00
Donny Xia
31b395a33f
handle the "$patch: delete" in patch transformer
2020-09-21 11:46:39 -07:00
Natasha Sarkar
ce0dba9217
fixed bug in base test
2020-09-21 11:32:26 -07:00
Natasha Sarkar
9abd0119e1
test for issue 2896
2020-09-21 11:25:54 -07:00
Jeff Regan
b6c6cfa7ac
Update README.md
2020-09-21 10:24:08 -07:00
Timo Walter
0c5fc5e694
Extend the install_kustomize.sh to enable the installation of specific versions
2020-09-21 15:16:57 +02:00
Alexey Odinokov
64cbfbe56d
added test for env vars
2020-09-21 06:14:09 +00:00
Jeff Regan
6a94eb873f
Merge pull request #3018 from monopole/unpinEverything
...
Unpin api, kyaml and cmd/config
2020-09-20 08:46:55 -07:00
jregan
0bfec6b39b
Unpin kyaml, cmd/config and api.
2020-09-20 08:07:32 -07:00
Jeff Regan
9002c338cb
Merge pull request #3019 from monopole/installGh
...
Install gh cli tool via make
2020-09-20 07:39:52 -07:00
jregan
f86cb6479e
Install gh cli tool via make
2020-09-20 07:39:16 -07:00
Jeff Regan
8285af8cf1
Merge pull request #3017 from monopole/updateREADME
...
Update release instructions.
2020-09-19 08:33:25 -07:00
Jeffrey Regan
5fa1282dcb
Update release instructions.
2020-09-19 08:32:53 -07:00
Jeff Regan
5a0abc8b12
Merge pull request #3016 from monopole/pinToApiV0.6.2
...
Pin to api v0.6.2
2020-09-19 08:22:13 -07:00
Jeffrey Regan
3f2508fa94
Pin to api v0.6.2
2020-09-19 07:48:07 -07:00
Jeff Regan
9d992aae68
Merge pull request #3015 from monopole/pinToCmdConfigV0.8.1
...
Pin to cmd/config/v0.8.1
2020-09-19 07:42:05 -07:00
Jeffrey Regan
8c906b804f
Pin to cmd/config/v0.8.1
2020-09-19 07:12:13 -07:00
Jeff Regan
4ff4940fa7
Update README.md
2020-09-18 18:28:42 -07:00
Jeff Regan
09aec5694a
Merge pull request #3013 from monopole/generated
...
Generated pin to cli-utils v0.20.2 hash
2020-09-18 18:26:25 -07:00
Jeffrey Regan
1f917c0499
Generated pin to cli-utils v0.20.2 hash
2020-09-18 17:52:33 -07:00
Kubernetes Prow Robot
225ffc7cd8
Merge pull request #3012 from Shell32-Natsu/remove-network-name
...
remove --network-name flag from kpt fn run
2020-09-18 16:48:27 -07:00
Kubernetes Prow Robot
eb638cc312
Merge pull request #3009 from Shell32-Natsu/endpoint-service
...
put endpoints before service
2020-09-18 14:20:28 -07:00
Jeff Regan
7dfb96425e
Merge pull request #3010 from monopole/pinToCliUtils_v0.20.2
...
Pin to cli-utils/v0.20.2
2020-09-18 13:35:02 -07:00
Jeff Regan
6d4c6127c8
Update README.md
2020-09-18 13:18:54 -07:00
Jeff Regan
6aa72b66ef
Update README.md
2020-09-18 13:15:52 -07:00
Jeff Regan
f03fdc09cb
Update README.md
2020-09-18 13:10:19 -07:00
Jeffrey Regan
30b6eeb460
Pin to cli-utils/v0.20.2
2020-09-18 13:08:53 -07:00
Jeff Regan
bf67fcb6d6
Update README.md
2020-09-18 12:55:59 -07:00
Jeff Regan
4ae420cce1
Merge pull request #3008 from monopole/pinToKyamlv_0_8_1
...
Pin to kyaml v0.8.1
2020-09-18 12:40:02 -07:00
Donny Xia
87d2187436
remove --network-name flag from kpt fn run
2020-09-18 12:39:49 -07:00
Donny Xia
f1dabbd4fc
put endpoints before service
2020-09-18 12:21:03 -07:00
Jeffrey Regan
747e05f2a4
Pin to kyaml v0.8.1
2020-09-18 12:11:03 -07:00
Jeff Regan
3514317b3d
Merge pull request #3007 from monopole/unpin
...
Unpin the dependencies post release.
2020-09-18 11:19:42 -07:00
Jeff Regan
9299821571
Merge pull request #2998 from Shell32-Natsu/network
...
Change network to a boolean in kpt fn run
2020-09-18 11:12:26 -07:00
Jeffrey Regan
d91f313137
Unpin the dependencies post release.
2020-09-18 09:51:05 -07:00
Jeff Regan
161af9d99c
Merge pull request #3002 from monopole/pinToApiV0_6_1
...
Pin to api/v0.6.1
2020-09-17 17:18:11 -07:00
jregan
b115c95ea1
Pin to api/v0.6.1
2020-09-17 16:27:08 -07:00
Sam Wronski
4c75dac10a
Adds a directory spanning check script
2020-09-17 16:18:17 -07:00
Donny Xia
2f8a376ae4
fix namespace will match all empty namespace
2020-09-17 12:46:18 -07:00
Jeff Regan
20cd4bfef9
Merge pull request #2997 from kubernetes-sigs/removeReplaceDir
...
Update go.mod
2020-09-17 11:02:08 -07:00
Alexey Odinokov
b314ca185f
Added list of env variables for fn-plugins
...
KRM-functions should be able get env variables.
Reflecting in `build` cmd args added in [1]
for `fn run` cmd.
[1]
https://github.com/kubernetes-sigs/kustomize/pull/2988/
2020-09-17 03:41:36 +00:00
Donny Xia
f6c06b58ef
Change network to a boolean
2020-09-16 16:20:50 -07:00
Jeff Regan
c45e05b7bd
Update go.mod
2020-09-16 12:53:39 -07:00
Kubernetes Prow Robot
76bae738a0
Merge pull request #2932 from mstrYoda/master
...
add DisableNameSuffixHash parameter to edit Secret & ConfigMap
2020-09-16 10:29:20 -07:00
Pascal Bourdier
98c88805c3
fix typo
...
typo
2020-09-16 15:36:36 +02:00
Jeff Regan
0770661b2a
Merge pull request #2991 from monopole/goSumUpdates
...
Go sum updates
2020-09-15 17:34:23 -07:00
jregan
67d5871e87
Go sum updates
2020-09-15 17:02:40 -07:00
Jeff Regan
f98c683915
Merge pull request #2983 from Shell32-Natsu/allow-null
...
ignore null value in fieldspec
2020-09-15 17:02:20 -07:00
Jeff Regan
ffe9c9d947
Merge pull request #2990 from monopole/pinToKyamlv0_8_0
...
Pin to kyaml v0.8.0
2020-09-15 15:51:08 -07:00
jregan
4d42ffc7f8
Pin to kyaml v0.8.0
2020-09-15 15:26:29 -07:00
Jeff Regan
d7dc7d911e
Merge pull request #2989 from monopole/minorFix
...
Generated changes.
2020-09-15 14:56:16 -07:00
jregan
04404ff61b
Generated changes.
2020-09-15 14:55:08 -07:00
Jeff Regan
f864e15c68
Merge pull request #2974 from Shell32-Natsu/function-definition
...
remove not used args & use const string instead of literal
2020-09-15 14:34:25 -07:00
Jeff Regan
29a444fffc
Merge pull request #2988 from Shell32-Natsu/env-flag
...
Add --env/-e flag to fn run
2020-09-15 14:31:40 -07:00
Donny Xia
327035a43a
Add --env/-e flag
2020-09-15 11:49:26 -07:00
Kubernetes Prow Robot
ad7fed061e
Merge pull request #2984 from phanimarupaka/FixCmdCfgIssues
...
Do not print package info in grep
2020-09-15 09:40:07 -07:00
Phani Teja Marupaka
cea2986574
Don not pring package info in grep
2020-09-15 00:15:52 -07:00
Kubernetes Prow Robot
00f0fd7109
Merge pull request #2978 from mortent/NamespaceabilityFromSchema
...
Determine namespaceability of resources from openapi schema
2020-09-14 21:10:06 -07:00
Kubernetes Prow Robot
1c6481d011
Merge pull request #2982 from mortent/UpdateCliUtils
...
Update cmd/config to use latest version of cli-utils
2020-09-14 13:27:24 -07:00
Donny Xia
f0bc926640
ignore null value in fieldspec
2020-09-14 13:20:20 -07:00
Morten Torkildsen
11d9ff5690
Update cmd/config to use latest version of cli-utils
2020-09-14 12:08:48 -07:00
Jeff Regan
6a0a909e73
Merge pull request #2976 from monopole/deferLive
...
Remove live; done testing. Bring to sig-cli for discussion.
2020-09-14 11:00:48 -07:00
Kubernetes Prow Robot
bd8f0c88e5
Merge pull request #2967 from phanimarupaka/CfgTreeWithSubpackages
...
Print Krmfile data for cfg tree
2020-09-14 10:42:59 -07:00
Donny Xia
e5809e49cb
remove not used args
2020-09-14 10:10:20 -07:00
Phani Teja Marupaka
880009b648
Print Krmfile data for cfg tree
2020-09-14 09:57:18 -07:00
Morten Torkildsen
d083c7f1d0
Determine namespaceability of resources from openapi schema
2020-09-12 15:01:42 -07:00
Jeffrey Regan
684ce141de
Defer live testing.
2020-09-11 17:25:25 -07:00
Kubernetes Prow Robot
5c8c7a043a
Merge pull request #2973 from phanimarupaka/CfgCommandsStdoutFixes
...
Format the output of cfg commands
2020-09-11 16:44:57 -07:00
Kubernetes Prow Robot
0fe7f65ef2
Merge pull request #2975 from monopole/addTest
...
Add test representing 2960
2020-09-11 16:10:57 -07:00
Jeffrey Regan
950c1de46d
Add test representing 2960
2020-09-11 15:22:41 -07:00
Phani Teja Marupaka
fc690f14a8
Format the output of cfg commands
2020-09-11 14:49:18 -07:00
Jeff Regan
a6e03e4d11
Merge pull request #2920 from wyyxd2017/hato4
...
Technical details structure picture
2020-09-11 14:32:19 -07:00
Jeff Regan
60428be5fb
Merge pull request #2944 from justinsb/alas_poor_grepfilter
...
Remove some obsolete references to GrepFilter
2020-09-11 14:16:30 -07:00
Jeff Regan
4d402d4875
Merge pull request #2969 from justinsb/fix_split_docs
...
Fix comment on SplitIndexNameValue
2020-09-11 14:13:43 -07:00
Jeff Regan
fbddd264be
Merge pull request #2971 from etefera/fix-broken-patches-change
...
Fix unintended patches change in all Kustomization writes.
2020-09-11 13:33:09 -07:00
Eyob Tefera
d3c46d3f7c
Move offending Write() tests to tests for fix.
2020-09-11 19:19:54 +00:00
Eyob Tefera
dda3984a8f
Move kustomization fixing to before Write step.
2020-09-11 18:57:14 +00:00
Eyob Tefera
f889ca8885
Add set image test with patchesJson6902.
2020-09-11 18:48:48 +00:00
Justin SB
341bacb9a2
Fix comment on SplitIndexNameValue
...
It was incorrect and suggested some behaviour which isn't present.
Added test to verify the documented behaviour.
2020-09-11 11:39:49 -04:00
Kubernetes Prow Robot
badc1177d9
Merge pull request #2939 from ZhuGongpu/master
...
Add --log-steps flag
2020-09-09 19:05:44 -07:00
Kubernetes Prow Robot
1680cc72c0
Merge pull request #2953 from easimon/add_namespace_to_namespace_transformer
...
Add namespace name to namespace transformer defaults
2020-09-09 14:57:44 -07:00
Jeff Regan
2f89de86f8
Merge pull request #2956 from justinsb/fix_language
...
Replace language with more inclusive & accurate "hard-coded"
2020-09-09 11:33:53 -07:00
Jeff Regan
ab4e9c718b
Merge pull request #2943 from Shell32-Natsu/clean-up-temp-dir
...
remove all temp dir
2020-09-09 11:20:17 -07:00
Kubernetes Prow Robot
288c03ddca
Merge pull request #2959 from phanimarupaka/CatWithSubpkgs
...
Cat with subpackages
2020-09-09 10:49:08 -07:00
Justin SB
5c60285f25
Replace language with more inclusive & accurate "hard-coded"
...
hard-coded is probably more helpful to understanding the limitations
of the current approach.
2020-09-09 08:41:33 -04:00
Kubernetes Prow Robot
6df0a45368
Merge pull request #2958 from phanimarupaka/GrepWithSubpkgs
...
Grep with subpackages
2020-09-08 21:09:52 -07:00
Kubernetes Prow Robot
8206987580
Merge pull request #2957 from phanimarupaka/CountWithSubpkgs
...
Count with Subpackages
2020-09-08 20:53:52 -07:00
Kubernetes Prow Robot
6189ca9798
Merge pull request #2955 from phanimarupaka/FmtWithSubpkgs
...
Fmt with subpackages
2020-09-08 20:33:52 -07:00
Phani Teja Marupaka
b8c1601a93
Cat with subpackages
2020-09-08 18:42:31 -07:00
Phani Teja Marupaka
34d610a38d
Fmt with subpackages
2020-09-08 17:07:55 -07:00
Phani Teja Marupaka
8e4c8464e7
Grep with subpackages
2020-09-08 16:59:23 -07:00
Phani Teja Marupaka
43ab7a8e71
Count with Subpackages
2020-09-08 16:33:00 -07:00
Kubernetes Prow Robot
d2f23a4b8b
Merge pull request #2938 from phanimarupaka/OtherCfgCommandsWithSubPkgs
...
annotate, delete-setter, delete-subst With Subpackages
2020-09-08 16:25:52 -07:00
Phani Teja Marupaka
0dc36a4f7c
Annotate With Subpackages
...
Delete Setters And Subst With Subpkgs
2020-09-08 15:52:57 -07:00
Kubernetes Prow Robot
678ae12115
Merge pull request #2946 from phanimarupaka/RefactorSubPkgsIteration
...
Refactor subpackages logic
2020-09-08 11:47:52 -07:00
Phani Teja Marupaka
c4d937322f
Refactor subpackages logic
2020-09-08 11:23:54 -07:00
Kubernetes Prow Robot
a2adb835b6
Merge pull request #2941 from mortent/FixIgnoreFilesMatcher
...
Fix issue where ignoreFilesMatcher doesn't work correctly
2020-09-08 10:33:44 -07:00
Markus Dobel
01b5c4e9da
Add namespace name to namespace transformer defaults
2020-09-08 11:24:58 +02:00
Naveen Gogineni
5a4e2c2898
Add basic structure for command line options for users to be able to place info into them
2020-09-05 11:36:49 -04:00
dearchap
51719d8089
Update _index.md
2020-09-05 10:28:27 -04:00
Justin SB
eb4c5dc035
Remove some obsolete references to GrepFilter
...
Looks like GrepFilter was generalized to Filter.
2020-09-04 13:41:16 -04:00
Morten Torkildsen
e976386931
Fix issue where ignoreFilesMatcher doesn't work correctly
2020-09-03 20:14:07 -07:00
Donny Xia
bae9986422
remove all temp dir
2020-09-03 12:03:12 -07:00
Jeff Regan
e7970d82a8
Merge pull request #2942 from Shell32-Natsu/addDonny
...
add Donny to maintainer
2020-09-03 11:52:14 -07:00
Donny Xia
9bdd489c96
add Donny to maintainer
2020-09-03 10:57:50 -07:00
Kubernetes Prow Robot
0f49fef5ed
Merge pull request #2940 from phanimarupaka/FixSettersSubPkgsFriction
...
Fix setters subpkgs friction
2020-09-03 08:59:41 -07:00
Phani Teja Marupaka
8d74b8c3b5
Fix setters subpkgs friction
2020-09-02 23:06:26 -07:00
Gongpu Zhu
39a8798a87
Add --log-steps flag
2020-09-02 20:47:21 -07:00
Jeff Regan
980f407552
Merge pull request #2931 from Shell32-Natsu/image-tag-legacy
...
add legacy filter to image tag transformer
2020-09-02 13:02:53 -07:00
Donny Xia
9ca8f4602d
add legacy filter to image tag transformer
2020-09-01 13:06:14 -07:00
Kubernetes Prow Robot
ba0f583ee5
Merge pull request #2911 from phanimarupaka/SetWithSubPackages
...
Setters/substitutions with subpackages
2020-09-01 11:23:51 -07:00
Phani Teja Marupaka
f432f4d75e
Setters with subpackages
2020-09-01 10:54:08 -07:00
Jeff Regan
17793abacd
Merge pull request #2930 from daniel-hutao/patch-1
...
fix “chart s” to “charts ”
2020-09-01 10:12:58 -07:00
Jeff Regan
64cd4ec1d5
Merge pull request #2929 from monopole/testExamplesAgainst_v3.8.2
...
Test examples against v3.8.2
2020-09-01 10:12:18 -07:00
Daniel (ht)
fb822984e3
fix “chart s” to “charts ”
...
fix “chart s” to “charts ”
2020-09-01 16:24:49 +08:00
jregan
6d2a737c29
Test examples against v3.8.2
2020-08-31 16:48:19 -07:00
Jeff Regan
6e7713281e
Merge pull request #2928 from monopole/addGorepomod
...
Add more release instructions
2020-08-31 13:50:48 -07:00
jregan
6a7bb9e33e
Add gorepomod tool to install list
2020-08-31 13:28:19 -07:00
Jeff Regan
0e9428c8b0
Merge pull request #2927 from monopole/unpinning
...
Unpinning after release releases
2020-08-31 12:47:28 -07:00
jregan
c838962432
fix module hashes
2020-08-31 12:08:16 -07:00
jregan
548d10ef08
unpin kyaml
2020-08-31 12:08:16 -07:00
jregan
2db8487f02
unpin cmd/config
2020-08-31 12:08:16 -07:00
jregan
b42f71a20f
unpin api
2020-08-31 12:08:16 -07:00
Jeff Regan
e9824aa749
Merge pull request #2926 from monopole/fixAGoMod
...
Repair a go module spec.
2020-08-31 12:08:06 -07:00
jregan
92cc9fc5e1
Repair a go module spec.
2020-08-31 11:35:32 -07:00
wangyeyu
e53b4c9884
Technical details structure picture
2020-08-31 10:01:19 +08:00
guoxudong
d4503dfd1e
update zh doc patches
2020-08-31 09:38:59 +08:00
Jeff Regan
e2973f6ecc
Merge pull request #2915 from monopole/pinToKustomizeApiv_0_6_0
...
Pin to kustomize api v0.6.0
2020-08-29 09:42:26 -07:00
jregan
2bf9fc816d
Pin to kustomize api v0.6.0
2020-08-29 08:55:29 -07:00
Jeff Regan
ff55856c63
Merge pull request #2913 from monopole/pinApiToKyamlV_0_7_1
...
Pin api to kyaml/v0.7.1
2020-08-28 19:23:36 -07:00
jregan
ceef219eec
Pin api to kyaml/v0.7.1
2020-08-28 18:54:41 -07:00
Jeff Regan
b21699a277
Merge pull request #2912 from monopole/pinCmdConfigToKyamlv0_7_1
...
Pin to cmd/config to kyaml/v0.7.1 and cli-utils/v0.19.2
2020-08-28 18:47:00 -07:00
jregan
2ab85d2f63
Pin to cmd/config to kyaml/v0.7.1 and cli-utils/v0.19.2
2020-08-28 18:25:14 -07:00
Kubernetes Prow Robot
320545884c
Merge pull request #2898 from mortent/AddKrmignoreFile
...
Add support for .krmignore file
2020-08-28 18:17:19 -07:00
Morten Torkildsen
16bbc2d67e
Add support for .krmignore file
2020-08-28 17:28:02 -07:00
Jeff Regan
6d860e8ace
Merge pull request #2910 from monopole/updateReleaseInstructions
...
Add recommended sequence to release instructions.
2020-08-28 11:45:58 -07:00
Jeffrey Regan
80c8a6df61
Add recommended sequence to release instructions.
2020-08-28 11:43:34 -07:00
Jeff Regan
90bc96d9d8
Merge pull request #2892 from SyamSundarKirubakaran/Docs-Patch
...
Docs Update - patches
2020-08-28 11:32:33 -07:00
Jeff Regan
2be59aefec
Merge pull request #2909 from Shell32-Natsu/remove-flags
...
remove --fn-user and --fn-env flags
2020-08-28 11:22:17 -07:00
Donny Xia
91b779269f
remove --fn-user and --fn-env flags
2020-08-28 10:42:30 -07:00
Jeff Regan
e6ea4ad260
Merge pull request #2902 from monopole/fixcomments
...
Fix some generated comments.
2020-08-27 14:49:58 -07:00
jregan
f5cab0f6e1
Fix some generated comments.
2020-08-27 14:49:23 -07:00
Jeff Regan
e39afc9f68
Merge pull request #2900 from Shell32-Natsu/add-fn-env
...
add --fn-env flag to fn run
2020-08-27 14:38:51 -07:00
Donny Xia
3801a29d9b
add --fn-env flag to fn run
2020-08-27 13:46:36 -07:00
Kubernetes Prow Robot
39cf4af638
Merge pull request #2891 from phanimarupaka/ListSettersWithSubPackages
...
List setters in subpackages
2020-08-27 13:43:24 -07:00
Phani Teja Marupaka
9d65dd0786
List setters in subpackages
2020-08-27 12:32:22 -07:00
Jeff Regan
3dced70850
Merge pull request #2888 from Shell32-Natsu/envs
...
explicitly specify envs to be exported in function
2020-08-26 15:47:43 -07:00
Jeff Regan
4356043582
Merge pull request #2847 from Shell32-Natsu/prefix-suffix-name-reference
...
fix name reference with prefixsuffix
2020-08-26 13:13:59 -07:00
Donny Xia
c202be0338
Remove redundant env field
2020-08-26 12:49:42 -07:00
Jeff Regan
9359155418
Update nameref.go
2020-08-26 12:00:37 -07:00
Jeff Regan
ba22bbe19e
Merge pull request #2890 from Shell32-Natsu/fn-user
...
add --fn-user flag to function run
2020-08-26 10:44:49 -07:00
Syam Sundar K
3e5989ae18
docs/ build
2020-08-26 18:11:27 +05:30
Syam Sundar K
fbebd990a4
Docs update - Patch Examples
2020-08-26 17:46:29 +05:30
mstrYoda
257707d839
Merge branch 'master' of https://github.com/kubernetes-sigs/kustomize
2020-08-26 13:24:04 +03:00
mstrYoda
c1cd872df6
add DisableNameSuffixHash for secret and configmap
2020-08-26 13:22:26 +03:00
Donny Xia
646e0b4f61
add --fn-user flag to function run
2020-08-25 15:29:59 -07:00
Donny Xia
0f67692265
Add more tests
2020-08-25 14:51:01 -07:00
Donny Xia
6a7afd8694
fix name reference with prefixsuffix
2020-08-25 12:25:37 -07:00
Donny Xia
46194b3385
code review
2020-08-25 12:15:37 -07:00
Donny Xia
904a9dea08
explicitly specify envs to be exported in function
2020-08-25 12:14:46 -07:00
Jeff Regan
30b58e90a3
Merge pull request #2887 from Shell32-Natsu/network-name
...
refactor network name in kyaml container
2020-08-25 11:47:13 -07:00
Jeff Regan
5bdd8657a5
Merge pull request #2889 from etefera/release-note-generator
...
Add logging for module release notes.
2020-08-24 16:58:42 -07:00
Donny Xia
893c99da1c
code review
2020-08-24 16:27:55 -07:00
Eyob Tefera
43980f8586
Remove changelog directive in yaml.
2020-08-24 21:39:51 +00:00
Eyob Tefera
0c8e033c96
Add logging for module release notes.
2020-08-24 21:21:30 +00:00
Donny Xia
fa15242719
refactor network name in kyaml container
2020-08-24 11:40:57 -07:00
Kubernetes Prow Robot
a2e080bf6c
Merge pull request #2886 from monopole/deprecateOrDrown
...
Add types and proposal for k8s to kyaml migration.
2020-08-24 10:42:17 -07:00
jregan
e91cdb5eba
Checkpoint
2020-08-23 19:46:08 -07:00
Jeff Regan
ef54f9be5a
Merge pull request #2885 from monopole/cleanupOpts
...
Clean up option construction.
2020-08-23 12:20:52 -07:00
jregan
f051acb83c
Clean up option construction.
2020-08-23 12:06:48 -07:00
Jeff Regan
bbb046081b
Merge pull request #2884 from monopole/splitPreservingLineHistory
...
Split out rewrangler preserving line history
2020-08-23 09:18:23 -07:00
jregan
77b28a986f
Split reswrangler.go and test from resmap.go
2020-08-23 08:23:13 -07:00
jregan
97bc34eb37
Delete non-api/resmap/reswrangler stuff from api/resmap/reswrangler.
2020-08-23 08:18:23 -07:00
jregan
719380f523
Copy api/resmap/resmap to api/resmap/reswrangler.
2020-08-23 08:18:23 -07:00
Jeff Regan
640ae9521b
Merge pull request #2882 from monopole/unpin
...
Unpin transformers from kyaml.
2020-08-22 18:57:46 -07:00
jregan
1dffc7577b
Unpin transformers from kyaml.
2020-08-22 18:38:48 -07:00
Jeff Regan
a0b7288329
Merge pull request #2883 from monopole/tweakCloudBuild
...
Tweak cloudbuild.sh release note handling
2020-08-22 18:11:26 -07:00
Jeffrey Regan
cc5617c048
Tweak cloudbuild.sh release note handling
2020-08-22 18:07:36 -07:00
Jeff Regan
a77d7e5164
Merge pull request #2875 from etefera/bundled-release-notes
...
Generate release notes per module.
2020-08-22 17:45:41 -07:00
Jeff Regan
40dc90b3b1
Update cloudbuild.sh
2020-08-22 17:45:16 -07:00
Jeff Regan
16229095b3
Merge pull request #2880 from monopole/merginator
...
Simplify use of the Merginator.
2020-08-22 08:36:22 -07:00
jregan
1d91401772
Simplify use of the Merginator.
2020-08-22 08:07:57 -07:00
Jeff Regan
007a5327d7
Merge pull request #2877 from monopole/rnodeCopy
...
RNode copier
2020-08-21 18:33:17 -07:00
jregan
24beeb429d
RNode copier
2020-08-21 18:04:58 -07:00
Jeff Regan
9b4d4c9d46
Merge pull request #2876 from monopole/parseGv
...
Gvk.ParseGroupVersion function.
2020-08-21 16:16:02 -07:00
jregan
d5f868c5c7
Gvk.ParseGroupVersion function.
2020-08-21 15:40:37 -07:00
Jeff Regan
ff3f39d84b
Merge pull request #2871 from Shell32-Natsu/container-user
...
Update kyaml to specify user for function
2020-08-21 14:19:55 -07:00
Donny Xia
451c5c32c9
code review
2020-08-21 12:05:11 -07:00
Eyob Tefera
faef5714bf
Feed generated changelog as input to goreleaser.
2020-08-21 18:11:47 +00:00
Jeff Regan
7833c6edcf
Merge pull request #2873 from mortent/BumpCliUtilsVersion
...
Bump cli-utils version to 0.19.0
2020-08-21 08:14:26 -07:00
Morten Torkildsen
a1cd23c91d
Bump cli-utils version to v0.19.0
2020-08-20 20:35:46 -07:00
Jeff Regan
e39a5adc00
Merge pull request #2864 from Shell32-Natsu/fn-source-empty-dir
...
add option to continue pipeline when the input is empty
2020-08-20 18:09:11 -07:00
Donny Xia
b6900ead22
update TODO with issue number
2020-08-20 17:01:03 -07:00
Donny Xia
d03cf061e8
Update kyaml to specify user for function
2020-08-20 15:24:59 -07:00
Jeff Regan
8293f3002d
Merge pull request #2870 from monopole/deleteNewlyUnused
...
Delete newly orphaned code.
2020-08-20 14:55:01 -07:00
jregan
edced4b3f6
Delete newly orphaned code.
2020-08-20 13:12:06 -07:00
Donny Xia
501684a9c6
remove break after input in pipeline
2020-08-20 11:54:56 -07:00
Jeff Regan
4e42e1a058
Merge pull request #2866 from yankeexe/patch-1
...
Update dead URL to base in glossary.
2020-08-20 09:33:02 -07:00
Yankee
b450b624e8
Update dead URL to base in glossary.
...
The term `central concept` referring to `base` was a dead link. Updated the link to go to proper definition of base.
2020-08-20 08:18:47 +05:45
Jeff Regan
0be4a61f64
Merge pull request #2794 from etefera/replace-patches-name
...
Replace patchesJson6902 field with patches.
2020-08-19 14:02:59 -07:00
Kubernetes Prow Robot
596c39b7bc
Merge pull request #2855 from phanimarupaka/DeleteSubst
...
Delete substitution and fix delete setters
2020-08-19 12:27:23 -07:00
Donny Xia
037ac3b134
add option to continue pipeline when the input is empty
2020-08-19 11:21:35 -07:00
Jeff Regan
0ff4e53046
Update comment in types.go
2020-08-19 10:36:28 -07:00
Kubernetes Prow Robot
660f7f9435
Merge pull request #2859 from monopole/namespaceable
...
Add TypeMeta.IsNamespaceable
2020-08-19 09:31:14 -07:00
jregan
e6ee03e3e3
Add TypeMeta.IsNamespaceable
2020-08-19 06:50:12 -07:00
Phani Teja Marupaka
ca04c874f2
Delete substitution and fix delete setters
2020-08-18 22:24:50 -07:00
Kubernetes Prow Robot
cbfef858a0
Merge pull request #2854 from monopole/inlineTypeMeta
...
Inline repeated types.
2020-08-18 10:39:11 -07:00
Kubernetes Prow Robot
62fbfdfa21
Merge pull request #2826 from ZhuGongpu/master
...
Add an option to log which function is running
2020-08-17 13:25:31 -07:00
Kubernetes Prow Robot
5d72fbc6c9
Merge pull request #2848 from phanimarupaka/UpdateArraySetterComments
...
Update setter comments correctly on updates
2020-08-17 10:29:31 -07:00
Kubernetes Prow Robot
bc37ec9d88
Merge pull request #2853 from phanimarupaka/WarnIfNoSubstMatch
...
Print message if subst doesn't match any field value
2020-08-17 10:00:19 -07:00
jregan
8619c9aa13
Inline TypeMeta.
2020-08-16 17:20:30 -07:00
Phani Teja Marupaka
5d8722a786
Print message if subst doesn't match any field value
2020-08-16 15:54:34 -07:00
Jeff Regan
0d5552fca6
Merge pull request #2852 from monopole/splitPreservingLineHistory
...
Make mapnode.go, preserving line history.
2020-08-16 14:33:33 -07:00
jregan
8a8e35f3bb
Split mapnode.go and test from types.go
2020-08-16 13:25:19 -07:00
jregan
25dbe1eaa8
Delete non-kyaml/yaml/mapnode stuff from kyaml/yaml/mapnode.
2020-08-16 13:25:19 -07:00
jregan
2289e7d2e9
Copy kyaml/yaml/types to kyaml/yaml/mapnode.
2020-08-16 13:25:19 -07:00
Jeff Regan
eb0f484e3d
Merge pull request #2851 from monopole/blamePreservingSplit
...
Split rnode.go from types.go, preserving line history
2020-08-16 08:03:06 -07:00
jregan
d438271263
Split rnode.go and test from types.go
2020-08-16 07:36:15 -07:00
jregan
c4c8decb74
Delete non-rnode stuff from rnode.go.
2020-08-16 07:35:11 -07:00
jregan
0590b225c7
Copy types.go to rnode.go.
2020-08-16 07:35:11 -07:00
Jeff Regan
45131a6d62
Merge pull request #2850 from monopole/autoMod
...
Automated go.sum/format updates.
2020-08-15 19:31:40 -07:00
jregan
4dfe3c6296
Automated go.sum updates.
2020-08-15 19:18:08 -07:00
Jeff Regan
881f358228
Merge pull request #2835 from james-callahan/transformer-APIService-support
...
Transform namespace inside of APIService
2020-08-15 18:03:25 -07:00
Jeff Regan
86c93b9fb7
Merge pull request #2829 from msk-/master
...
Bug: name prefix or suffix in base results in incorrect references
2020-08-15 18:02:59 -07:00
Phani Teja Marupaka
25e30de2d6
Update setter comments correctly on updates
2020-08-15 03:46:33 -07:00
Jeff Regan
a8160356bd
Merge pull request #2839 from mortent/SetterNestedPath
...
Add test for adding setter with path inside a sequence
2020-08-14 09:48:25 -07:00
Jeff Regan
32de6de313
Merge pull request #2840 from mortent/ImproveFieldPathDescription
...
Improve the description of the --field flag for create-setter
2020-08-14 09:47:42 -07:00
Jeff Regan
501ec38777
Merge pull request #2831 from Shell32-Natsu/line-break-test
...
Add test for long quoted string with blanks
2020-08-13 17:25:18 -07:00
Morten Torkildsen
1b2a966c62
Improve the description of the --field flag for create-setter
2020-08-12 20:21:12 -07:00
Morten Torkildsen
bcdbb1a282
Add test for adding setter with path inside a sequence
2020-08-12 20:04:39 -07:00
Jeff Regan
01f28e6779
Merge pull request #2838 from phanimarupaka/UnpinCmdConfigv0.6.0
...
Unpin kyaml v0.6.0 from cmd/comnfig
2020-08-12 15:43:33 -07:00
Phani Teja Marupaka
3f8e3686e2
Unpin kyaml v0.6.0 from cmd/comnfig
2020-08-12 14:45:27 -07:00
Kubernetes Prow Robot
b47e34ea5e
Merge pull request #2836 from phanimarupaka/BumpKyamlAndCliUtils
...
Bump kyaml and cli-utils in cmd/config
2020-08-12 13:05:15 -07:00
Phani Teja Marupaka
762e587471
Bump kyaml and cli-utils in cmd/config
2020-08-12 12:49:31 -07:00
Donny Xia
6f782ac8c3
fix linter issue
2020-08-12 12:25:49 -07:00
Donny Xia
e5bc644653
change the test for blanks in string
2020-08-12 12:17:56 -07:00
Eyob Tefera
1bc9225302
Move patches fix to before Write step.
2020-08-12 18:14:03 +00:00
msk-
99d7ad6dc9
Made test pass- whoops
2020-08-12 11:53:47 +01:00
msk-
345dbc83e3
Implemented PR feedback
2020-08-12 11:49:24 +01:00
James Callahan
8ddf2297e8
Transform namespace inside of APIService
2020-08-12 17:19:25 +10:00
Gongpu Zhu
b407675fc0
Enable logging in runfn
2020-08-11 18:02:22 -07:00
Jeff Regan
fd5eeb1645
Merge pull request #2832 from Shell32-Natsu/fix-cmdxargs
...
Fix IsFieldEmpty in cmdxargs
2020-08-11 16:39:46 -07:00
Donny Xia
ff5051711f
fix test failure
2020-08-11 16:21:50 -07:00
Donny Xia
51268a5f06
Fix IsFieldEmpty in cmdxargs
2020-08-11 16:11:23 -07:00
Donny Xia
1366e0344a
Add test for long line break
2020-08-11 13:43:18 -07:00
Jeff Regan
9be38e815e
Merge pull request #2830 from kubernetes-sigs/drop-link-from-readme
...
Drop link to github release page from main readme
2020-08-11 12:59:26 -07:00
Jeff Regan
88c318bf46
Drop link to github release page from main readme
...
Fix #2823
2020-08-11 12:52:59 -07:00
msk-
b71b36a213
Added test for name suffix in base not generating expected reference name
2020-08-11 10:02:25 +01:00
Gongpu Zhu
e5a78710aa
Add callback to kio pipeline execution
2020-08-10 17:14:56 -07:00
Jeff Regan
7ee75c33a9
Merge pull request #2824 from monopole/deleteIsFieldEmpty
...
Remove unused IsFieldEmpty function, add more godoc.
2020-08-10 12:54:41 -07:00
jregan
2b328eeb36
Remove unused IsFieldEmpty, add more godoc.
2020-08-10 12:37:13 -07:00
Eyob Tefera
4da40461d3
Merge branch 'master' into replace-patches-name
2020-08-10 18:31:33 +00:00
Eyob Tefera
c96a4f3d73
Merge branch 'master' of https://github.com/kubernetes-sigs/kustomize
2020-08-10 18:26:16 +00:00
Eyob Tefera
45893b2588
Iteratively convert PatchesJson6902 to Patches.
2020-08-10 17:57:39 +00:00
Eyob Tefera
2f3c89e73f
Add diffing to tests.
2020-08-10 17:57:03 +00:00
Eyob Tefera
eee581462c
Undo wholesale replacement of PatchesJson6902.
2020-08-10 17:53:30 +00:00
Jeff Regan
616363ee73
Merge pull request #2822 from monopole/punchDrunk
...
IsFieldEmpty renamed to MapNode.IsNilOrEmpty
2020-08-10 10:46:39 -07:00
jregan
0e13eadd7a
IsFieldEmpty renamed to MapNode.IsNilOrEmpty
2020-08-10 10:24:02 -07:00
Jeff Regan
0c37388135
Merge pull request #2821 from monopole/moveIsNilToMethod
...
Testing for nilness, nullness and emptyness.
2020-08-10 10:23:16 -07:00
Jeff Regan
5d1352882b
Merge pull request #2815 from fknipp/patch-1
...
Add full github link to varreference.go
2020-08-09 17:30:23 -07:00
jregan
c469e80cad
Add RNode.IsNilOrEmpty and test.
2020-08-09 12:37:12 -07:00
jregan
5559601ecb
Add tests for IsTaggedNull, IsYNodeEmptySeq and IsYNodeEmptyMap.
2020-08-09 12:29:35 -07:00
jregan
01b34c8ea0
Add tests for IsNil
2020-08-09 11:55:28 -07:00
Jeff Regan
eba0ffdde2
Merge pull request #2820 from monopole/dropIsEmptyCalls
...
Replace all calls to yaml.IsEmpty with IsMissingOrNull
2020-08-09 11:09:57 -07:00
jregan
31c59bd7f2
Drop all calls to IsEmpty.
2020-08-09 10:47:06 -07:00
Eyob Tefera
bd7d0f864b
Revert "Remove unused utility function StringInSplice."
...
This reverts commit 43b0f2d925 .
2020-08-09 07:30:40 +00:00
Jeff Regan
2da8959198
Merge pull request #2818 from monopole/hoserFace
...
Use yaml.IsYNodeString
2020-08-07 18:21:23 -07:00
Jeff Regan
dc591f0a10
Merge pull request #2817 from monopole/pinToCmdConfigv_0_5_0
...
Switch to cmd/config v0.5.0
2020-08-07 15:57:19 -07:00
jregan
c94f164e66
Use new
2020-08-07 15:57:00 -07:00
jregan
fb216d8af8
Switch to cmd/config v0.5.0
2020-08-07 15:31:54 -07:00
Jeff Regan
72207bfa04
Merge pull request #2816 from monopole/moveToKyamlv0_5_0
...
Move to kyaml v0.5.0
2020-08-07 15:13:41 -07:00
jregan
fe3321d710
Move to kyaml v0.5.0
2020-08-07 14:45:56 -07:00
Jeff Regan
35b5890e46
Merge pull request #2814 from monopole/moofloaves
...
Fix more constants.
2020-08-07 13:35:13 -07:00
Franz Knipp
ca807019f0
Add full github link to varreference.go
...
Otherwise, the link is broken on github.io: https://kubernetes-sigs.github.io/kustomize/api-reference/kustomization/vars/
2020-08-07 22:23:18 +02:00
jregan
6420fc4911
Fix more constants.
2020-08-07 13:21:35 -07:00
Jeff Regan
bd8262630e
Merge pull request #2813 from monopole/apiCleanup
...
Kyaml api cleanup
2020-08-07 13:15:56 -07:00
jregan
cf5b26db8a
Kyaml api cleanup
2020-08-07 12:44:31 -07:00
Jeff Regan
4b4049e646
Merge pull request #2812 from monopole/baseApiCleanup
...
Remove old constants from kyaml
2020-08-07 12:36:08 -07:00
Jeff Regan
f211841035
Merge pull request #2811 from monopole/moveToNewConstants
...
Move to new constants.
2020-08-07 12:32:41 -07:00
Jeff Regan
efa4587f92
Merge pull request #2811 from monopole/moveToNewConstants
...
Move to new constants.
2020-08-07 12:21:02 -07:00
jregan
873c8c1d17
Move to new constants.
2020-08-07 12:18:24 -07:00
Jeff Regan
686e97f2fe
Merge pull request #2810 from Shell32-Natsu/fieldspec-empty
...
fix panic when fieldspec refers an empty value
2020-08-07 11:50:14 -07:00
Donny Xia
669ae59982
code review
2020-08-07 11:12:40 -07:00
Donny Xia
868a226e4e
fix typo
2020-08-07 11:11:08 -07:00
Donny Xia
a2693d0249
fix panic when fieldspec refers an empty value
2020-08-07 10:47:25 -07:00
Jeff Regan
b7d913b58c
Merge pull request #2805 from Shell32-Natsu/keep-empty-map
...
Keep empty map in kustomize output
2020-08-07 10:40:34 -07:00
Jeff Regan
f199b747e9
Merge pull request #2807 from wingyplus/fix-typo
...
Fix typo in build sub-command example
2020-08-07 10:35:03 -07:00
Kubernetes Prow Robot
5a9fbf7da3
Merge pull request #2804 from phanimarupaka/SubstWithSameName
...
Error on creation if setter/subst exists
2020-08-07 09:47:56 -07:00
Thanabodee Charoenpiriyakij
c18c803d3f
Fix typo in build sub-command example
2020-08-07 14:16:35 +07:00
Donny Xia
d59d0401f4
Keep empty map in kustomize output
2020-08-06 13:21:38 -07:00
Phani Teja Marupaka
83a70f7830
Error on creation if setter/subst exists
2020-08-06 11:02:20 -07:00
Jeff Regan
6afabf26ae
Merge pull request #2802 from monopole/goHash
...
Auto module hash update.
2020-08-05 17:14:12 -07:00
jregan
2bcece5f1e
Auto module hash update.
2020-08-05 16:54:49 -07:00
Jeff Regan
e605391895
Merge pull request #2800 from Shell32-Natsu/ignore-tempdir-env
...
Ignore TMPDIR when run container
2020-08-05 16:41:22 -07:00
Jeff Regan
9de2c6b58e
Merge pull request #2787 from Shell32-Natsu/hasher
...
Refactor hasher with kyaml
2020-08-05 16:25:06 -07:00
Eyob Tefera
b3f147d012
Add group and verison to fix test.
2020-08-05 22:03:12 +00:00
Donny Xia
fc70e3181f
code review
2020-08-05 13:31:05 -07:00
Donny Xia
8cd7c13fad
fix linter issue
2020-08-05 12:04:46 -07:00
Donny Xia
740ec39dd8
Temporarily disable hash result check in configGeneration.md to pass test
2020-08-05 11:59:13 -07:00
Donny Xia
e6927a2fdf
Add test for legacy hasher
2020-08-05 11:59:13 -07:00
Donny Xia
083dccfe91
Update hash result in tests
2020-08-05 11:59:13 -07:00
Donny Xia
b61553e584
refactor hasher
2020-08-05 11:59:12 -07:00
Donny Xia
8cdc97a0dd
code review
2020-08-05 11:56:19 -07:00
Jeff Regan
f205641498
Merge pull request #2780 from Shell32-Natsu/namereferencetransformer
...
Refactor namereferencetransformer with kyaml
2020-08-05 10:38:47 -07:00
Jeff Regan
bfaca2122a
Merge pull request #2801 from monopole/updateGoMods
...
Update module hashes
2020-08-05 09:22:18 -07:00
jregan
9482c571f0
Update module hashes
2020-08-05 09:00:12 -07:00
Jeff Regan
1ad49de087
Merge pull request #2796 from betterclever/patch-1
...
Order PersistentVolume before Deployment
2020-08-05 08:55:08 -07:00
Jeff Regan
5e89565930
Merge pull request #2792 from mortent/FixSetterWalk
...
Fix issue where the schema was not propagated correctly when walking yaml doc
2020-08-05 08:38:51 -07:00
Jeff Regan
ef713e33ce
Merge pull request #2777 from hornpolish/tftest
...
adds test for issue#2767
2020-08-04 19:11:50 -07:00
Donny Xia
2f7241f4c3
code review
2020-08-04 17:11:18 -07:00
Paul Kent
34e0ade3e7
respond to PR feedback
2020-08-04 17:25:38 -04:00
Kubernetes Prow Robot
436c688bd0
Merge pull request #2797 from phanimarupaka/SuffixSubstInFix
...
Infix/Suffix subst creation for fix
2020-08-04 14:11:40 -07:00
Kubernetes Prow Robot
9d8fbd9f04
Merge pull request #2795 from phanimarupaka/CommentOnUpdate
...
Update setter comments during 3-way merge
2020-08-04 14:11:32 -07:00
Kubernetes Prow Robot
bb6fb703a0
Merge pull request #2799 from phanimarupaka/ErrorForSettersInsufficientArgs
...
Throw insufficient arguments error for create-setter
2020-08-04 13:24:22 -07:00
Donny Xia
c99bc47c8d
fix test on macos
2020-08-04 11:01:06 -07:00
Donny Xia
60422c8090
Ignore TMPDIR when run container
2020-08-04 10:48:59 -07:00
Phani Teja Marupaka
fc83477ec8
Throw insufficient arguments error for create-setter
2020-08-04 00:41:52 -07:00
Jeff Regan
c9e8631399
Merge pull request #2776 from hornpolish/psmtest
...
add test for issues raised in #2734
2020-08-03 15:35:07 -07:00
Phani Teja Marupaka
974e3847dd
Infix/Suffix subst creation for fix
2020-08-03 14:46:29 -07:00
Pranjal Paliwal
8f4e7e8072
Order PersistentVolume before Deployment
...
Solves issue https://github.com/kubernetes-sigs/kustomize/issues/202
Ordering is not being maintained for "PersistentVolume" and "PersistentVolumeClaim" which leads to the creation of "Deployment" before persistent volume leading to container crashes.
2020-08-04 01:09:35 +05:30
Phani Teja Marupaka
4e74947731
Update setter comments during 3-way merge
2020-08-03 11:55:34 -07:00
Eyob Tefera
43b0f2d925
Remove unused utility function StringInSplice.
2020-08-01 18:45:44 +00:00
Eyob Tefera
efd5f414a8
Remove unused field from field order list.
2020-08-01 18:44:30 +00:00
Eyob Tefera
9b8232533f
Add test.
2020-08-01 08:55:18 +00:00
Eyob Tefera
bc5859d44b
Replace patchesJson6902 field with patches.
2020-08-01 08:55:00 +00:00
Morten Torkildsen
5c433ead5e
Use k8s schema to determine formatting if no type on setter
2020-07-31 13:44:47 -07:00
Morten Torkildsen
feeaa994b7
Fix issue where the schema was not propagated correctly when walking yaml doc
2020-07-31 10:56:00 -07:00
Kubernetes Prow Robot
17f935452f
Merge pull request #2778 from phanimarupaka/FixSetters
...
Fix command: Migrate v1 Setters to latest
2020-07-30 13:09:07 -07:00
Phani Teja Marupaka
6faff2d031
Fix V1 Setters and migrate to latest
2020-07-30 12:51:57 -07:00
Kubernetes Prow Robot
18a86bd7d6
Merge pull request #2784 from mortent/HandleIncorrectTypes
...
Handle some incorrect type values like 'int' and 'bool' in setters
2020-07-30 12:19:06 -07:00
Kubernetes Prow Robot
7eac250cf4
Merge pull request #2783 from mortent/ValidateSchema
...
Validate provided schema when creating setter
2020-07-29 15:16:03 -07:00
Morten Torkildsen
52083c6e49
Validate schema when creating setter
2020-07-29 13:54:47 -07:00
Morten Torkildsen
6f63cf7238
SetterCreator accepts schema as a string rather than file path and validates schema
2020-07-28 22:53:21 -07:00
Morten Torkildsen
de0c8dedc4
Handle some incorrect type values like 'int' and 'bool' in setters
2020-07-28 13:49:07 -07:00
Paul Kent
c23004df79
Merge branch 'psmtest' of github.com:hornpolish/kustomize into psmtest
2020-07-28 13:38:16 -04:00
Paul Kent
1a44c3c543
add test for issues raised in #2734
2020-07-28 13:22:05 -04:00
Donny Xia
a9d1182322
Add test for name ref
2020-07-27 12:45:45 -07:00
Donny Xia
a3d5628133
Add methods for namref filter test
2020-07-27 12:17:27 -07:00
Donny Xia
a563169461
refactor namereftransformer with kyaml
2020-07-27 10:56:13 -07:00
Paul Kent
729544b9f4
adds test for issue 2767
2020-07-25 15:37:07 -04:00
Paul Kent
69d497ccdd
add test for issue #2767
2020-07-25 13:17:23 -04:00
Paul Kent
c58c142849
add test for issues raised in #2734
2020-07-25 12:44:49 -04:00
Jeff Regan
9ba04e3f7d
Merge pull request #2769 from kzwang/add-component
...
add kustomize edit add component command
2020-07-24 19:35:47 -07:00
Kevin Wang
3f842e5e92
add kustomize edit add component command
2020-07-24 18:17:20 -07:00
Jeff Regan
9fdb3e1e9e
Merge pull request #2768 from kzwang/remote-resource
...
Support remote resources for kustomize edit add
2020-07-24 17:58:55 -07:00
Jeff Regan
462dbcb999
Merge pull request #2771 from Shell32-Natsu/slash-in-path
...
support slash in path in fieldspec
2020-07-24 17:58:35 -07:00
Jeff Regan
3e0448f1b7
Merge pull request #2759 from Shell32-Natsu/refvartransformer
...
Refactor refvartransformer with kyaml
2020-07-24 17:01:48 -07:00
Jeff Regan
3c3f9a26f6
Merge pull request #2772 from mortent/AddBackReplaceCmdConfig
...
Add back replace directive for kyaml in cmd/config
2020-07-24 16:58:00 -07:00
Jeff Regan
7d7c889285
Update README.md
2020-07-24 16:04:29 -07:00
Morten Torkildsen
4fe2f9dd5b
Add back replace directive for kyaml in cmd/config
2020-07-24 15:38:29 -07:00
Donny Xia
0cb852b98a
support slash in path
2020-07-24 15:22:36 -07:00
Kubernetes Prow Robot
7f5ce3e6f0
Merge pull request #2770 from mortent/BumpDepsForCmdConfig
...
Bump cli-utils version in cmd/config for relase
2020-07-24 13:54:17 -07:00
Donny Xia
bf5656b02b
remove kyaml replace in kustomize
2020-07-24 13:34:15 -07:00
Morten Torkildsen
0ec901a9a9
Bump cli-utils version in cmd/config for relase
2020-07-24 13:30:45 -07:00
Donny Xia
af057a95c5
Refactor refvartransformer with kyaml
2020-07-24 13:23:35 -07:00
Jeff Regan
c48e584d1a
Merge pull request #2766 from monopole/swicthToKyamlV0_4_2
...
Switch to kyaml v0.4.2
2020-07-24 12:48:46 -07:00
Kevin Wang
2ee4eec791
Support remote resources for kustomize edit add
2020-07-24 12:26:58 -07:00
jregan
f06a64e9cc
Switch to kyaml v0.4.2
2020-07-24 11:59:01 -07:00
Jeff Regan
51f9a84358
Update cloudbuild.sh
2020-07-24 11:54:39 -07:00
Jeff Regan
07c25eb458
Update cloudbuild.sh
2020-07-24 11:46:53 -07:00
Jeff Regan
ba57cdbd99
Merge pull request #2765 from monopole/updateCloudbuild
...
Try goreleaser's skip to deal with no-binary releases
2020-07-24 11:35:50 -07:00
jregan
8a9dc011f4
Try goreleaser skip to deal with no-binary releases
2020-07-24 11:34:57 -07:00
Jeff Regan
fd196f5d70
Merge pull request #2762 from kzwang/components-field
...
Retain components field in edit
2020-07-24 11:31:19 -07:00
Jeff Regan
4c577f6667
Merge pull request #2764 from Shell32-Natsu/seqtag
...
Add seq tag in kyaml
2020-07-24 11:30:59 -07:00
Donny Xia
65fd7c3e6e
Add seq tag in kyaml
2020-07-24 11:17:31 -07:00
Jeff Regan
1dff481883
Merge pull request #2763 from monopole/updateReleaseInstructions
...
Update release instructions.
2020-07-24 10:28:55 -07:00
jregan
d437f67035
Update release instructions.
2020-07-24 10:27:31 -07:00
Kevin Wang
ee57e9db12
Retain components field in edit
2020-07-23 21:39:55 -07:00
Jeff Regan
a0fdcfe2e3
Merge pull request #2757 from phanimarupaka/revert-2738-ListSettersRecursively
...
Revert "List and set setters in folders recursively"
2020-07-22 14:56:26 -07:00
phani
d9fe98a289
Revert "List and set setters in folders recursively"
2020-07-22 13:51:42 -07:00
Jeff Regan
8b9829f222
Merge pull request #2738 from phanimarupaka/ListSettersRecursively
...
List and set setters in folders recursively
2020-07-22 13:14:13 -07:00
Jeff Regan
2114b97969
Merge pull request #2737 from tinselspoon/hash-arbitrary-objects
...
Allow hash suffixing of arbitrary types
2020-07-22 13:12:44 -07:00
Kubernetes Prow Robot
508d193e7a
Merge pull request #2753 from phanimarupaka/AddV1CreateSetterTest
...
Add v1 create setter tests
2020-07-22 12:51:39 -07:00
Phani Teja Marupaka
e0eb79adcc
Add v1 create setter tests
2020-07-22 12:11:19 -07:00
Jeff Regan
dcab3cbb5f
Merge pull request #2739 from Shell32-Natsu/rolebinding
...
Role binding for serviceaccount across namesapce.
2020-07-22 11:45:05 -07:00
Jeff Regan
8225ca45a8
Merge pull request #2752 from monopole/convertImageTagTransformer
...
Convert image transformer to kyaml.
2020-07-22 11:37:04 -07:00
jregan
ef924a5c9c
Convert image transformer to kyaml.
2020-07-22 11:10:52 -07:00
Jeff Regan
33b03fce89
remove a blank
2020-07-22 11:06:26 -07:00
Donny Xia
3907643880
Add function to check role binding namespace
2020-07-22 11:01:23 -07:00
Donny Xia
b7f7536cfa
Update comment
2020-07-22 11:01:23 -07:00
Donny Xia
15bc399d5a
Support RoleBinding for ServiceAccount across namespace
2020-07-22 11:01:23 -07:00
Jeff Regan
46a6bf0bb4
Merge pull request #2751 from monopole/moreImageTagTests
...
Add more tests to imagetag filter
2020-07-22 10:59:27 -07:00
Jeff Regan
6717bbd36b
Merge pull request #2750 from Shell32-Natsu/rolebinding-test
...
Add test for role binding across namespace.
2020-07-22 10:54:17 -07:00
Kubernetes Prow Robot
6fccb7fd48
Merge pull request #2743 from phanimarupaka/FixV1Setters
...
Fix V1 setters
2020-07-22 10:52:06 -07:00
jregan
370a3d2e74
Add more imagetag tests to support refactor.
2020-07-22 10:46:20 -07:00
Phani Teja Marupaka
eb7beba8ad
Fix V1 setters
2020-07-22 10:17:10 -07:00
Jeff Regan
1e3bc51645
Merge pull request #2748 from monopole/tweakSequenceTreatment
...
Tweak sequence treatment in fieldspecs
2020-07-22 10:01:21 -07:00
Donny Xia
92e1d452b7
Add test for role binding across namespace.
2020-07-22 10:00:34 -07:00
Kubernetes Prow Robot
7abedcf87b
Merge pull request #2749 from pwittrock/default
...
Update kustomize FAQ with kubectl explanation
2020-07-22 09:52:05 -07:00
Phillip Wittrock
aa991956ef
Docs: build site
2020-07-22 09:27:32 -07:00
Phillip Wittrock
c6524f984c
Docs: Update FAQ with why kubectl has kustomize 2
2020-07-22 09:27:07 -07:00
Jeff Regan
a70c6b3496
Tweak sequence treatment in fieldspecs
2020-07-22 09:23:47 -07:00
Jeff Regan
166c7f3167
Merge pull request #2742 from techniumlabs/master
...
Avoiding Prefix Transformer for Namespace resource
2020-07-21 17:21:29 -07:00
Kubernetes Prow Robot
10371aa1b5
Merge pull request #2595 from phanimarupaka/FixAnnotations
...
Error for null files while reading
2020-07-21 17:16:05 -07:00
Jeff Regan
95fb639fa8
Merge pull request #2728 from prachirp/markdownlint
...
Docs: Auto-fix markdownlint issues
2020-07-21 16:56:45 -07:00
Jeff Regan
0f7aae38e3
Merge pull request #2735 from monopole/moreBadness
...
Switch replica count transformer to kyaml.
2020-07-21 16:55:55 -07:00
ageekymonk
c660fd33ae
Avoiding Prefix Transformer for Namespace resource
2020-07-21 18:33:42 +10:00
Phani Teja Marupaka
108195185f
List and set setters in folders recursively
2020-07-20 00:50:04 -07:00
Nick
4fbe565b36
Allow hash suffixing of arbitrary types
2020-07-19 23:29:24 +01:00
jregan
e9bc2c00c1
Switch prefix transformer to kyaml.
2020-07-17 19:48:13 -07:00
Jeff Regan
45eed23b26
Merge pull request #2733 from kubernetes-sigs/ctFormatting
...
Update formatting of component_test.go
2020-07-17 19:48:06 -07:00
Jeff Regan
27b2c7f294
Update formatting of component_test.go
2020-07-17 18:31:54 -07:00
Jeff Regan
03d6229c0b
Merge pull request #2732 from monopole/beanPole
...
Switch prefix transformer to kyaml.
2020-07-17 18:09:19 -07:00
jregan
71b7b00bd8
Switch prefix transformer to kyaml.
2020-07-17 16:08:41 -07:00
Jeff Regan
e9396dca2c
Merge pull request #2731 from prachirp/go-plugins
...
Fix go plugins caveats link
2020-07-17 15:49:36 -07:00
Prachi Pendse
bc581b70bf
Fix go plugins caveats link
2020-07-17 12:03:19 -07:00
Jeff Regan
ac1c31c82b
Merge pull request #2730 from monopole/addTest
...
Add a test and temporarily disable some plugin tests.
2020-07-17 10:25:07 -07:00
jregan
c878957d0b
Add a test and temporarily disable some plugin tests.
2020-07-17 08:23:11 -07:00
Prachi Pendse
f9ee578aed
Docs: Auto-fix markdownlint issues
2020-07-16 12:57:18 -07:00
Jeff Regan
0b359d0ef0
Merge pull request #2727 from monopole/addE2eTests
...
Pre v3.8.1; Add e2e tests pinned at v3.8.0
2020-07-15 17:54:54 -07:00
jregan
22ee7cbd49
Pre v3.8.1; Add e2e tests pinned at v3.8.0
2020-07-15 17:33:43 -07:00
Jeff Regan
7bf9c7002f
Merge pull request #2726 from monopole/pinToKustomizeApiV_0_5_1
...
Pin to kustomize/api v0.5.1
2020-07-15 17:26:12 -07:00
jregan
155411f229
Pin to kustomize/api v0.5.1
2020-07-15 17:00:33 -07:00
Jeff Regan
699cc70a7c
Merge pull request #2725 from monopole/pinToKyamlv0_4_1
...
Pin To Kyaml/v0.4.1
2020-07-15 16:44:17 -07:00
jregan
a63a472024
Pin To Kyaml/v0.4.1
2020-07-15 16:17:12 -07:00
Phani Teja Marupaka
e894756003
Error for null files while reading
2020-07-15 16:05:52 -07:00
Jeff Regan
55f55a5091
Merge pull request #2718 from Shell32-Natsu/unknown-fields
...
Uniform unmarshal function
2020-07-15 14:36:06 -07:00
Donny Xia
8401196ef9
fix typo
2020-07-15 11:47:47 -07:00
Donny Xia
14edc3890c
Add tests for kustomization.go
2020-07-15 11:42:50 -07:00
Donny Xia
897698fb29
Uniform unmarshal function
2020-07-14 17:01:43 -07:00
Jeff Regan
ec9ae3d7b0
Merge pull request #2713 from Shell32-Natsu/empty-list-in-patch
...
Keep empty array in output
2020-07-14 13:50:37 -07:00
Donny Xia
3a828941fa
Improve tests
2020-07-14 11:38:29 -07:00
Jeff Regan
b63b5ce7cc
Merge pull request #2683 from Shell32-Natsu/function-benchmark
...
KRM Function benchmark
2020-07-14 09:05:31 -07:00
Donny Xia
23bd4390d3
code review
2020-07-13 16:40:34 -07:00
Kubernetes Prow Robot
21a0fd33a2
Merge pull request #2696 from arrikto/feature-site-components-guide
...
docs: Add guide for components
2020-07-13 14:29:20 -07:00
Donny Xia
c6b6dec91f
Add tests for IsEmpty and IsMissingorNull
2020-07-13 14:15:55 -07:00
Kubernetes Prow Robot
9cf4367db7
Merge pull request #2709 from aodinokov/fixmount
...
Fixed incorrect docker mount arguments generation
2020-07-13 12:35:22 -07:00
Jeff Regan
e9c118fd55
Update readme.md
2020-07-13 12:24:34 -07:00
Kubernetes Prow Robot
bfbb1971d4
Merge pull request #2695 from sunny0826/master
...
add favicons for doc site
2020-07-13 12:09:20 -07:00
Donny Xia
6fabfe963e
code review
2020-07-13 12:05:03 -07:00
Donny Xia
67cdd2e27e
Add test for keeping empty array
2020-07-13 11:50:01 -07:00
Jeff Regan
6c6b5f744d
Merge pull request #2641 from jijiew/doc
...
doc for kustomize config delete setter
2020-07-13 11:38:43 -07:00
Jeff Regan
7775666c50
Merge pull request #2702 from kubernetes-sigs/dependabot/npm_and_yarn/api/internal/crawl/ui/npm-registry-fetch-4.0.5
...
Bump npm-registry-fetch from 4.0.2 to 4.0.5 in /api/internal/crawl/ui
2020-07-13 11:36:55 -07:00
Kubernetes Prow Robot
bdd7ae085e
Merge pull request #2708 from monopole/byeByeFlag
...
Removing YAMLSupport==false code path.
2020-07-13 11:11:20 -07:00
Alexey Odinokov
ba3e09849a
Made mountString params more similar to docker params
...
see [1]
kept support for the previous field names similarly to
docker behavior.
[1]
https://docs.docker.com/storage/bind-mounts/#use-a-read-only-bind-mount
2020-07-13 17:21:37 +00:00
Donny Xia
236ae29e9a
Don't consider empty array as "empty"
2020-07-13 10:03:24 -07:00
Kubernetes Prow Robot
5c3bd83252
Merge pull request #2707 from mortent/FixDotInSetterName
...
Allow setters/substitutions with . in the name
2020-07-13 10:03:20 -07:00
Kubernetes Prow Robot
3674e0a91d
Merge pull request #2711 from mortent/SubstitutionWithSameNameSetter
...
Don't allow creating setter with same name as substitution
2020-07-12 23:02:32 -07:00
Morten Torkildsen
f9631e4bb2
Don't allow creating setter with same name as substitution
2020-07-12 11:28:09 -07:00
Morten Torkildsen
c419c1efc3
Allow setters/substitutions with . in the name
2020-07-11 10:41:27 -07:00
Alexey Odinokov
63f9f79fc0
Fixed incorrect docker mount arguments generation
...
The previous implementation combined --mount and -v notation
of argument [1] adding :ro to make the read-only mount point.
E.g. the command [2] called docker with the following
params: [3]. As a result instead of the read-only
folder /tmp/source, the read-write folder /tmp/source/:ro/'
is created.
This PR:
1. substitutes ':ro' with correct ',readonly'.
2. changes 'src=' and 'dst=' with 'source=' and 'target=' as
it is stated in the documentation [1]
3. introduces the ability to EXPLICITLY create a mountpoint
with read-write access. To do so it's necessary to add
',rw=true' to the --mount argument
4. corrects UTs adds some additional coverage for added
functionality
[1]
https://docs.docker.com/storage/bind-mounts/#use-a-read-only-bind-mount
[2]
kustomize fn run ./d --mount type=bind,src=$(pwd)/test/,dst=/tmp/source/
[3]
--mount type=bind,src=/home/ubuntu/kpt-functions-catalog/functions/ts/test/,dst=/tmp/source/:ro
2020-07-11 17:03:44 +00:00
jregan
33e68c0f97
Removing YAMLSupport==false code path.
...
This continues work on the master and v3.8.* branches
to eliminate apimachinery dependence.
2020-07-10 19:06:26 -07:00
Kubernetes Prow Robot
556eb48651
Merge pull request #2706 from mortent/FixCmdConfigGoMod
...
Fix go.mod file in cmd/config
2020-07-10 18:53:22 -07:00
Morten Torkildsen
5b26c3b4cc
Fix go.mod file in cmd/config
2020-07-10 17:14:49 -07:00
Donny Xia
42e19d610a
Improve cleanup
2020-07-08 11:08:19 -07:00
dependabot[bot]
950b1c895f
Bump npm-registry-fetch from 4.0.2 to 4.0.5 in /api/internal/crawl/ui
...
Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch ) from 4.0.2 to 4.0.5.
- [Release notes](https://github.com/npm/registry-fetch/releases )
- [Changelog](https://github.com/npm/npm-registry-fetch/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/registry-fetch/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-08 00:49:07 +00:00
Kubernetes Prow Robot
ca5feb7751
Merge pull request #2700 from jijiew/win-seperator
...
modify the byteioreader to handler windows line ending.
2020-07-07 10:13:58 -07:00
Jijie Wei
488a88ec6e
modify the bytereader to handler windows line ending.
2020-07-07 09:49:17 -07:00
Morten Torkildsen
fd3a4a88be
Merge pull request #2699 from mortent/ReturnCmdConfigRedirects
...
Return go.mod replace directives
2020-07-06 21:28:37 -07:00
Morten Torkildsen
e6147347a8
Return go.mod replace directives
2020-07-06 21:12:32 -07:00
Morten Torkildsen
0b756877e1
Merge pull request #2698 from mortent/PrepCmdConfigForRelease
...
Prep cmd/config for release
2020-07-06 21:03:40 -07:00
Morten Torkildsen
0f4b5e6787
Prep cmd/config for release
2020-07-06 20:50:18 -07:00
Ioannis Androulidakis
1b531c6ac7
docs: Add guide for components
...
Extend the list of Kustomize guides available in the official website
with one about components, so that users can familiarize with this use
case and feature.
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com >
2020-07-06 23:15:49 +03:00
Donny Xia
f6cac7e7e8
Add newline to the end of file
2020-07-06 09:38:31 -07:00
guoxudong
fe0577a15f
add favicons
2020-07-06 09:42:23 +08:00
guoxudong
f68740be66
add favicons
2020-07-06 09:42:09 +08:00
Kubernetes Prow Robot
855ce1a8db
Merge pull request #2693 from t0rr3sp3dr0/master
...
Update function annotation on docs
2020-07-05 18:06:50 -07:00
Jeff Regan
6a50372dd5
Merge pull request #2694 from monopole/switchToApiV0_5_0
...
Switch to kustomize/api v0.5.0
2020-07-04 21:22:19 -07:00
jregan
5a0228629f
Switch kustomize to api/v0.5.0
2020-07-04 19:45:45 -07:00
Jeff Regan
def00220ce
Merge pull request #2668 from monopole/doesItWork
...
Switch namespace and patch transformers to kyaml.
2020-07-04 17:11:56 -07:00
jregan
d3a7335bbc
Switch namespace and patch transformers to kyaml.
2020-07-04 16:21:01 -07:00
Pedro Tôrres
94095a63ff
Update function annotation on docs
...
Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com >
2020-07-04 18:19:28 -03:00
Jeff Regan
42d1f7b792
Update cloudbuild.sh
2020-07-04 09:35:52 -07:00
Jeff Regan
8912c454ff
Merge pull request #2692 from monopole/independence
...
New cloud build scripts.
2020-07-04 09:13:18 -07:00
jregan
d4eb2c9426
New cloud build scripts.
2020-07-04 08:58:17 -07:00
Jeff Regan
d2b95fb09a
Merge pull request #2691 from phanimarupaka/IncludeSubstFlag
...
Hide list-subst behind a flag
2020-07-04 08:44:42 -07:00
Jeff Regan
298b3c8622
Merge pull request #2688 from prachirp/grep-shorthand
...
Drop grep invert-match shorthand flag
2020-07-04 08:44:29 -07:00
Phani Teja Marupaka
c12e95fe06
Hide list-subst behind a flag
2020-07-03 23:55:29 -07:00
Prachi Pendse
87c7a32ffe
Drop grep invert-match shorthand flag to resolve conflict with log level verbosity
2020-07-03 11:43:17 -04:00
Jeff Regan
a7545bdad3
Merge pull request #2686 from monopole/updateBuildStrategy
...
Update build strategy.
2020-07-02 18:09:31 -07:00
Jeffrey Regan
622a121042
Update build strategy.
2020-07-02 18:08:13 -07:00
Donny Xia
c2ccfd72ad
Update readme
2020-07-01 12:55:38 -07:00
Donny Xia
6d324d70c4
Add benchmark for containerized KRM function in kustomize
2020-07-01 12:47:16 -07:00
Kubernetes Prow Robot
c7bc9d2066
Merge pull request #2676 from phanimarupaka/RemoveCountField
...
Remove count field, convert error to warning
2020-07-01 11:30:17 -07:00
Phani Teja Marupaka
9567d7ef16
Remove count field, convert error to warning
2020-07-01 10:55:30 -07:00
Jeff Regan
e5b0ceb4e3
Merge pull request #2682 from monopole/release_kustomize_v3_7_0_based_on_api_v0_4_2
...
Prep to release kustomize 3.7.0 on api v0.4.2
2020-07-01 07:23:15 -07:00
jregan
5fb238a581
Prep to release kustomize 3.7.0 on api v0.4.2
2020-07-01 06:51:53 -07:00
Jeff Regan
3ddc9af6c5
Merge pull request #2680 from monopole/syncEverythingTo_gopkg_in_yaml_v2_v2_3_0
...
Sync everything to gopkg.in/yaml.v2 v2.3.0 via kyaml v0.3.4
2020-06-30 19:07:33 -07:00
jregan
128e171c20
Sync everything to gopkg.in/yaml.v2 v2.3.0 via kyaml v0.3.4
2020-06-30 18:53:11 -07:00
Jeff Regan
c2681b6fae
Merge pull request #2679 from monopole/upgradeKyaml_gopkgyaml_deps
...
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 18:31:21 -07:00
Jeff Regan
ae5c392319
Merge pull request #2678 from monopole/gopkg_in_yaml_v2_v2_3_0
...
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 18:14:18 -07:00
jregan
66bcf84682
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 18:06:06 -07:00
jregan
436dada184
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 17:45:43 -07:00
Jeff Regan
a689e0c2b4
Merge pull request #2675 from monopole/kyaml_v0_3_3
...
Switch kustomize to kyaml v0.3.3
2020-06-30 17:45:30 -07:00
jregan
30ae7183a4
Switch kustomize to kyaml v0.3.3
2020-06-30 15:46:26 -07:00
Jeff Regan
279a9b673f
Merge pull request #2674 from mortent/RemoveKstatus
...
Remove the kstatus module
2020-06-30 15:10:23 -07:00
Jeff Regan
0ac45c65c9
Merge pull request #2652 from omninonsense/add-sopsgenerator-example
...
Add link to another Go plugin
2020-06-30 15:09:47 -07:00
Jeff Regan
d7fb813c16
Merge pull request #2666 from viggys/master
...
configMapGenerator docs content addition for `envs` option
2020-06-30 15:09:12 -07:00
Jeff Regan
83c5c4d1f1
Merge pull request #2661 from trodge/field-not-found-error
...
Error message for creating setter that matches no fields
2020-06-30 15:08:28 -07:00
Kubernetes Prow Robot
7259d3eb48
Merge pull request #2670 from phanimarupaka/CheckRequiredSetters
...
Check if required setters are set
2020-06-30 13:34:07 -07:00
Morten Torkildsen
0e44202c20
Remove the kstatus module
2020-06-30 13:27:02 -07:00
Phani Teja Marupaka
0d90b769f1
Check if required setters are set
2020-06-30 13:21:17 -07:00
Jeff Regan
7ad2791072
Merge pull request #2667 from Shell32-Natsu/kpt-function
...
Improvements for KRM function implementation
2020-06-30 10:47:17 -07:00
Kubernetes Prow Robot
6de94548ba
Merge pull request #2669 from monopole/notZero
...
Fix an index.
2020-06-30 10:34:06 -07:00
Jeff Regan
b1b190227e
Merge pull request #2672 from wyyxd2017/hato2
...
fix k8s api doc
2020-06-30 09:46:15 -07:00
wangyeyu
4ceddaa8f4
kubernetes api
2020-06-30 14:19:27 +08:00
wangyeyu
9e64ac5315
help doc
2020-06-30 14:12:20 +08:00
jregan
f24ec14956
Fix an index.
2020-06-29 17:48:30 -07:00
Donny Xia
98a92a6443
Remove comment from fnexectest.sh
2020-06-29 16:57:49 -07:00
Donny Xia
8bb612889c
Improve function invocation
2020-06-29 16:51:56 -07:00
Donny Xia
e3ec184e92
Add unit test for fnplugin
2020-06-29 14:07:48 -07:00
Donny Xia
3019230283
Move functionConfig from items to upper level
2020-06-29 13:35:14 -07:00
Vignesh Subramanian
69adcf9aaf
configMapGenerator docs content addition
2020-06-30 00:44:14 +05:30
Donny Xia
8d543d8483
Refactor
2020-06-29 11:12:20 -07:00
Donny Xia
94a55210e1
skeleton for kustomize function
2020-06-29 10:45:37 -07:00
Jeff Regan
441581b745
Merge pull request #2597 from aodinokov/fnplugins
...
PoC to use kpt functions as kustomize plugins
2020-06-29 10:38:32 -07:00
Thomas Rodgers
a066ba9628
added count to expected output
2020-06-29 10:16:36 -07:00
Thomas Rodgers
3a0dd72c88
added count for list setters
2020-06-29 09:52:18 -07:00
Thomas Rodgers
d4ed285fd1
added count for creating setters
2020-06-29 09:37:18 -07:00
Thomas Rodgers
4cae8cfe9b
added error message
2020-06-29 09:37:18 -07:00
Jeff Regan
b044a52a84
Merge pull request #2664 from monopole/upgradeTo_Kyaml_v0_3_2
...
Upgrade kustomize to kyaml v0.3.2
2020-06-28 12:54:15 -07:00
jregan
5607478d8e
Upgrade kustomize to kyaml v0.3.2
2020-06-28 12:36:21 -07:00
Jeff Regan
d60cf8ebc5
Merge pull request #2663 from monopole/smpAttempt
...
Start supporting strategic merge patch in kyaml/yaml/merge2.
2020-06-28 12:28:03 -07:00
jregan
ef04983392
Start supporting strategic merge patch in kyaml merge2.
2020-06-28 12:12:09 -07:00
Jeff Regan
2153863355
Merge pull request #2660 from monopole/kyaml_0_3_1
...
Switch to kyaml v0.3.1
2020-06-26 15:58:10 -07:00
jregan
4afab168c5
Switch to kyaml v0.3.1
2020-06-26 15:28:12 -07:00
Jeff Regan
2c52e3a851
Merge pull request #2659 from monopole/schemaTest
...
Allow multiple patch strategies.
2020-06-26 15:04:12 -07:00
jregan
781e396122
Allow multiple patch strategies.
2020-06-26 14:46:29 -07:00
Jeff Regan
cebb1b31ab
Merge pull request #2658 from monopole/volMergeTests
...
Deployment volume merge tests.
2020-06-26 14:33:49 -07:00
jregan
9137d2a39a
Deployment volume merge tests.
2020-06-26 14:19:15 -07:00
Kubernetes Prow Robot
95f4ecd261
Merge pull request #2657 from phanimarupaka/FixCommentsInFunctions
...
Fix copy comments for Folded style scalar nodes
2020-06-26 12:41:31 -07:00
Phani Teja Marupaka
600d4f2c0b
Fix copy comments for Folded style scalar nodes
2020-06-26 12:22:08 -07:00
Jeff Regan
6c4c5cf9ad
Merge pull request #2655 from monopole/updatePSMT
...
Update SMP transformer for kyaml
2020-06-26 11:35:56 -07:00
jregan
5f5b23af58
Update SMP transformer for kyaml
2020-06-26 11:14:02 -07:00
Jeff Regan
ae5a690146
Merge pull request #2654 from monopole/moreKyamlTests
...
More kyaml list merge tests
2020-06-26 11:03:15 -07:00
jregan
625e011e2b
More kyaml list merge tests
2020-06-26 10:58:27 -07:00
Jeff Regan
01ce33b926
Merge pull request #2653 from monopole/apiversionv1
...
Convert all deployments to v1 to use openapi schema.
2020-06-26 10:58:02 -07:00
jregan
a323d78bbc
Convert all deployments to v1 to use openapi schema.
2020-06-26 10:30:02 -07:00
Nino Miletich
69dc34500a
docs: add link to another Go plugin
2020-06-26 17:02:00 +01:00
Alexey Odinokov
919bdb84c9
Refactoring to get rid of duplicated code
2020-06-26 04:28:38 +00:00
Alexey Odinokov
178f4e21f0
Added test for exec-based function generator
2020-06-26 04:22:33 +00:00
Alexey Odinokov
d732a6faab
Gave up to install docker in pod. Just skipping tests that require docker if there is no binary
2020-06-26 04:22:33 +00:00
Alexey Odinokov
f053ca6a5f
little fix
2020-06-26 04:22:33 +00:00
Alexey Odinokov
dfc5c32af5
Added manual start of rootless docker
2020-06-26 04:22:33 +00:00
Alexey Odinokov
80b3f4e00a
Added info about user to subgid
2020-06-26 04:22:33 +00:00
Alexey Odinokov
4646bca230
Added info about user to subuid
2020-06-26 04:22:32 +00:00
Alexey Odinokov
57ca8fa321
Do update of repos
2020-06-26 04:22:32 +00:00
Alexey Odinokov
de7fa4bf3a
Check what is os release
2020-06-26 04:22:32 +00:00
Alexey Odinokov
af1280ea43
Install uidmap before docker
2020-06-26 04:22:32 +00:00
Alexey Odinokov
0dd191c0f6
Added flag to skip iptables
2020-06-26 04:22:32 +00:00
Alexey Odinokov
e20e126d65
Switched back to rootless docker
2020-06-26 04:22:32 +00:00
Alexey Odinokov
abf862fff1
Added more post-install check for docker
2020-06-26 04:22:32 +00:00
Alexey Odinokov
27cf3981ca
Added post-install check for docker
2020-06-26 04:22:32 +00:00
Alexey Odinokov
2c39ff0fa0
Changed to std docker to run fn tests
2020-06-26 04:22:32 +00:00
Alexey Odinokov
afc14afe45
Trying to install rootless docker to run fn tests
2020-06-26 04:22:31 +00:00
Alexey Odinokov
6e91e0667d
Disabled tests because we don't have docker installed
2020-06-26 04:22:31 +00:00
Alexey Odinokov
1aca8b8b9e
Corrected literal to make lint happy
2020-06-26 04:22:31 +00:00
Alexey Odinokov
448c060084
Added tests for fn-based generators and transformers
2020-06-26 04:22:31 +00:00
Alexey Odinokov
b3951942e3
removed commented import to make linter happy
2020-06-26 04:22:31 +00:00
Alexey Odinokov
b78464c8b1
Made generators work in addition to transformers
...
Made go fmt to make linter happy
2020-06-26 04:22:31 +00:00
Alexey Odinokov
9bd4f78288
PoC to use kpt functions as kustomize plugins
...
Closes [1]
In addition removes accidentally committed binary [2]
[1]
https://github.com/GoogleContainerTools/kpt/issues/646
[2]
1644fdd076 (diff-78873bc1f515e5cb644e68f0bcbaba23)
2020-06-26 04:22:31 +00:00
Jeff Regan
85e9fa94b0
Merge pull request #2648 from monopole/moreTests
...
Add more SMP tests.
2020-06-25 12:27:53 -07:00
jregan
c754927112
Add more SMP tests.
2020-06-25 12:09:53 -07:00
Jeff Regan
8049c57b72
Merge pull request #2623 from Shell32-Natsu/releasing-doc
...
Releasing doc
2020-06-25 11:04:51 -07:00
Jeff Regan
695ec44bf7
Merge pull request #2636 from jijiew/fmt-test
...
add test case showing that kustomize/kpt fmt works on yaml file with top-level lists
2020-06-25 11:04:21 -07:00
Jeff Regan
5b394b2079
Merge pull request #2638 from haiyanmeng/mem
...
Avoid reprocess queries whose range size is 0 and improve memory usage
2020-06-25 10:58:20 -07:00
Jeff Regan
97c2ac77cd
Merge pull request #2639 from Shell32-Natsu/knative-back-ref
...
Add back reference for secret in knative service
2020-06-25 10:57:44 -07:00
Jijie Wei
3183fcc926
simplify the test case
2020-06-25 10:01:15 -07:00
Jijie Wei
0af9ca1266
simplify the test case
2020-06-25 09:59:17 -07:00
Kubernetes Prow Robot
a6111b5c3c
Merge pull request #2642 from mortent/FixListSettersErr
...
Fix failing list setters test
2020-06-24 10:01:18 -07:00
Morten Torkildsen
fdbd1bdbbb
Fix failing list setters test
2020-06-23 17:32:21 -07:00
Morten Torkildsen
16baf7a955
Merge pull request #2629 from phanimarupaka/ListSettersNoSet
...
Tests for List setters should not alter resources
2020-06-23 17:17:30 -07:00
Kubernetes Prow Robot
69aea07c4e
Merge pull request #2637 from pwittrock/merge-primitize
...
Support merging primitive lists
2020-06-23 16:55:18 -07:00
Kubernetes Prow Robot
2250ad3e18
Merge pull request #2635 from phanimarupaka/RequiredSettersForApply
...
Required setters for apply
2020-06-23 15:19:17 -07:00
Phani Teja Marupaka
c107d1ddff
List setters should not alter resources
...
Remove Dryrun flag
2020-06-23 14:39:03 -07:00
Jijie Wei
e32aa8ddb2
revert generated doc change
2020-06-23 14:22:09 -07:00
Jijie Wei
b92de5cb80
revert change in generated doc
2020-06-23 14:17:39 -07:00
Jijie Wei
ecfa732a04
doc for kustomize config delete setter
2020-06-23 13:47:19 -07:00
Jijie Wei
f17b893dd2
fmt
2020-06-23 13:16:18 -07:00
Phillip Wittrock
09894d3022
Support merging primitive lists
2020-06-23 12:39:51 -07:00
Donny Xia
fd3e84f701
Add knative API version
2020-06-23 11:58:14 -07:00
Donny Xia
22d5d4d2c1
Add back reference for secret in knative service
2020-06-23 11:48:26 -07:00
Haiyan Meng
145ba0c7ff
Avoid reprocess queries whose range size is 0
2020-06-23 11:36:29 -07:00
Haiyan Meng
a83433d5cf
Optimize memory usage by avoiding accumulating all the referred
...
documents into a single stack.
2020-06-23 11:36:29 -07:00
Haiyan Meng
2d496e0efe
Update golang to 1.14
2020-06-23 11:25:37 -07:00
Haiyan Meng
171412cc98
Use RWMutex to control the map access
...
Without RWMutex, we may run into fatal error: concurrent map read and map write.
2020-06-23 11:25:37 -07:00
Phani Teja Marupaka
68ab3b87d9
Required setters for apply
2020-06-22 22:33:21 -07:00
Jijie Wei
e9bd11caaa
add test for fmt on yaml file of a list
2020-06-22 22:32:08 -07:00
Kubernetes Prow Robot
a895220743
Merge pull request #2553 from jijiew/deletesetter
...
Delete setters
2020-06-22 12:15:40 -07:00
Kubernetes Prow Robot
ab2dc7fcb9
Merge pull request #2546 from phanimarupaka/FnSourceJson
...
Include json files for fn source and sink
2020-06-22 11:00:40 -07:00
Kubernetes Prow Robot
afde29601a
Merge pull request #2633 from syed-awais-ali/patch-1
...
fix typo
2020-06-22 10:34:40 -07:00
Jijie Wei
be0f1a7fcb
remove the uncessary conversion
2020-06-22 10:00:22 -07:00
Jijie Wei
99d2994b98
remove empty definition
2020-06-22 09:54:10 -07:00
Syed Awais Ali
94101fb7cc
fix typo
2020-06-22 15:59:38 +05:00
Kubernetes Prow Robot
346071897e
Merge pull request #2630 from ash2k/ash2k/drop-ghodss-yaml
...
Drop ghodss/yaml dependency
2020-06-21 10:32:38 -07:00
Mikhail Mazurskiy
0772540214
Drop github.com/ghodss/yaml dependency
2020-06-21 20:35:50 +10:00
Donny Xia
6791688f5f
Code review
2020-06-19 19:24:41 -07:00
Phani Teja Marupaka
28307bc435
Simplify parsing
2020-06-19 17:21:13 -07:00
Jijie Wei
29cadfe8b0
modify the doc to simple string, will update the doc later
2020-06-19 16:35:57 -07:00
Kubernetes Prow Robot
68f4f330f5
Merge pull request #2601 from sunny0826/master
...
zh docs for docsy site
2020-06-19 15:54:40 -07:00
Jeff Regan
507779c9dc
force branch fetches in gitrunner
2020-06-19 15:34:55 -07:00
Jeff Regan
062d0f7b75
Merge pull request #2626 from monopole/delegateKunstructured
...
Delegate to Kunstructured.
2020-06-19 15:29:20 -07:00
jregan
e783af2881
Delegate to Kunstructured.
2020-06-19 15:06:13 -07:00
Jeff Regan
f2da1f621f
Merge pull request #2624 from monopole/sortIfc
...
Sort ifc.go for easier change monitoring during refactor.
2020-06-19 15:06:05 -07:00
jregan
294312f2fc
Sort ifc.go for easier change monitoring during refactor.
2020-06-19 14:49:57 -07:00
Jeff Regan
ff79bd0b31
Merge pull request #2613 from Shell32-Natsu/validator
...
Introduce `validators` field in kustomization file
2020-06-19 14:49:44 -07:00
Jeff Regan
410e300243
Merge pull request #2622 from arrikto/feature-update-components-example
...
Revamp components example
2020-06-19 14:45:44 -07:00
Phani Teja Marupaka
e994b3b566
E2e test for run with json
2020-06-19 12:33:08 -07:00
Phani Teja Marupaka
b39c522cc1
Suggested changes
2020-06-19 12:33:08 -07:00
Phani Teja Marupaka
dc4bf03da2
Write json files in sink
2020-06-19 12:33:07 -07:00
Phani Teja Marupaka
a158eeaaff
Suggested changes
2020-06-19 12:33:07 -07:00
Phani Teja Marupaka
4cd3944860
Include json files for fn source
2020-06-19 12:33:06 -07:00
Donny Xia
79a48a8802
Remove files
2020-06-19 10:52:56 -07:00
Donny Xia
5a33e90f18
Update releasing readme
2020-06-19 10:50:17 -07:00
Ioannis Androulidakis
e77d1a881f
Revamp the components example
...
Standardize on `patchesStrategicMerge` and `patchesJSON6902` instead of
`patches` in kustomization files.
Also, add example commands to create local input files for existing
SecretGenerators.
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com >
2020-06-19 14:37:39 +03:00
Ioannis Androulidakis
343b938c73
Remove WIP from components example
...
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com >
2020-06-19 14:37:39 +03:00
Jijie Wei
25186e94af
implement new visitor method
2020-06-18 13:49:54 -07:00
Jijie Wei
e4ba898e20
return subst name inerror message
2020-06-18 13:49:53 -07:00
Jijie Wei
22a6017870
update the pr to handle the case when the setter to be deleted is used in substitution
2020-06-18 13:49:52 -07:00
Donny Xia
e62f1adabf
Force update local tags
2020-06-18 12:20:08 -07:00
Donny Xia
7e2d3ff5ab
Reuse tansformer codes
2020-06-18 12:18:37 -07:00
Kubernetes Prow Robot
fb6830c98a
Merge pull request #2617 from phanimarupaka/FixArraySetters
...
Fix validation for array setters
2020-06-18 12:03:11 -07:00
Phani Teja Marupaka
52e8a701ac
Fix validation for array setters
2020-06-18 11:50:02 -07:00
Donny Xia
160485ef19
Add examples to validators
2020-06-17 14:44:59 -07:00
Donny Xia
cea1154cd9
Add exception for "validated-by" label
2020-06-17 14:35:12 -07:00
Donny Xia
4843718a2b
Check modification
2020-06-17 14:35:12 -07:00
Donny Xia
a0c1979798
Add validator to kustomization
2020-06-17 14:35:12 -07:00
Kubernetes Prow Robot
8576acf1aa
Merge pull request #2612 from mortent/UpdateVersionsForKyamlAndCmdConfig
...
Update VERSIONS file with latest versions of kyaml and cmd/config
2020-06-17 14:08:05 -07:00
Morten Torkildsen
1e7a764900
Update VERSIONS file with latest versions of kyaml and cmd/config
2020-06-17 13:22:11 -07:00
Kubernetes Prow Robot
9b5ce5002a
Merge pull request #2608 from mortent/AllValuesAcceptedAsStringType
...
Accept all values as string type in validation
2020-06-16 16:10:05 -07:00
Morten Torkildsen
0952421800
Accept all values as string type in validation
2020-06-16 15:54:28 -07:00
Kubernetes Prow Robot
df9af1869f
Merge pull request #2605 from phanimarupaka/ArraySettersUX
...
Avoid manual step for creating array setters
2020-06-16 15:30:05 -07:00
Phani Teja Marupaka
dbb16dcb6d
Suggested changes
2020-06-16 15:11:25 -07:00
Jeff Regan
cc8fc99999
Merge pull request #2603 from Shell32-Natsu/doc
...
Update GO plugin doc
2020-06-16 10:22:36 -07:00
Phani Teja Marupaka
0f0efe2a4c
Avoid manual step for creating array setters
2020-06-15 22:34:05 -07:00
Donny Xia
36165d2843
Update GO plugin doc
2020-06-15 14:22:31 -07:00
Kubernetes Prow Robot
3e9276271a
Merge pull request #2599 from mortent/FixValidation
...
Fix validation logic to use yaml parsing instead of json
2020-06-15 11:31:57 -07:00
guoxudong
af7df1448d
fix
2020-06-15 14:21:15 +08:00
guoxudong
518147c129
add zh docsy
2020-06-15 13:39:13 +08:00
Kubernetes Prow Robot
a0072a2cf9
Merge pull request #2600 from pwittrock/master
...
Add more Kustomize contributing docs
2020-06-14 14:17:55 -07:00
Phillip Wittrock
c4518e964f
Add more Kustomize contributing docs
2020-06-14 08:26:51 -07:00
Kubernetes Prow Robot
c2eb09cd8f
Merge pull request #2593 from pwittrock/master
...
kustomize docs tweaks
2020-06-13 17:43:55 -07:00
Kubernetes Prow Robot
89b4e7ae02
Merge pull request #2596 from Liujingfang1/master
...
cleanup binary file
2020-06-13 17:29:55 -07:00
Morten Torkildsen
714ff85806
Fix validation logic to use yaml parsing instead of json
2020-06-13 14:07:05 -07:00
Phillip Wittrock
589ddcb4fa
kustomize docs tweaks
2020-06-12 11:22:26 -07:00
Jingfang Liu
3d09b0cb83
cleanup binary file
2020-06-12 11:06:49 -07:00
Kubernetes Prow Robot
3012dd67ac
Merge pull request #2592 from pwittrock/master
...
Fix kustomize docs "move to" links
2020-06-11 21:07:56 -07:00
Phillip Wittrock
60f826fb2d
Generate kustomize docs -- update last modified
2020-06-11 20:54:46 -07:00
Phillip Wittrock
5d24062d42
Fix kustomize docs "move to" links
2020-06-11 20:46:25 -07:00
Jeff Regan
d553919dfb
Merge pull request #2589 from pierreozoux/patch-1
...
Fixes markdown.
2020-06-11 16:52:32 -07:00
Jeff Regan
661743c7e5
Merge pull request #2576 from pwittrock/master
...
Use docsy site for kustomize docs
2020-06-11 11:54:02 -07:00
Jeff Regan
1dc22e3f0d
Merge pull request #2579 from pietervincken/re-introduce-shallow-git-clones
...
Re-introduce shallow git clones for git based remote resources
2020-06-11 11:01:04 -07:00
Pierre Ozoux
808843457a
Fixes markdown.
2020-06-11 10:46:29 +02:00
Phillip Wittrock
42497c664f
Convert docs to docsy
2020-06-10 14:59:19 -07:00
Kubernetes Prow Robot
88cc78d5b7
Merge pull request #2578 from Liujingfang1/master
...
Add kustomize build flag --enable_managedby_label
2020-06-09 14:38:04 -07:00
Jeff Regan
9ac9a28db7
Merge pull request #2580 from haiyanmeng/remove-external-ip
...
Avoid exposing ElasticSearch DB over public IPs
2020-06-09 14:22:53 -07:00
Haiyan Meng
5cf0d887b1
Avoid exposing ElasticSearch DB over public IPs
2020-06-09 13:03:37 -07:00
Pieter Vincken
58c2df2dec
fix: add the fetch head in the correct location
2020-06-09 20:22:28 +02:00
Jingfang Liu
1644fdd076
Add kustomize build flag --enable_managedby_label
2020-06-09 11:10:19 -07:00
Pieter Vincken
cd25740b61
fix: solve issues with tags not being loaded
2020-06-09 19:56:04 +02:00
Pieter Vincken
28045399f3
fix: add missing assignment
2020-06-09 16:57:01 +02:00
Pieter Vincken
e630334837
fix: re-add log outputs
2020-06-09 16:56:20 +02:00
Pieter Vincken
b97df057c1
feat: re-introduce shallow git clones
...
Making full git clones slows down the kustomize build significantly for big repositories.
2020-06-09 16:35:09 +02:00
Kubernetes Prow Robot
546a7386ff
Merge pull request #2481 from Liujingfang1/master
...
support option for adding managed-by label
2020-06-08 13:47:47 -07:00
Jingfang Liu
4b117c4736
support option for adding managed-by label
2020-06-08 13:08:10 -07:00
Kubernetes Prow Robot
bc968d17e3
Merge pull request #2571 from pwittrock/release
...
Update kustomize to use latest version of cmd/config and cli-utils
2020-06-08 13:03:47 -07:00
Phillip Wittrock
51c2fe9742
Update kustomize to use latest version of cmd/config and cli-utils
2020-06-08 12:46:18 -07:00
Kubernetes Prow Robot
25a38ad2b6
Merge pull request #2573 from pankona/update-go-mod-to-use-go-1-14
...
Update go.mod to go 1.14
2020-06-08 10:09:49 -07:00
Kubernetes Prow Robot
8046efd261
Merge pull request #2575 from pwittrock/json
...
Add tests for reading json
2020-06-08 09:37:48 -07:00
Phillip Wittrock
9a4acba118
Add tests for reading json
2020-06-08 08:48:14 -07:00
pankona
d9d67e33e7
Run travis/check-go-mod.sh and make all
2020-06-08 16:25:52 +09:00
pankona
18d6a96f80
Update go.mod to use go 1.14
2020-06-08 16:25:35 +09:00
Kubernetes Prow Robot
458a7c532c
Merge pull request #2567 from pwittrock/kubectl-krm
...
Refactor kustomize config command structure
2020-06-06 09:03:45 -07:00
Phillip Wittrock
701c217791
Refactor kustomize config command structure
...
- Create cfg, fn, live parent commands
2020-06-06 08:50:41 -07:00
Kubernetes Prow Robot
e042a22d0f
Merge pull request #2570 from mortent/FixEmptyStringHandling
...
Treat empty strings as string type instead of null type
2020-06-05 15:23:46 -07:00
Morten Torkildsen
4fca00014c
Treat empty strings as string type instead of null type
2020-06-05 15:04:18 -07:00
Jeff Regan
1c2eaa9d29
Merge pull request #2554 from quiye/ResMap
...
Fix length checking for ResMap resources
2020-06-05 14:06:37 -07:00
Kubernetes Prow Robot
1f32e89d95
Merge pull request #2560 from yutachaos/feature/added_numberonlytag_test_editset_image
...
Add test case when image tag is a number
2020-06-05 13:57:46 -07:00
Jeff Regan
b7a379604c
Merge pull request #2568 from monopole/addTests
...
Add kustomize v3.6.1 e2e testing to prow tests
2020-06-05 13:46:14 -07:00
jregan
cea461e8f2
addTests
2020-06-05 13:24:56 -07:00
Kubernetes Prow Robot
73157c7141
Merge pull request #2562 from sunny0826/plugin-guided
...
add zh doc exec/go plugin
2020-06-05 10:23:44 -07:00
Kubernetes Prow Robot
72dc895c52
Merge pull request #2552 from pwittrock/krm
...
Write setter definitions to `Krmfile` instead of `kustomization`
2020-06-05 10:01:46 -07:00
Kubernetes Prow Robot
2aca65a126
Merge pull request #2565 from MadVikingGod/fix-windows
...
Fix windows builds.
2020-06-05 08:57:44 -07:00
Aaron Clawson
ac2e6990c3
Fix windows builds.
...
This updates golang.org/x/crypto to a version that has reverted the changes made because of a breaking api change in golang.org/x/sys.
2020-06-05 08:55:15 -05:00
guoxudong
8f0900f95e
fix
2020-06-05 09:42:05 +08:00
Kubernetes Prow Robot
2549a8c6be
Merge pull request #2558 from Shell32-Natsu/statefulset-name-in-hpa
...
Update StatefulSet ref name in HPA
2020-06-04 11:35:14 -07:00
yutachaos
88ebe1c73e
Add test case when image tag is a number
2020-06-04 11:39:44 +09:00
quiye
08922cfe29
Fix length checking for ResMap resources
2020-06-04 08:37:44 +09:00
Kubernetes Prow Robot
952a2ebbf4
Merge pull request #2547 from dan-slinky-ckpd/patch-1
...
Update set.md examples to use correct field name
2020-06-03 14:08:43 -07:00
Phillip Wittrock
075846c731
Support initializing a directory with a Krmfile
2020-06-03 11:56:59 -07:00
Kubernetes Prow Robot
d531de6774
Merge pull request #2551 from phanimarupaka/NestedSubst
...
Nested substitutions
2020-06-03 10:56:11 -07:00
Kubernetes Prow Robot
cedcf3ac04
Merge pull request #2168 from pgpx/feature-kustomizationpatch
...
Implement "kind: Component" to support composition
2020-06-03 10:32:11 -07:00
guoxudong
8ce637a004
add zh doc exec/go plugin
2020-06-03 17:12:47 +08:00
Phani Teja Marupaka
10250286c7
Check for cycles during create-subst
2020-06-01 20:27:13 -07:00
Phani Teja Marupaka
a43d43f2c4
Nested substitutions
2020-06-01 20:27:02 -07:00
Donny Xia
8356979e1f
Update StatefulSet ref name in HPA
2020-06-01 16:52:13 -07:00
Morten Torkildsen
46d9a8dc46
Merge pull request #2556 from mortent/releasecmdconf
...
release cmd/config
2020-06-01 12:52:53 -07:00
Morten Torkildsen
cb3854edaa
release cmd/config
2020-06-01 12:33:34 -07:00
Kubernetes Prow Robot
083a266b0b
Merge pull request #2555 from mortent/ReleaseKyaml
...
Release v0.1.13 of kyaml
2020-06-01 11:57:56 -07:00
Morten Torkildsen
d6fdf1c01a
Release v0.1.13 of kyaml
2020-06-01 11:42:47 -07:00
Kubernetes Prow Robot
b679e33d47
Merge pull request #2545 from jijiew/addingFlags
...
Accept `set` value as flag or argument
2020-05-30 08:31:53 -07:00
Jijie Wei
e63b9ef825
update on util and comments
2020-05-29 16:23:10 -07:00
Jijie Wei
4b5b0dfdce
rebase
2020-05-29 12:50:03 -07:00
Jijie Wei
572260c0f0
change args to use flags instead, so that values starting with hyphen can be correctly parsed.
2020-05-29 12:45:31 -07:00
Phillip Wittrock
0e5e2648b3
write krm metadata to Krmfile instead of Kustomization
2020-05-29 12:01:01 -07:00
Jeff Regan
144471ce78
Merge pull request #2550 from Shell32-Natsu/releasing-replace
...
Check replace in go.mod before releasing
2020-05-28 15:52:11 -07:00
Paul Martin
98cb7fc8cd
Additional tests around reusing the same bases and components
2020-05-28 23:02:32 +01:00
Paul Martin
ca8e00fc15
Replace 'patch' with 'comp' in test data.
2020-05-28 23:02:32 +01:00
Paul Martin
93b0b1b0b1
Refactored Compontent tests to be table-driven
2020-05-28 23:02:32 +01:00
Paul Martin
34a442bbef
Additional tests around reusing the same bases and components
2020-05-28 23:02:31 +01:00
Donny Xia
37918ae745
Check error from ioutil.TempDir in test
2020-05-28 13:02:46 -07:00
Donny Xia
dca164e967
More tests
2020-05-28 12:53:26 -07:00
Donny Xia
8ac2365406
Check replace in go.mod before releasing
2020-05-28 12:34:58 -07:00
Jeff Regan
c1a2bf14da
Merge pull request #2548 from Shell32-Natsu/go-getter-doc
...
Add a note for go-getter
2020-05-28 11:38:24 -07:00
Donny Xia
a7af7df9cb
Add a note for go-getter
2020-05-28 10:15:19 -07:00
Dan Slinky @ Cookpad
8d148c7ee4
Update set.md examples to use correct field name
2020-05-28 13:36:12 +01:00
Kubernetes Prow Robot
0b94a1405d
Merge pull request #2544 from Shell32-Natsu/add-stringdata-to-encodesecret
...
Consider stringData when calculate secret hash
2020-05-27 17:22:02 -07:00
Kubernetes Prow Robot
b083187e6a
Merge pull request #2509 from phanimarupaka/RefChange
...
Short hand notation for setters/subst
2020-05-27 14:36:02 -07:00
Donny Xia
4dcf81050e
Consider stringData when calculate secret hash
2020-05-27 13:58:28 -07:00
Jeff Regan
c97fa946d5
Merge pull request #2543 from monopole/pinToApiv041
...
pin CLI to API v0.4.1
2020-05-27 13:44:51 -07:00
jregan
c35f5b0189
pin CLI to API v0.4.1
2020-05-27 13:32:22 -07:00
Jeff Regan
dd4aafe148
Merge pull request #2537 from Shell32-Natsu/fix-clone-hash
...
Fix git commit hash ignored
2020-05-27 13:22:08 -07:00
Jeff Regan
adb56abd99
Merge pull request #2542 from monopole/pinKustomizeToCmdKubectl_v0_1_0
...
pin kustomize to cmd/kubectl_v0_1_0
2020-05-27 12:36:44 -07:00
jregan
def978b334
pin kustomize to cmd/kubectl_v0_1_0
2020-05-27 12:20:39 -07:00
Phani Teja Marupaka
f7ca4fa106
Suggested Changes
2020-05-27 11:47:31 -07:00
Jeff Regan
ff7a7937c5
Merge pull request #2541 from monopole/pinToKStatus_v0_0_2
...
Pin to kstatus/v0.0.2
2020-05-27 11:13:15 -07:00
jregan
90c23026c2
Pin to kstatus/v0.0.2
2020-05-27 10:56:01 -07:00
Donny Xia
e5e4f33ac7
Fix go-getter
2020-05-26 17:42:31 -07:00
Donny Xia
5449dbc775
Fix git commit hash ignored
2020-05-26 14:44:37 -07:00
Kubernetes Prow Robot
52c5a9d380
Merge pull request #2490 from sunny0826/zh-docs
...
add zh docs plugins-builtions.md
2020-05-26 14:06:42 -07:00
Kubernetes Prow Robot
74d59f87c2
Merge pull request #2536 from Shell32-Natsu/merge-error-message
...
Improve error message for merge error
2020-05-26 13:54:41 -07:00
Phani Teja Marupaka
98ba8b7491
Change to create setter
2020-05-26 13:39:23 -07:00
Donny Xia
e05404f89c
Improve error message for merge error
2020-05-26 10:12:33 -07:00
Jeff Regan
9e40cc177a
Merge pull request #2532 from monopole/upgradeToV040
...
Upgrade CLI to API v0.4.0
2020-05-24 10:41:56 -07:00
jregan
315f7c6e7f
Upgrade CLI to API v0.4.0
2020-05-24 10:28:30 -07:00
Jeff Regan
13eedd95f9
Merge pull request #2530 from monopole/deleteRace
...
Remove race in tests.
2020-05-23 18:22:22 -07:00
jregan
a193129920
Remove race in tests.
2020-05-23 17:51:32 -07:00
Jeff Regan
d2c205b082
Merge pull request #2529 from monopole/addLogging
...
Add logging.
2020-05-22 19:02:36 -07:00
jregan
02184dbfc5
Add logging.
2020-05-22 18:57:18 -07:00
Jeff Regan
5b1edcdd0e
Merge pull request #2528 from monopole/makeInevitablePluginUtilsDir
...
Make plugin utils package.
2020-05-22 18:25:32 -07:00
jregan
b4f9e9ae56
Make plugin utils package.
2020-05-22 18:17:36 -07:00
Jeff Regan
a17022f7cc
Merge pull request #2525 from mcristina422/tools
...
Add tools package, tidy go mods
2020-05-22 18:11:32 -07:00
Jeff Regan
615f36119e
Merge pull request #2526 from mcristina422/patch-2
...
Add init as an alias to create
2020-05-22 18:02:53 -07:00
Michael Cristina
fd8c63772f
Simplify install
2020-05-22 19:52:16 -05:00
Jeff Regan
07cfa207f1
Merge branch 'master' into tools
2020-05-22 17:39:40 -07:00
Jeff Regan
d1a3758c39
Merge pull request #2517 from prachirp/example-versions
...
Update examples versions
2020-05-22 17:37:40 -07:00
Jeff Regan
7de391e0d6
Merge pull request #2499 from Shell32-Natsu/release_script
...
Release program
2020-05-22 17:29:45 -07:00
Jeff Regan
c62a83c903
Merge pull request #2520 from pwittrock/actions
...
Run GitHub actions to test on MacOS and Windows
2020-05-22 17:20:13 -07:00
Jeff Regan
82a05738f0
kustomize api v0.4.0
2020-05-22 17:09:17 -07:00
Jeff Regan
e25651f250
Merge pull request #2527 from monopole/removeFlakyOptimization
...
Remove flakey test optimization.
2020-05-22 17:08:31 -07:00
jregan
75d8492c51
Remove flakey test optimization.
2020-05-22 16:58:03 -07:00
Michael Cristina
eba34f4071
Add init as an alias to create
2020-05-22 18:46:39 -05:00
Michael Cristina
823847d90a
Add tools package, tidy go mods
2020-05-22 13:23:20 -05:00
Kubernetes Prow Robot
80dc4763bf
Merge pull request #2522 from arrikto/master
...
Mark components example as WIP
2020-05-22 08:16:38 -07:00
Alex Pyrgiotis
589f274493
Mark components example as WIP
...
Since the required implementation for the components example has not
been merged yet, we must inform the users that this example is a work in
progress.
Signed-off-by: Alex Pyrgiotis <apyrgio@arrikto.com >
2020-05-22 08:29:18 +00:00
Phillip Wittrock
f63faca999
Test on windows and mac
2020-05-21 19:08:31 -07:00
Kubernetes Prow Robot
d596330a0a
Merge pull request #2511 from pwittrock/windows
...
Fix cmd/config windows issues
2020-05-21 18:38:38 -07:00
Morten Torkildsen
31a3a08f53
Merge pull request #2519 from mortent/ReleaseCmdConfig
...
Release cmd/config
2020-05-21 17:59:31 -07:00
Jeff Regan
ffde2c452d
Update execPluginGuidedExample.md
...
fix #2410
2020-05-21 17:48:32 -07:00
Morten Torkildsen
93bfb5b6f6
Release cmd/config
2020-05-21 17:36:24 -07:00
Phillip Wittrock
28c919912a
Fix cmd/config windows issues
2020-05-21 16:53:24 -07:00
Jeff Regan
12d5ca68e9
Merge pull request #2516 from prachirp/patch-1
...
Add Cluster as not namespaceable kind
2020-05-21 15:46:35 -07:00
Prachi Pendse
847d415f50
Update examples versions
2020-05-21 15:30:14 -07:00
Morten Torkildsen
31d70c4ee2
Merge pull request #2515 from mortent/ReleaseKyamlCommand
...
Release kyaml
2020-05-21 15:01:20 -07:00
Prachi Pendse
06174fb52f
Add Cluster as not namespaceable kind
...
The Cluster object from the clusterregistry api is always cluster scoped.
2020-05-21 14:31:18 -07:00
Morten Torkildsen
276270eb57
Release kyaml
2020-05-21 13:50:37 -07:00
Phani Teja Marupaka
b3f5874978
Short hand notation for set
2020-05-21 11:15:16 -07:00
Donny Xia
4b68425d86
Update readme for releasing
2020-05-21 10:07:51 -07:00
Donny Xia
4d88032e11
Add comments
2020-05-21 10:07:51 -07:00
Donny Xia
909bc25e12
Add tests for modulemeta and moduleversion
2020-05-21 10:07:51 -07:00
Donny Xia
2df3a7fc08
Refactor
2020-05-21 10:07:51 -07:00
Donny Xia
2b0b29aec5
Add flag for running test
2020-05-21 10:07:51 -07:00
Donny Xia
1dced55f60
Improve branch existence check
2020-05-21 10:07:51 -07:00
Donny Xia
68d6b9add6
Remove testing
2020-05-21 10:07:51 -07:00
Donny Xia
44f5093ae3
Add tests
2020-05-21 10:07:51 -07:00
Donny Xia
557cd656ab
Finish pushing tag
2020-05-21 10:07:51 -07:00
Donny Xia
650f111e63
Add release command
2020-05-21 10:07:50 -07:00
Donny Xia
81da8f6f99
Update functions names
2020-05-21 10:07:50 -07:00
Donny Xia
32ed552ea6
List latest versions
2020-05-21 10:07:50 -07:00
Donny Xia
0b12f6c73d
Add test
2020-05-21 10:07:50 -07:00
Donny Xia
cd3b87e483
Basic structure of releasing program
2020-05-21 10:07:50 -07:00
Jeff Regan
d616c9c315
Merge pull request #2510 from monopole/makeTestMoreRelocatable
...
Make a test more relocatable.
2020-05-20 17:08:59 -07:00
jregan
006953265f
Make a test more relocatable.
2020-05-20 17:00:08 -07:00
Jeff Regan
4c520697fe
Merge pull request #2508 from monopole/upgrade_kyaml_v0_1_11
...
Upgrade to kyaml v0.1.11
2020-05-20 16:00:32 -07:00
jregan
8f5a55f89b
Upgrade to kyaml v0.1.11
2020-05-20 15:42:10 -07:00
Jeff Regan
c15fb14ccd
Merge pull request #2507 from Liujingfang1/doc
...
complete TODOs in docs/readme
2020-05-20 15:19:29 -07:00
Jingfang Liu
24711f9fae
complete TODOs in docs/readme
2020-05-20 13:33:58 -07:00
Jeff Regan
7db4996638
Merge pull request #2504 from monopole/hackGoSum
...
Automated fix to hack/go.sum
2020-05-20 09:02:29 -07:00
jregan
8efc528117
Automated fix to hack/go.sum
2020-05-20 08:51:28 -07:00
Jeff Regan
d48952451a
Merge pull request #2505 from monopole/nondeterministic
...
Fix nondeterminstic failure
2020-05-20 08:45:56 -07:00
jregan
cf6fd30c73
Fix nondeterminstic failure
2020-05-20 08:30:30 -07:00
Kubernetes Prow Robot
f206241e2a
Merge pull request #2503 from monopole/oops
...
Beef up test.
2020-05-19 19:16:19 -07:00
jregan
07b679955e
Beef up test.
2020-05-19 18:26:37 -07:00
guoxudong
59f8f4ae14
fix
2020-05-20 09:25:31 +08:00
Kubernetes Prow Robot
33d72e9ae6
Merge pull request #2502 from monopole/testKustTarget
...
Add coverage for kusttarget.Load
2020-05-19 17:40:19 -07:00
jregan
e28af71b6f
Add coverage for kusttarget.Load
2020-05-19 17:26:18 -07:00
Kubernetes Prow Robot
b738cc221c
Merge pull request #2501 from pwittrock/windows
...
Address kyaml windows compatibility issues
2020-05-19 16:06:19 -07:00
Phillip Wittrock
f17cec0b3f
Address kyaml windows compatibility issues
2020-05-19 15:44:30 -07:00
Paul Martin
ab9d4c7e7b
Added test to ensure that individusal files cannot be added to the components list.
2020-05-19 19:26:18 +01:00
guoxudong
7bae481252
fix
2020-05-19 10:19:59 +08:00
Jeff Regan
765a4888df
Merge pull request #2438 from apyrgio/feature-components-docs
...
Kustomize API Proposal: Add an example with components
2020-05-18 16:37:45 -07:00
Jeff Regan
f9822c014f
Merge pull request #2468 from wendorf/numeric-common-labels
...
Test coverage for numeric-looking commonLabels strings
2020-05-18 14:06:23 -07:00
Kubernetes Prow Robot
1e36c1c74f
Merge pull request #2496 from phanimarupaka/SchemaFileToOpenAPI
...
Add schema-path flag to input openAPI for setters
2020-05-18 11:25:36 -07:00
Paul Martin
c5c53011da
PoC to add Components to a separate components list (instead of resources)
...
If this idea is preferred, the code could really do with a refactor (probably using closures to control the behaviour of accumulate directory)
2020-05-18 19:25:29 +01:00
Paul Martin
fdfb58cc3e
Require version kustomize.config.k8s.io/v1alpha1 for Component
2020-05-18 19:25:29 +01:00
Paul Martin
1079d8604c
Renamed KustomizationPatch to Component
2020-05-18 19:25:29 +01:00
Paul Martin
4454edc14c
Implement "kind: KustomizationPatch" to support composition of Kustomize files
2020-05-18 19:25:29 +01:00
Kubernetes Prow Robot
7d5304928b
Merge pull request #2495 from phanimarupaka/ValidateListValues
...
Validate list values against openAPI
2020-05-17 09:49:36 -07:00
Phani Teja Marupaka
bf17177270
Suggested Changes
2020-05-16 22:21:24 -07:00
Phani Teja Marupaka
2320c10463
Validate list values against openAPI
2020-05-16 22:01:11 -07:00
Phani Teja Marupaka
50cba50a8d
Add schema-path flag to input openAPI for setters
2020-05-16 18:36:05 -07:00
Kubernetes Prow Robot
2eabe24896
Merge pull request #2480 from mortent/FormattingAnnotation
...
Add annotation for opting out of formatting
2020-05-15 15:01:37 -07:00
Morten Torkildsen
99b850555d
Add annotation for opting out of formatting
2020-05-15 13:43:02 -07:00
Kubernetes Prow Robot
69e3c01cbf
Merge pull request #2493 from pwittrock/master
...
kustomize transformers to create fields if they are null
2020-05-15 13:13:37 -07:00
Phillip Wittrock
77b5a4a215
kustomize transformers to create fields if they are null
2020-05-15 12:30:59 -07:00
Dan Wendorf
214b5bcfb9
Test coverage for numeric-looking commonLabels strings
...
There is a regression in 72c7db39f2 where
commonLabels that are numeric-looking strings lose their quotation,
changing the value type from string to integer. This will cause the
resource to fail validation.
2020-05-15 12:26:10 -07:00
Alex Pyrgiotis
e1087cdfbc
Add a configMapGenerator to the example
...
Slightly alter the reCAPTCHA component to use a `configMapGenerator`,
instead of patching the base `ConfigMap` as in the rest of the
components, to show that this is supported as well.
2020-05-15 18:00:09 +00:00
Alex Pyrgiotis
844824e8e9
Incorporate the "components" suggestion
...
Incorporate the suggestion of the separate "components" field, that will
hold references to resources of `Component` kind. Also, add a missing
reference to the base, in the Kustomization files of the variants.
2020-05-15 15:04:17 +00:00
Alex Pyrgiotis
8d8773fc0e
Add some missing overlay fields
2020-05-15 15:01:56 +00:00
guoxudong
bf71dce60c
add zh docs plugins-builtions.md
2020-05-15 14:44:27 +08:00
Jeff Regan
66e889e4c1
Merge pull request #2489 from monopole/testExamplesAgainstHeadInProw
...
Test kustomize examples against head in prow presubmit.
2020-05-14 21:44:51 -07:00
jregan
ee2228c5fc
Test kustomize examples against head in prow presubmit.
2020-05-14 21:17:13 -07:00
Kubernetes Prow Robot
dd3a79bcf7
Merge pull request #2487 from pwittrock/master
...
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:54:59 -07:00
Jeff Regan
84ed659d8c
Merge pull request #2488 from monopole/fixMake
...
Fix verify-kustomize target in Makefile
2020-05-14 19:34:01 -07:00
jregan
fbceeb1770
Fix verify-kustomize target in Makefile
2020-05-14 19:18:25 -07:00
Jeff Regan
a7b58257e1
Merge pull request #2486 from monopole/goModyTidyVerify
...
Automated ./hack/doGoMod.sh tidy;verify
2020-05-14 19:13:08 -07:00
Phillip Wittrock
b622306ff7
Quote yaml 1.1 non-string values for commonlabels and commonAnnotations
2020-05-14 19:05:41 -07:00
jregan
ee095371b8
Automated ./hack/doGoMod.sh tidy;verify
2020-05-14 18:50:04 -07:00
Jeff Regan
73cb596122
Merge pull request #2484 from monopole/moreLabellerTests
...
Add more labelling tests.
2020-05-14 18:13:15 -07:00
jregan
d0425791ca
Add more labelling tests.
2020-05-14 17:54:13 -07:00
Jeff Regan
bacb9e2249
Merge pull request #2482 from monopole/fixMkdirMinusP
...
Fix mkdir -p problem in example
2020-05-14 17:35:34 -07:00
Kubernetes Prow Robot
c0c70b26d1
Merge pull request #2483 from pwittrock/master
...
release kyaml and cmd/config
2020-05-14 17:30:59 -07:00
Phillip Wittrock
6837d1f196
release kyaml and cmd/config
2020-05-14 17:10:01 -07:00
jregan
f247955942
Fix mkdir -p problem in example
2020-05-14 17:07:02 -07:00
Kubernetes Prow Robot
f7f0923375
Merge pull request #2470 from pwittrock/master
...
Support publishing starlark functions from urls
2020-05-14 14:44:58 -07:00
Kubernetes Prow Robot
d1556837e1
Merge pull request #2478 from phanimarupaka/ValidateSubstitutionsOpenAPI
...
Validate substitutions against openAPI
2020-05-14 14:20:58 -07:00
Phani Teja Marupaka
7c731f0109
Validate substitutions against openAPI
2020-05-14 14:00:58 -07:00
Kubernetes Prow Robot
ff125b8c6c
Merge pull request #2473 from pwittrock/fix
...
Set common labels and annotations as strings
2020-05-14 12:00:58 -07:00
Kubernetes Prow Robot
9a4927607d
Merge pull request #2471 from phanimarupaka/OpenAPIValidations
...
Validate setters against openAPI
2020-05-14 11:42:23 -07:00
Ioannis Androulidakis
6951623dd0
Rename KustomizationPatch to Component
...
The main change in this commit is that we rename the
`KustomizationPatch` kind to `Component`, and use the appropriate group
and API version (`kustomize.config.k8s.io/v1alpha1`).
2020-05-14 14:11:47 +00:00
Phani Teja Marupaka
eb7602fe19
Validate setters against openAPI
2020-05-13 21:34:28 -07:00
Jeff Regan
a1def720cc
Update valueAdd.md
2020-05-13 17:02:12 -07:00
Phillip Wittrock
0866e2a54b
Set common labels and annotations as strings
2020-05-13 16:58:38 -07:00
Jeff Regan
99933bf571
Update valueAdd.md
2020-05-13 16:38:16 -07:00
Kubernetes Prow Robot
b1fbf1958d
Merge pull request #2432 from tamalsaha/fix-marshal
...
Fix MarshalJSON of array
2020-05-13 16:22:22 -07:00
Tamal Saha
e3971ffbff
Fix linter warning
...
Signed-off-by: Tamal Saha <tamal@appscode.com >
2020-05-13 13:34:24 -07:00
Tamal Saha
802d79ae32
Fix MarshalJSON of array
...
Signed-off-by: Tamal Saha <tamal@appscode.com >
2020-05-13 13:32:19 -07:00
Phillip Wittrock
6ae53cb732
Support publishing starlark functions from urls
2020-05-13 11:36:49 -07:00
Kubernetes Prow Robot
0a8d367633
Merge pull request #2469 from pwittrock/gomod
...
unpin kyaml for cmd/config
2020-05-13 11:22:27 -07:00
Phillip Wittrock
75cba52f60
unpin kyaml for cmd/config
2020-05-13 11:10:26 -07:00
Alex Pyrgiotis
5884290fff
Set API version of KustomizationPatch to v1alpha1
...
Rename all `KustomizationPatch` instances to
`v1alpha1/KustomizationPatch`, to reflect that it's an alpha feature.
2020-05-13 14:05:30 +00:00
Ioannis Androulidakis
0152dbb0dc
Extend example with components
...
Describe in more detail the solution with stock kustomize variants to
better showcase the benefits of kustomize components.
Plus, revamp certain parts of the example with minor fixes.
2020-05-13 13:58:55 +00:00
Kubernetes Prow Robot
5d7269968a
Merge pull request #2456 from sunny0826/zh-docs
...
Add plugins zh docs
2020-05-12 18:22:26 -07:00
Jeff Regan
a0b997308a
Merge pull request #2461 from breun/macports
...
Add install command for MacPorts user
2020-05-12 15:50:11 -07:00
Kubernetes Prow Robot
aa95c9a773
Merge pull request #2465 from pwittrock/save-comments
...
Copy comments from function inputs to function outputs.
2020-05-12 15:46:26 -07:00
Phillip Wittrock
5907c9e141
Copy comments from function inputs to function outputs.
2020-05-12 15:07:43 -07:00
Kubernetes Prow Robot
266af31bcb
Merge pull request #2463 from pwittrock/master
...
Migrate examples on to go fn framework
2020-05-12 14:18:21 -07:00
Kubernetes Prow Robot
988afcb82d
Merge pull request #2442 from phanimarupaka/AddMaintainer
...
Add maintainer
2020-05-12 11:16:21 -07:00
Jeff Regan
ec96854186
Merge pull request #2449 from mcristina422/patch-1
...
add missing required key in example
2020-05-12 10:33:00 -07:00
Jeff Regan
26a6c8e47a
Merge pull request #2459 from asadali/change-mutating-webhook-order
...
Relative Order of Mutating/Validating WebhookConfigs
2020-05-12 10:32:09 -07:00
Phillip Wittrock
d5666c4ff4
Migrate examples on to go fn framework
2020-05-12 10:11:56 -07:00
Nils Breunese
ec43561c2d
Add install command for MacPorts user
2020-05-12 18:41:33 +02:00
guoxudong
4faf00b928
Merge branch 'zh-docs' of https://github.com/sunny0826/kustomize into zh-docs
2020-05-12 14:13:55 +08:00
guoxudong
4b78440c59
add zh docs plugins.md
2020-05-12 14:13:12 +08:00
guoxudong
aafe6b0260
fix
2020-05-12 09:17:13 +08:00
Asad Ali
74b45392fc
Relative Order of Mutating/Validating WebhookConfigs
...
MutatingWebhookConfig may have similar dependencies as the
ValidatingWebhookConfig. eg. a k8s cluster service. Therefore, it should
be ordered last as well.
This PR preserves the implicit ordering between CustomResources and the
webhook while introducing a relative order between the two webhooks.
i.e. MutatingWebhook should be created prior to the ValidatingWebhook
The change is an enhancement of #1104
2020-05-11 13:08:07 -07:00
Jeff Regan
f8ef55eeac
Update valueAdd.md
2020-05-11 10:56:49 -07:00
Jeff Regan
897e7b6e61
Merge pull request #2458 from monopole/updateBuildScripts
...
Update build scripts
2020-05-11 09:42:46 -07:00
Jeffrey Regan
70b1cfef4a
Update build scripts
2020-05-11 09:40:54 -07:00
Jeff Regan
4c9cc343cd
Merge pull request #2457 from monopole/pinToApiV033
...
Pin kustomize CLI to kustomize API v0.3.3
2020-05-11 08:48:11 -07:00
jregan
5213426f0a
Pin kustomize to api v0.3.3
2020-05-11 08:33:23 -07:00
guoxudong
5e22d9fedb
fix
2020-05-11 10:44:45 +08:00
guoxudong
a5cdc6c912
fix
2020-05-11 10:38:56 +08:00
guoxudong
6a32d8ac42
add zh docs plugins.md
2020-05-11 10:36:22 +08:00
Michael Cristina
a3fba0cb07
add missing required key in example
2020-05-09 10:11:14 -05:00
Phani Teja Marupaka
eb86d6a2d7
Add maintainer
2020-05-06 10:47:05 -07:00
Alex Pyrgiotis
6063a6bde8
Add an example with components
...
Add a WIP example that showcases how components can be used.
2020-05-06 07:44:21 +00:00