Kubernetes Prow Robot
313aacedd3
Merge pull request #6138 from dims/update-kube-openapi
...
bump k8s.io/kube-openapi, drop github.com/mailru/easyjson
2026-05-02 21:33:24 +05:30
Davanum Srinivas
9a61304919
bump k8s.io/kube-openapi, drop github.com/mailru/easyjson
...
Updates k8s.io/kube-openapi from v0.0.0-20241212222426-2c72e554b1e7 to
v0.0.0-20260502001324-b7f5293f4787 across api, kyaml, and kustomize modules,
then propagates the change across all workspace modules via make workspace-sync.
The new kube-openapi release switched from the monolithic go-openapi/swag
(v0.23.0) to the refactored split sub-modules (go-openapi/swag/* v0.25.4).
The old swag carried github.com/mailru/easyjson as a dependency; the new
sub-modules do not. After go mod tidy, easyjson and josharian/intern are
fully removed from all three module graphs.
Also upgraded: github.com/google/gnostic-models v0.6.9 → v0.7.0 (pulled
in by the same kube-openapi update).
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2026-05-02 10:47:24 -04:00
Ali jawwad
c43ab3cee1
docs: document config.kubernetes.io/local-config annotation ( #6133 )
...
* docs: document config.kubernetes.io/local-config annotation
Adds a Concepts page covering the three documented use cases:
Replacement data source, name-reference anchor across objects, and
KRM Function shared configuration. Cross-references the existing
manifest-annotations.md and the Kubernetes well-known annotations
page.
Signed-off-by: jawwad-ali <33836051+jawwad-ali@users.noreply.github.com >
* docs: drop implementation details and deprecated kustomize cfg note
Per koba1t review feedback on the local-config Concepts page:
implementation details (IsLocalConfig filter, DropLocalNodes helper,
source-file references) belong in the code rather than user docs, and
`kustomize cfg` is deprecated and should not be promoted to new users.
Removes the "How kustomize processes local-config resources" section.
Signed-off-by: jawwad-ali <33836051+jawwad-ali@users.noreply.github.com >
---------
Signed-off-by: jawwad-ali <33836051+jawwad-ali@users.noreply.github.com >
2026-05-02 01:29:24 +05:30
Kubernetes Prow Robot
7be21de377
Merge pull request #6114 from zerok/zerok/gotoolchain
...
chore: set minimum Go toolchain to 1.25.8
2026-05-01 17:39:24 +05:30
Horst Gutmann
d6bd9d9b08
Set minimum Go toolchain to 1.25.8
2026-05-01 11:30:18 +02:00
Kubernetes Prow Robot
0bb03d98ba
Merge pull request #6137 from kubernetes-sigs/dependabot/go_modules/hack/github.com/go-jose/go-jose/v4-4.1.4
...
build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 in /hack
2026-05-01 14:17:23 +05:30
dependabot[bot]
5e7858b8ea
build(deps): bump github.com/go-jose/go-jose/v4 in /hack
...
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Commits](https://github.com/go-jose/go-jose/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
dependency-version: 4.1.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-01 00:23:45 +00:00
yugo kobayashi
1c87a5063d
drop 'go-spew' dependencies and update dependencies ( #6134 )
...
* drop 'go-spew' dependencies
* update dependencies
* fix: change install method of golangci-lint
2026-05-01 05:37:24 +05:30
Kubernetes Prow Robot
2f9dbe434d
Merge pull request #6135 from koba1t/fix/github-actions-sha256-error
...
fix: github actions require to sha 256 for external actions
2026-04-28 05:42:47 +05:30
koba1t
71a99512bd
fix: github actions require to sha 256 for external actions
2026-04-28 08:54:50 +09:00
Kubernetes Prow Robot
72b0fd14d1
Merge pull request #6037 from rohithnarasimha/feat/add-configuration-command
...
feat: add support for 'kustomize edit add configuration' command
2026-04-07 21:45:33 +05:30
Rohith
1af74f2d9e
feat(commands/edit/add): add support for 'kustomize edit add configuration' command
...
Add a new subcommand 'kustomize edit add configuration' to programmatically
add configuration file references to kustomization.yaml files.
This brings configurations support in line with other 'kustomize edit add'
subcommands (generators, transformers, validators).
Features:
- Support for single and multiple configuration file paths
- Glob pattern expansion (e.g., ./configs/*.yaml)
- Duplicate detection with user logging
- Idempotent operation
Related to https://github.com/kubernetes-sigs/kustomize/issues/5987
2026-04-06 07:12:10 +05:30
Agustina Barbetta
80f63ae0c3
Add labels to volumeClaimTemplates in StatefulSets if includeVolumeClaimTemplates is true ( #5831 )
2026-04-01 20:59:07 +05:30
Kubernetes Prow Robot
b317895057
Merge pull request #6086 from ashnehete/4338/docs
...
Add Kustomization file overview from kubectl.docs.kubernetes.io
2026-04-01 20:47:11 +05:30
Kubernetes Prow Robot
66af726162
Merge pull request #6111 from kubernetes-sigs/dependabot/go_modules/hack/github.com/go-git/go-git/v5-5.17.1
...
build(deps): bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1 in /hack
2026-03-31 18:52:24 +05:30
dependabot[bot]
bcb4803f09
build(deps): bump github.com/go-git/go-git/v5 in /hack
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.16.5 to 5.17.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.17.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-version: 5.17.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-30 17:15:35 +00:00
Kubernetes Prow Robot
4ef1cf8234
Merge pull request #6100 from kubernetes-sigs/dependabot/npm_and_yarn/site/picomatch-2.3.2
...
build(deps-dev): bump picomatch from 2.3.1 to 2.3.2 in /site
2026-03-27 04:48:15 +05:30
dependabot[bot]
14ed8d90e0
build(deps-dev): bump picomatch from 2.3.1 to 2.3.2 in /site
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-25 23:11:52 +00:00
NoNE
29bf16c673
Reject ambiguous resource paths with inner ".." to prevent silent misresolution ( #6087 )
...
* Reject paths with inner '..' in FileLoader.New to prevent silent misresolution
* Refactor hasInnerDotDot to two-phase loop eliminating mutable state
* Narrow check to embedded '..' segments to allow legitimate winding paths
* Fix gofmt alignment and trailing whitespace in new test functions
* Fix pre-existing lint errors in fileloader_test.go
2026-03-25 20:50:19 +05:30
Kubernetes Prow Robot
fb91123a1c
Merge pull request #6029 from seankhliao/push-zkmktlwmzysm
...
Account for delimiters in structured data replacements
2026-03-19 00:08:31 +05:30
Kubernetes Prow Robot
4d331ef81a
Merge pull request #5974 from VannTen/docs/sourceValue
...
Document `sourceValue` for replacements.
2026-03-17 17:23:39 +05:30
Sean Liao
194aac685f
Account for delimiters in structured data replacements
...
Delimiter options were ignored for replacements targeting
structured data. Reuse the same value setting function
as replacements targeting regular values.
2026-03-17 11:09:11 +00:00
Kubernetes Prow Robot
825d1cfb8a
Merge pull request #6097 from kubernetes-sigs/dependabot/github_actions/dorny/paths-filter-4
...
build(deps): bump dorny/paths-filter from 3 to 4
2026-03-16 23:11:39 +05:30
Kubernetes Prow Robot
811e616841
Merge pull request #6096 from sarab97/sarab/reviewer
...
add sarab97 to reviewers
2026-03-16 22:27:41 +05:30
dependabot[bot]
c8dfcc123f
build(deps): bump dorny/paths-filter from 3 to 4
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 3 to 4.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-16 00:42:45 +00:00
Sarab Singh
0fb3416c16
add sarab97 to reviewers
2026-03-15 01:12:56 +05:30
Kubernetes Prow Robot
1ad9f9d96c
Merge pull request #6083 from 0xMH/fix/5103-remove-component
...
Add kustomize edit remove component command
2026-03-05 16:20:19 +05:30
Aashish Nehete
5d2d80d41b
Add Kustomization file overview
2026-03-04 19:21:29 -08:00
Kubernetes Prow Robot
0343400a36
Merge pull request #6085 from koba1t/dependencies/update_otel_to_v1.40.0
...
update otel lib to v1.40.0
2026-03-04 22:42:19 +05:30
Hamza
c07b901856
add kustomize edit remove component command
2026-03-04 16:28:10 +01:00
koba1t
68e507eb6f
update otel lib to v1.40.0
2026-03-04 23:30:01 +09:00
Kubernetes Prow Robot
09b04840a1
Merge pull request #6080 from kubernetes-sigs/dependabot/go_modules/hack/github.com/cloudflare/circl-1.6.3
...
build(deps): bump github.com/cloudflare/circl from 1.6.1 to 1.6.3 in /hack
2026-02-27 17:44:55 +05:30
dependabot[bot]
0e14dbd8cd
build(deps): bump github.com/cloudflare/circl in /hack
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.6.1 to 1.6.3.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.6.1...v1.6.3 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-version: 1.6.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-25 21:13:01 +00:00
Max Gautier
c52ba638ea
Document sourceValue for replacements.
...
Co-authored-by: Steven E. Harris <seh@panix.com >
2026-02-24 16:25:44 +01:00
Aashish Nehete
78ce39820d
Add FAQ from kubectl.docs.kubernetes.io ( #6052 )
...
* Add FAQ from kubectl.docs.kubernetes.io
* Add title to Contributing Features
* Set sidebar_menu_compact to true
* Add glossary, fix broken links
* Update site/content/en/contribute/features/eschewedfeatures.md
Co-authored-by: Mauren <698465+stormqueen1990@users.noreply.github.com >
* Update site/content/en/contribute/features/eschewedfeatures.md
Co-authored-by: Mauren <698465+stormqueen1990@users.noreply.github.com >
* Update site/content/en/contribute/features/eschewedfeatures.md
Co-authored-by: Mauren <698465+stormqueen1990@users.noreply.github.com >
---------
Co-authored-by: Mauren <698465+stormqueen1990@users.noreply.github.com >
2026-02-19 20:13:39 +05:30
Kubernetes Prow Robot
b7ee1340a9
Merge pull request #6078 from koba1t/bump/go-git_and_crypt
...
bump go-git and x/crypt
2026-02-13 17:50:01 +05:30
koba1t
793f58251c
remove old go build tag
2026-02-13 20:55:17 +09:00
koba1t
5231e099e5
bump go-git and x/crypt
2026-02-13 20:46:17 +09:00
Kubernetes Prow Robot
e78e03405b
Merge pull request #6075 from koba1t/upgrade/go.1.25.7
...
update go 1.25.7
2026-02-13 10:56:00 +05:30
koba1t
8eb136f67e
update go 1.25.7
2026-02-12 01:26:18 +09:00
yugo kobayashi
dc6b2b978c
Merge pull request #6068 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2026-02-10 02:58:25 +09:00
koba1t
be8d7eb980
Back to development mode; unpin the modules
2026-02-10 01:43:07 +09:00
Kubernetes Prow Robot
9790a1c3ef
Merge pull request #6067 from koba1t/pinToApi
...
Update api to v0.21.1
2026-02-09 21:41:22 +05:30
koba1t
4190d3dedc
Update api to v0.21.1
2026-02-10 01:00:34 +09:00
Kubernetes Prow Robot
401be204e1
Merge pull request #6066 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.21.1
2026-02-09 21:23:24 +05:30
koba1t
8073ce87f0
Update cmd/config to v0.21.1
2026-02-10 00:42:39 +09:00
Kubernetes Prow Robot
be024c92ba
Merge pull request #6065 from koba1t/pinToKyaml
...
Update kyaml to v0.21.1
2026-02-09 21:07:25 +05:30
koba1t
bb26a70573
Update kyaml to v0.21.1
2026-02-10 00:27:48 +09:00
Kubernetes Prow Robot
798d339d10
Merge pull request #6044 from koba1t/fix/namespace_propagation_problem_at_v5.8.0
...
Fix namespace propagation problem at v5.8.0
2026-02-09 07:21:09 +05:30
Kubernetes Prow Robot
6c8c9cc0e8
Merge pull request #6016 from hmilkovi/fix/helm-4.0
...
fix: support helm v4 beside v3
2026-02-05 07:02:29 +05:30
Kubernetes Prow Robot
02d23d21f0
Merge pull request #6057 from dims/remove-pkg-errors-dep
...
Upgrade json-patch to v4.13.0 to remove pkg/errors dependency
2026-02-05 06:18:29 +05:30
Hrvoje Milković
c6ccb4f208
Merge branch 'kubernetes-sigs:master' into fix/helm-4.0
2026-02-04 20:40:03 +01:00
hmilkovi
54848c1049
fix: support helm v4 beside v3 and remove -c flag for helm version as it does nothing
...
features.
2026-02-04 20:27:15 +01:00
Davanum Srinivas
297f2b59bb
Upgrade json-patch to v4.13.0 to remove pkg/errors dependency
...
The github.com/pkg/errors package is unmaintained and archived.
It was pulled in as a transitive dependency through json-patch v4.12.0.
Upgrading to v4.13.0 removes this dependency while maintaining API
compatibility.
json-patch commit: evanphx/json-patch@106306d
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2026-02-04 14:14:37 -05:00
koba1t
7e45799272
rename to helmRootNamespace
2026-01-13 08:13:23 +09:00
koba1t
4e75138d24
fix: apply namespace propagation for helmCharts only
2026-01-13 08:09:14 +09:00
koba1t
a397f5b491
add tests for regression
2026-01-03 03:27:12 +09:00
Kubernetes Prow Robot
008b7a0c47
Merge pull request #6038 from tsuzu/fix-test-error
...
Fix a failing test
2025-12-29 00:56:33 +05:30
Tsuzu
6d7267f345
Fix a failing test
2025-12-22 00:11:48 +09:00
Kubernetes Prow Robot
17a06a72be
Merge pull request #6020 from koba1t/chore/parallelizing_tests
...
CI: parallelizing tests
2025-11-26 08:24:37 -08:00
koba1t
e6621df4d5
add aggregation job for all matrix released module tests to define a branch protection rule
2025-11-26 07:07:16 +09:00
koba1t
77cf6d6b88
CI: parallelizing tests
2025-11-26 07:07:13 +09:00
Kubernetes Prow Robot
95a6f1fec3
Merge pull request #6023 from kubernetes-sigs/dependabot/github_actions/actions/checkout-6
...
build(deps): bump actions/checkout from 5 to 6
2025-11-25 14:02:36 -08:00
dependabot[bot]
c79a356bb2
build(deps): bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 00:02:17 +00:00
Kubernetes Prow Robot
311dbbf975
Merge pull request #5990 from ralgozino/fix/allow-empty-strategicmerge-patches-files
...
fix: allow empty patches files
2025-11-19 13:12:00 -08:00
Kubernetes Prow Robot
77b3446b36
Merge pull request #6010 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2025-11-10 02:30:56 -08:00
koba1t
764ad39d1d
Back to development mode; unpin the modules
2025-11-10 00:04:26 +09:00
Kubernetes Prow Robot
0054b5e296
Merge pull request #6009 from koba1t/pinToApi
...
Update api to v0.21.0
2025-11-09 06:38:52 -08:00
koba1t
16391f3dbe
Update api to v0.21.0
2025-11-09 23:29:30 +09:00
Kubernetes Prow Robot
6661fefabc
Merge pull request #6008 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.21.0
2025-11-09 06:12:52 -08:00
koba1t
3c59244887
Update cmd/config to v0.21.0
2025-11-09 23:02:27 +09:00
Kubernetes Prow Robot
ade7bd609f
Merge pull request #6007 from koba1t/pinToKyaml
...
Update kyaml to v0.21.0
2025-11-09 05:56:52 -08:00
koba1t
0fc75546f1
Update kyaml to v0.21.0
2025-11-09 22:45:40 +09:00
Joseph Cumines
87617912bf
fix(kyaml/yaml): minor nil safety fix for RNode.Content etc ( #5985 )
...
* Fix kyaml/yaml field access deref nil value for methods that look "nil-safe"
This change is addressing observed panics within kustomize that obscure the
actual failure. The primary observed problem case involves RNode.Content.
* Fix test case
* Fixes from review
2025-11-02 18:34:07 -08:00
Kubernetes Prow Robot
153a37286d
Merge pull request #5679 from koba1t/implements_to_replacements_value_in_the_structured_data
...
implements to replacements value in the structured data
2025-10-24 20:15:34 -07:00
Kubernetes Prow Robot
de011378a4
Merge pull request #5991 from isarns/fix/labels-without-selector-duplicate-key-error
...
Fix duplicate key error when adding multiple labels with --without-selector
2025-10-12 19:36:54 -07:00
isarns
4d37afef6f
style(cmd-edit-add-label): lint multiple labels without selector test
2025-10-12 18:04:33 +03:00
isarns
f71e4d7309
style(cmd-edit-add-label): lint multiple labels without selector test
2025-10-12 12:34:00 +03:00
isarns
d427f61f84
test(cmd-edit-add-label): add multiple labels without selector test
2025-10-12 12:08:34 +03:00
isarns
9df8bbdc44
fix(cmd-edit-add-label): dubplicate key error
2025-10-05 19:33:51 +03:00
Ramiro Algozino
24ea1b951a
fix(kustomize): call json6902 only when needed
...
Call json6902 transformer only when there are patches to apply.
Addresses #5956
2025-10-02 19:51:09 +02:00
Ramiro Algozino
68fa5177e2
chore: add test for empty patches files
...
Add test to validate that empty files don't produce an error when using
the `path` option of the `patches` convenience.
Add test to validate that using the deprecated patchesStrategicMerge
still produces an error and no changes have been introduced in old
features.
2025-10-02 19:15:00 +02:00
koba1t
2a1862d8b7
fix nit
2025-09-30 06:48:35 +09:00
Niklas Wagner
278dd6e55d
fix: performance recession when propagating namespace to helm ( #5971 )
...
* fix: performance recession when propagating namespace to helm
* fix: handle passing namespace downstream more elegant
* Revert "fix: handle passing namespace downstream more elegant"
This reverts commit 976a7cf2aa .
* Revert "fix: performance recession when propagating namespace to helm"
This reverts commit c7612d1dba .
* fix: use annotation to identify helm chart generated resources
* fix: deduplicate code
* fix: missing import in NamespaceTransformer.go
* ci: allow manual trigger of pipeline in fork
* Revert "ci: allow manual trigger of pipeline in fork"
This reverts commit 8948788fe2 .
* fix: test cases
* chore: fix code comment was on wrong line
* chore: fix code comment was on wrong line pt2
2025-09-29 14:08:19 -07:00
Kubernetes Prow Robot
b62d746b80
Merge pull request #5942 from totegamma/master
...
fix fnplugin storagemounts validation
2025-09-29 12:06:17 -07:00
Kubernetes Prow Robot
ab48be3747
Merge pull request #5984 from stormqueen1990/patch-2
...
Step down as reviewer for kustomize
2025-09-28 12:10:16 -07:00
Mauren
e5bb51847d
Step down as reviewer for kustomize
...
Remove myself from the OWNERS_ALIASES file as I am stepping down from being a reviewer in kustomize for the time being.
2025-09-14 17:00:00 -04:00
Kubernetes Prow Robot
1a988bbed5
Merge pull request #5982 from kubernetes-sigs/dependabot/github_actions/actions/setup-go-6
...
build(deps): bump actions/setup-go from 5 to 6
2025-09-12 16:52:14 -07:00
totegamma
4bdc3f3f7e
add test for plugin loader
2025-09-11 21:40:16 +09:00
dependabot[bot]
66c1478c1b
build(deps): bump actions/setup-go from 5 to 6
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 00:02:24 +00:00
koba1t
bbe53c2c45
implements nested structure replacements
2025-09-05 19:37:24 +09:00
Kubernetes Prow Robot
cd30471046
Merge pull request #5963 from koba1t/chore/introduce_go_tool_directive
...
introduce go tool directive
2025-08-27 17:43:10 -07:00
koba1t
2dc0d0da8b
implements to replacements value in the structured data
2025-08-28 04:44:52 +09:00
koba1t
5fd7b14fc8
update releasing/README.md to use
...
Helps when you have a git repository with multiple Go modules.
It handles tasks one might otherwise attempt with
'''
find ./ -name "go.mod" | xargs {some hack}
'''
Run it from a git repository root.
It walks the repository, reads 'go.mod' files, builds
a model of Go modules and intra-repo module
dependencies, then performs some operation.
Install:
'''
go get sigs.k8s.io/kustomize/cmd/gorepomod
'''
_Commands that change things (everything but 'list')
do nothing but log commands
unless you add the '--doIt' flag,
allowing the change._
_If you want to run 'gorepomod' on your fork or outside of '$GOSRC' directory, add '--local' flag to your command._
Lists modules and intra-repo dependencies.
Use this to get module names for use in other commands.
Creates a change with mechanical updates
to 'go.mod' and 'go.sum' files.
Creates a change to 'go.mod' files.
For each module _m_ in the repository,
if _m_ depends on a _{module}_, then
_m_'s dependency on _{module} will be
replaced by a relative path to the in-repo
version of _{module}_.
If _conditionalModule_ is specified, then
the replacement of _{module}_ will happen
if _m_ depends on _{conditionalModule}_.
Creates a change to 'go.mod' files.
The opposite of 'unpin'.
The change removes replacements and pins _m_ to a
specific, previously tagged and released version of _{module}_.
The argument _{version}_ defaults to recent version of _{module}_.
_{version}_ should be in semver form, e.g. 'v1.2.3'.
Computes a new version for the module, tags the repo
with that version, and pushes the tag to the remote.
The value of the 2nd argument, either 'patch' (the default),
'minor' or 'major', determines the new version.
If the existing version is _v1.2.7_, then the new version will be:
- 'patch' -> _v1.2.8_
- 'minor' -> _v1.3.0_
- 'major' -> _v2.0.0_
After establishing the version, the command looks for a branch named
> _release-{module}/-v{major}.{minor}_
If the branch doesn't exist, the command creates it and pushes it to the remote.
The command then creates a new tag in the form
> _{module}/v{major}.{minor}.{patch}_
The command pushes this tag to the remote. This typically triggers
cloud activity to create release artifacts.
This undoes the work of 'release', by deleting the
most recent tag both locally and at the remote.
You can then fix whatever, and re-release.
This, however, must be done almost immediately.
If there's a chance someone (or some cloud robot) already
imported the module at the given tag, then don't do this,
because it will confuse module caches.
Do a new patch release instead. instead of
2025-08-28 02:54:33 +09:00
koba1t
b472396d10
introduce go tool directive
2025-08-28 02:36:10 +09:00
Kubernetes Prow Robot
39086340ad
Merge pull request #5967 from seipan/fix/url-encode
...
Fix infinite loop in HTTP client by validating URLs before requests
2025-08-24 12:13:06 -07:00
Kubernetes Prow Robot
4468c8c9c7
Merge pull request #5970 from stormqueen1990/deps/go-viper-mapstructure
...
build(deps): bump github.com/go-viper/mapstructure/v2 from v2.3.0 to v2.4.0
2025-08-24 02:51:06 -07:00
Mauren Berti
05fa95ea95
build(deps): bump github.com/go-viper/mapstructure/v2 from v2.3.0 to v2.4.0
2025-08-23 14:48:29 -04:00
Kubernetes Prow Robot
1c0f1bf5ac
Merge pull request #5940 from Skaronator/propagate-namespaces
...
fix: Propagate Namespace correctly to Helm
2025-08-21 04:07:05 -07:00
seipan
2a79ea148d
fix: url.ParseRequestURI before http.Get
...
Signed-off-by: seipan <yamasakipann0218@gmail.com >
2025-08-21 17:18:00 +09:00
Kubernetes Prow Robot
11f9435b50
Merge pull request #5962 from koba1t/chore/update_dependencies_from_security_alert
...
chore: update dependencies from security alert
2025-08-18 09:45:08 -07:00
Kubernetes Prow Robot
b97b705232
Merge pull request #5964 from kubernetes-sigs/dependabot/github_actions/actions/checkout-5
...
build(deps): bump actions/checkout from 4 to 5
2025-08-18 06:29:12 -07:00
dependabot[bot]
efbd2a6ef1
build(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-18 00:31:49 +00:00
koba1t
e68c754cce
bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in /cmd/gorepomod
2025-08-18 06:32:36 +09:00
koba1t
c8d3d5709e
bump github.com/go-git/go-git/v5 from 5.11.0 to 5.13.0
2025-08-18 06:30:17 +09:00
Kubernetes Prow Robot
ffcda0158e
Merge pull request #5961 from koba1t/refactor/nested_format_string
...
refactor: nested format string
2025-08-17 14:27:07 -07:00
koba1t
785fce97df
refactor: nested format string
2025-08-18 06:16:24 +09:00
Kubernetes Prow Robot
caa42b7125
Merge pull request #5960 from stormqueen1990/deps/golang-oauth
...
build(deps): bump golang.org/x/oauth2 from 0.25.0 to 0.27.0
2025-08-17 14:01:07 -07:00
Mauren Berti
c9a0d10d5a
build(deps): bump golang.org/x/oauth2 from 0.25.0 to 0.27.0
2025-08-17 16:20:00 -04:00
yugo kobayashi
87d0629bd1
update go 1.24.6 ( #5959 )
...
* update go 1.24.6
* fix non-constant format string error
* update golang.org/x/tools@v0.36 .0 and github.com/golangci/golangci-lint@v1.64 .8 to pass execute golangci-lint
* add a verpose diff output to prow test
* remove pluginator binary version from generated files
2025-08-17 13:05:12 -07:00
Kubernetes Prow Robot
b581903858
Merge pull request #5958 from adoramshoval/resource-absorbtion-error-verbosity
...
fix: make AbsorbAll conflict error more verbose
2025-08-16 15:43:07 -07:00
Adoram Shoval
d54e9b2b40
fix: make AbsorbAll conflict error more verbose
2025-08-16 08:09:17 -04:00
Niklas Wagner
75839a81b3
fix: namespace is not correctly propagate with nested kustomization files
2025-08-12 22:46:22 +02:00
zepard
7c04cbb237
Add regex support for Replacement selectors ( #5863 )
...
* feat: Add regex support for Replacement selectors
* Add new tests for regex support
* Earlier exit with rejectAny, and fix linting
* Add example Use cases using regex
2025-08-12 11:13:08 -07:00
Kubernetes Prow Robot
f74736130c
Merge pull request #5930 from adoramshoval/patch-args
...
feat: add PatchArgs API type to populate patch options
2025-08-11 13:49:07 -07:00
Adoram Shoval
9043c223d4
feat: add PatchArgs API type to populate patch options
...
This commit converts the Options section of a patch into an object instead of map.
This allows better clarification of the available options.
2025-08-08 07:34:20 -04:00
Kubernetes Prow Robot
2859474e3c
Merge pull request #5951 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2025-07-23 06:06:30 -07:00
koba1t
d0d64c5bc4
Back to development mode; unpin the modules
2025-07-23 21:55:58 +09:00
Kubernetes Prow Robot
168971a501
Merge pull request #5950 from koba1t/pinToApi
...
Update api to v0.20.1
2025-07-23 05:44:29 -07:00
koba1t
0c3ce2c8fb
Update api to v0.20.1
2025-07-23 21:34:51 +09:00
Kubernetes Prow Robot
8b42cd9918
Merge pull request #5949 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.20.1
2025-07-23 05:30:29 -07:00
koba1t
5b313f57c4
Update cmd/config to v0.20.1
2025-07-23 21:20:57 +09:00
Kubernetes Prow Robot
792b241a4a
Merge pull request #5948 from koba1t/pinToKyaml
...
Update kyaml to v0.20.1
2025-07-23 05:18:27 -07:00
koba1t
8192ab34ee
Update kyaml to v0.20.1
2025-07-23 21:09:58 +09:00
Kubernetes Prow Robot
87f462af25
Merge pull request #5943 from koba1t/chore/drop_shlex_dependency
...
drop shlex dependency
2025-07-20 12:50:25 -07:00
koba1t
3866a30826
introduce one const value that indicate to no quote in ShlexSplit()
2025-07-14 20:12:00 +09:00
koba1t
5cb1b4e3f9
remove shlex dependencies
2025-07-14 03:57:51 +09:00
koba1t
b6128950c9
add ShlexSplit() as an alternative to shlex.Split()
2025-07-14 03:54:29 +09:00
koba1t
042a2cf177
add testcases for shlexsplit
2025-07-12 07:14:17 +09:00
totegamma
e115ba6240
fix fnplugin storagemounts validation
2025-07-10 22:08:22 +09:00
Niklas Wagner
9376a5c4b7
Propagate Namespace correctly to Helm
2025-07-08 19:24:46 +02:00
Kubernetes Prow Robot
f9ab532a4a
Merge pull request #5937 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2025-06-28 00:24:29 -07:00
koba1t
76eb28bad9
Back to development mode; unpin the modules
2025-06-28 16:13:29 +09:00
Kubernetes Prow Robot
7f30f0e23a
Merge pull request #5936 from koba1t/pinToApi
...
Update api to v0.20.0
2025-06-27 23:56:29 -07:00
koba1t
35c9d0fece
Update api to v0.20.0
2025-06-28 15:46:34 +09:00
Kubernetes Prow Robot
b1bfac465f
Merge pull request #5935 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.20.0
2025-06-27 23:40:29 -07:00
koba1t
40d1f35940
Update cmd/config to v0.20.0
2025-06-28 15:29:37 +09:00
Kubernetes Prow Robot
1a515925ab
Merge pull request #5934 from koba1t/pinToKyaml
...
Update kyaml to v0.20.0
2025-06-27 23:26:29 -07:00
koba1t
f54b2b4c59
Update kyaml to v0.20.0
2025-06-28 15:16:16 +09:00
Kubernetes Prow Robot
03ae5c93ca
Merge pull request #5846 from dmvolod/issue-5845-fix-version
...
fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag
2025-06-26 14:40:29 -07:00
Kubernetes Prow Robot
0fe722e99a
Merge pull request #5931 from dims/drop-usage-of-forked-copies-of-goyaml.v2-and-goyaml.v3
...
Drop usage of forked copies of goyaml.v2 and goyaml.v3
2025-06-25 10:58:29 -07:00
Davanum Srinivas
a7703f685c
Drop usage of forked copies of goyaml.v2 and goyaml.v3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-06-25 13:13:52 -04:00
Kubernetes Prow Robot
ba617e5126
Merge pull request #5921 from ThisIsQasim/imagevolume
...
feat: Add suport for Image Volumes
2025-06-24 14:10:28 -07:00
Kubernetes Prow Robot
755880462f
Merge pull request #5918 from kubernetes-sigs/dependabot/github_actions/joelanford/go-apidiff-0.8.3
...
build(deps): bump joelanford/go-apidiff from 0.8.2 to 0.8.3
2025-06-10 16:48:55 -07:00
Kubernetes Prow Robot
832f873855
Merge pull request #5927 from kubernetes-sigs/dependabot/go_modules/hack/github.com/cloudflare/circl-1.6.1
...
build(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 in /hack
2025-06-10 16:20:56 -07:00
dependabot[bot]
731ffd3d53
build(deps): bump github.com/cloudflare/circl in /hack
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.7 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.7...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-version: 1.6.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-10 21:23:16 +00:00
ThisIsQasim
32e82514a8
feat: Add suport for Image Volume
2025-06-02 16:22:11 +05:00
dependabot[bot]
13ed4a59f5
build(deps): bump joelanford/go-apidiff from 0.8.2 to 0.8.3
...
Bumps [joelanford/go-apidiff](https://github.com/joelanford/go-apidiff ) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/joelanford/go-apidiff/releases )
- [Commits](https://github.com/joelanford/go-apidiff/compare/v0.8.2...v0.8.3 )
---
updated-dependencies:
- dependency-name: joelanford/go-apidiff
dependency-version: 0.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-26 00:31:28 +00:00
Kubernetes Prow Robot
b7340bd369
Merge pull request #5882 from arthurbdiniz/set-git-messages-to-english-for-TestRemoteLoad_LocalProtocol
...
Set Git messages to English for TestRemoteLoad_LocalProtocol
2025-05-23 01:22:36 -07:00
Kubernetes Prow Robot
367ebb6990
Merge pull request #5888 from lcostea/master
...
chore: remove unused build arg and address warnings
2025-05-23 00:54:35 -07:00
Kubernetes Prow Robot
616c084805
Merge pull request #5865 from milkshake308/feat_helm_devel_arg
...
feat(helm): allow the use of devel alias for helmcharts
2025-05-17 12:25:16 -07:00
Kubernetes Prow Robot
dba6dee214
Merge pull request #5907 from kubernetes-sigs/dependabot/go_modules/hack/github.com/getkin/kin-openapi-0.131.0
...
build(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.131.0 in /hack
2025-05-17 12:15:13 -07:00
dependabot[bot]
009369bfc9
build(deps): bump github.com/getkin/kin-openapi in /hack
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.120.0 to 0.131.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.120.0...v0.131.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.131.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-15 16:47:35 +00:00
Kubernetes Prow Robot
65567a3733
Merge pull request #5890 from gecube/patch-2
...
fix indent in example yaml at generatorOptions.md
2025-04-28 23:37:54 -07:00
Kubernetes Prow Robot
d53c17b874
Merge pull request #5898 from tabbysable/typo-fix
...
Fix typo in documentation
2025-04-28 23:09:55 -07:00
Tabitha Sable
aa2c9ca440
Fix typo in documentation
...
Fix a typo in an example URL in the resources.md Kustomization file documentation
2025-04-28 15:23:15 -05:00
George Gaál
b201d97541
Update generatorOptions.md
...
fix indentation
2025-04-12 13:38:02 +02:00
Liviu Costea
fd97ddaca1
fix: remove unused build arg and address warnings
2025-04-07 13:18:38 +03:00
Kubernetes Prow Robot
7372f97c19
Merge pull request #5877 from tsuzu/fix-replacements-plugin-omitempty-field
...
fix: make private one field in replacements transformer struct that had a missing JSON tag
2025-04-03 01:50:37 -07:00
Tsuzu
e3f0349319
Make replacements private
2025-03-31 20:41:41 +09:00
Timur Demin
dd08aec23e
fix: Don't panic on multiple $patch: delete strategic merge patches in a single patch file ( #5859 )
...
* chore: add test for multiple $patch: delete patches not panicking
* fix: don't panic on multiple deletion SM patches
2025-03-28 06:04:40 -07:00
Kubernetes Prow Robot
2e80cebf21
Merge pull request #5630 from cunyat/feat/5516-replacement-inline-value
...
Add static value source for replacement
2025-03-28 05:54:40 -07:00
Arthur Diniz
e683487ea8
Set Git messages to English for TestRemoteLoad_LocalProtocol
...
Ensure consistent error message matching by setting LC_ALL=C in
TestRemoteLoad_LocalProtocol, preventing locale-based variations
in Git output.
Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com >
2025-03-24 23:29:37 +00:00
Kubernetes Prow Robot
53fa7285e9
Merge pull request #5881 from kubernetes-sigs/dependabot/go_modules/hack/github.com/golang-jwt/jwt/v5-5.2.2
...
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /hack
2025-03-22 13:54:31 -07:00
dependabot[bot]
61b8724e87
build(deps): bump github.com/golang-jwt/jwt/v5 in /hack
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-21 22:13:49 +00:00
Julio Chana
31b37540e3
fix: Allow patches with empty files with multiple newlines or comments ( #5771 )
...
* fix: Add test, when an empty patch file is given, it should not fail
* fix: Add code so there's no error given if an empty file is given as a patch
* chore: Generate plugin with pluginator
* chore: fix tests
Signed-off-by: Julio Chana <julio.chana@lokalise.com >
* Add t.helper() at start of test function
Signed-off-by: Julio Chana <julio.chana@lokalise.com >
---------
Signed-off-by: Julio Chana <julio.chana@lokalise.com >
2025-03-16 19:15:48 -07:00
Kubernetes Prow Robot
2643c51364
Merge pull request #5873 from skitt/clean-viper
...
Bump to github.com/spf13/viper v1.20.0
2025-03-15 11:17:47 -07:00
Stephen Kitt
6b830658d1
Bump to github.com/spf13/viper v1.20.0
...
This includes the go-difflib and go-spew reverts, which means the
corresponding exclusions can be removed. cmd/gorepomod/go.mod loses a
number of indirect dependencies thanks to the spf13/viper cleanup, but
hack/go.mod gains a few.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-03-15 17:13:59 +01:00
milkshake308
5036c077cc
fix: incorrect devel chart assertion
2025-02-23 22:33:40 +01:00
milkshake308
418f233314
feat: add test cases for helm devel
2025-02-21 01:15:33 +01:00
milkshake308
c5f69b002f
feat: add devel options for helmcharts
2025-02-21 01:13:18 +01:00
Kubernetes Prow Robot
447a60903c
Merge pull request #5765 from kundan2707/glossary_link_update
...
updated link for glossary.md
2025-02-18 19:14:26 -08:00
Kundan Kumar
06535d623a
updated link for glossary.md
2025-02-18 20:08:58 +05:30
Matthias Riegler
cc7a71c288
feat: add exec-plugin argument and environment support ( #5316 )
...
* feat: add exec-plugin argument and environment support
Previously, the documentation lead to think that this is working, but
it's not been implemented.
This PR is fixing this
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com >
* chore: disable linting for env var split
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com >
---------
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com >
2025-02-16 13:28:21 -08:00
Kubernetes Prow Robot
3be1af6798
Merge pull request #5855 from kubernetes-sigs/dependabot/go_modules/hack/github.com/golang/glog-1.2.4
...
build(deps): bump github.com/golang/glog from 1.2.0 to 1.2.4 in /hack
2025-02-02 18:40:57 -08:00
dependabot[bot]
33e9361a61
build(deps): bump github.com/golang/glog from 1.2.0 to 1.2.4 in /hack
...
Bumps [github.com/golang/glog](https://github.com/golang/glog ) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases )
- [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/golang/glog
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-28 17:38:48 +00:00
Kubernetes Prow Robot
160de8ce76
Merge pull request #5853 from stormqueen1990/patch-1
...
Step down as commands approver
2025-01-27 11:17:23 -08:00
Mauren
d339dca90c
Step down as commands approver
...
Due to reduced time available to work on Kustomize, I decided to step down from the command approver role for the time being.
2025-01-26 11:13:08 -05:00
Kubernetes Prow Robot
e4fff94c68
Merge pull request #5656 from ah8ad3/refactor-common-labels
...
Update readme to remove deprecated configuration 'commonLabels'.
2025-01-19 23:22:35 -08:00
Dmitry Volodin
9c68bd2ee2
fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag
2025-01-19 09:25:33 +03:00
Kubernetes Prow Robot
38eb24492a
Merge pull request #5847 from koba1t/dependencies/replace_to_carapace-shlex
...
replace deplecated package github.com/google/shlex with github.com/carapace-sh/carapace-shlex
2025-01-17 05:56:36 -08:00
koba1t
7664c4ba38
replace github.com/google/shlex with https://github.com/carapace-sh/carapace-shlex
2025-01-16 14:54:26 +09:00
Kubernetes Prow Robot
48686ac4a3
Merge pull request #5844 from stormqueen1990/feat/bump-deps
...
build(deps): bump golang.org/x/net from 0.28.0 to 0.33.0 in /hack
2025-01-15 18:40:34 -08:00
Mauren Berti
f03e31389d
build(deps): bump golang.org/x/net from 0.28.0 to 0.33.0 in /hack
...
Bump the golang.org/x/net dependency and synchronize the workspace using
make workspace-sync
2025-01-15 15:17:23 -05:00
Kubernetes Prow Robot
ba56dd28ca
Merge pull request #5841 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2025-01-14 07:54:33 -08:00
koba1t
821aebc3b3
Back to development mode; unpin the modules
2025-01-15 00:37:09 +09:00
Kubernetes Prow Robot
95db4aa0ed
Merge pull request #5840 from koba1t/pinToApi
...
Update api to v0.19.0
2025-01-14 07:08:34 -08:00
koba1t
07f62bd986
Update api to v0.19.0
2025-01-14 23:54:58 +09:00
Kubernetes Prow Robot
b69e76509f
Merge pull request #5839 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.19.0
2025-01-14 06:50:33 -08:00
koba1t
8a51255ea1
Update cmd/config to v0.19.0
2025-01-14 23:42:16 +09:00
Kubernetes Prow Robot
ce667b70a0
Merge pull request #5837 from koba1t/pinToKyaml
...
Update kyaml to v0.19.0
2025-01-14 06:22:33 -08:00
koba1t
1b33db58f2
Update kyaml to v0.19.0
2025-01-14 23:14:25 +09:00
yugo kobayashi
880a7a0187
add go work verification step for github actions ( #5833 )
...
* add go work verification step for github actions
* failure-example_this_commit_will_be_failed_to_check_go_work_sync
* Revert "failure-example_this_commit_will_be_failed_to_check_go_work_sync"
This reverts commit d8fd5020dc .
2025-01-07 10:58:29 -08:00
Sebastiaan van Stijn
2867f353c2
downgrade go-difflib and go-spew to tagged releases ( #5830 )
...
* workspace sync
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
* downgrade go-difflib and go-spew to tagged releases
commit d35edbf80d updated these dependencies
to untagged versions. The diff in both dependencies show that there's no
code changes, and it's unlikely for those modules to do new releases.
Unfortunate, because of that change all projects depending on kubernetes
or any of it's modules now had to upgrade to unreleased versions of
these.
This patch reverts those updates (but it may take some time before
all other projects can be reverted).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
---------
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-01-07 03:48:28 +01:00
Kubernetes Prow Robot
214aa2aae2
Merge pull request #5823 from kubernetes-sigs/dependabot/go_modules/hack/golang.org/x/crypto-0.31.0
...
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /hack
2024-12-17 13:46:53 +01:00
dependabot[bot]
6f62ee7198
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /hack
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-15 11:52:17 +00:00
Kubernetes Prow Robot
fcc95370ff
Merge pull request #5825 from dims/update-to-latest-kube-api-to-drop-govalidator-dependency
...
Update to latest kube-opeapi to drop govalidator dependency
2024-12-15 12:50:43 +01:00
Davanum Srinivas
84e6594e9b
Update golangci/golangci-lint to v1.56.2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-12-14 19:28:39 -05:00
Kubernetes Prow Robot
86af799ce0
Merge pull request #5809 from fktym/fix/add-label-without-selector
...
fix: "edit add labels" make labels handle -f flag same as commonLabels
2024-12-13 04:26:25 +01:00
Davanum Srinivas
b79c5f652d
Update to latest kube-opeapi to drop govalidator dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-12-12 18:48:06 -05:00
fktym
70e4d2e24c
fix: make labels handle -f flag same as commonLabels
2024-12-12 14:02:53 +09:00
Kubernetes Prow Robot
a8c5b10d39
Merge pull request #5810 from guettli/better-err-msg-on-undefined-loader-behavior
...
Better error message on undefined loader behavior.
2024-11-30 19:00:58 +00:00
Thomas Guettler
ae7ff36f1b
Better error message on undefined loader behavior.
2024-11-25 08:44:36 +01:00
Kubernetes Prow Robot
bb7a280709
Merge pull request #5785 from koba1t/remove_unnecesary_install_command_from_Dockerfile
...
remove unnecesary install command from Dockerfile
2024-10-10 22:04:21 +01:00
koba1t
d135197eba
remove unnecesary install command from Dockerfile
2024-10-09 23:26:16 +09:00
Kubernetes Prow Robot
4c5c585592
Merge pull request #5784 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2024-10-09 14:38:23 +01:00
koba1t
4f6e3cbe3f
Back to development mode; unpin the modules
2024-10-09 22:20:42 +09:00
Kubernetes Prow Robot
afe7793676
Merge pull request #5783 from koba1t/pinToApi
...
Update api to v0.18.0
2024-10-09 14:08:22 +01:00
koba1t
ae98655f0f
Update api to v0.18.0
2024-10-09 21:58:41 +09:00
Kubernetes Prow Robot
faccc12624
Merge pull request #5782 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.15.0
2024-10-09 13:46:23 +01:00
koba1t
fdf9f59cb5
Update cmd/config to v0.15.0
2024-10-09 21:37:00 +09:00
Kubernetes Prow Robot
e2967cf3ce
Merge pull request #5781 from koba1t/pinToKyaml
...
Update kyaml to v0.18.1
2024-10-09 13:30:23 +01:00
koba1t
d22fa37ae0
Update kyaml to v0.18.1
2024-10-09 21:20:17 +09:00
Kubernetes Prow Robot
01cce4f6cc
Merge pull request #5756 from viniciusdc/5755-kustomize-install
...
chore: add bad-credentials exception for install script
2024-09-27 03:50:01 +01:00
Kubernetes Prow Robot
54cbcdc698
Merge pull request #5770 from koba1t/add_write_permission_to_run_release_CI
...
add write permission to run release CI
2024-09-26 23:00:04 +01:00
koba1t
b36b222b26
add write permission to run release CI
2024-09-27 01:36:10 +09:00
Kubernetes Prow Robot
2cd9a2e73a
Merge pull request #5768 from dims/remove-starlark-support
...
Remove starlark support
2024-09-25 18:14:00 +01:00
Davanum Srinivas
d32eacf034
Remove starlark support
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-23 16:52:05 -04:00
Kubernetes Prow Robot
88f19bffa9
Merge pull request #5763 from koba1t/update_go_1.22.7
...
Update go 1.22.7
2024-09-16 05:41:13 +01:00
koba1t
a3c0b4add7
disable for a step to skip test when that is docs PR
2024-09-15 01:56:28 +09:00
koba1t
b67ce5bb73
go work sync && ./hack/doGoMod.sh tidy
2024-09-15 01:43:03 +09:00
koba1t
5ba8523df7
update go 1.22.7
2024-09-15 01:40:50 +09:00
Isar_NS
4034e36ee1
Add --helm-debug Flag to Kustomize for Enhanced Helm Debugging ( #5751 )
...
* feat: add helm-debug flag
* revert: go.work.sum
* test: add helm chart args helm-debug test
* test: helm debug flag
* refactor: helm debug output
* style: linting
* revert: go.work.sum
2024-09-12 23:43:12 +01:00
Kubernetes Prow Robot
c3872ce3d9
Merge pull request #5745 from isarns/master
...
Add Annotation to Control Inline List Conversion in Kustomize Resources"
2024-09-12 18:57:13 +01:00
Kubernetes Prow Robot
d35d21c2d0
Merge pull request #5760 from Kavinjsir/patch-docs
...
Docs: fix kubectl command
2024-09-10 11:39:57 +01:00
Vinicius D. Cerutti
3872752338
chore: add bad-credentials exception for install script
...
* fix typo at closing if statement
2024-09-09 13:08:41 -03:00
isarns
a5f43ec75a
style: linting
2024-09-09 13:26:53 +03:00
isarns
e6266d4559
refactor: fix test with not 'items:'
2024-09-09 13:26:33 +03:00
Tony Jin
99efd6995a
docs: fix kubectl command
2024-09-06 15:05:07 -07:00
ah8ad3
5ef10d35ee
Update readme to remove deprecated configuration 'commonLabels'.
2024-09-04 18:55:00 +03:30
Daniel Wilson
b7cdd9168a
Sort built-in Namespace kind before CRDs with the same name ( #5458 )
...
* add core api sort priority for NAmespace kind in gvkLessThan
* fix logic
* fix syntax
* fix syntax
* fix logic
* regenerate builtin plugins
2024-09-03 21:57:17 +01:00
Kubernetes Prow Robot
27d508fa03
Merge pull request #5716 from VannTen/cleanup/wrong_example_config_gen
...
Remove misleading documentation about config generation
2024-08-29 18:01:30 +01:00
Max Gautier
05339dafe5
Remove misleading documentation about config generation
...
ConfigMap are not garbage collected, see #3146
2024-08-26 15:00:45 +02:00
isarns
bbb0b08576
test: add empty list test
2024-08-18 14:56:54 +03:00
isarns
77daec89b8
refactor: inlineAnyEmbeddedLists
2024-08-13 14:35:46 +03:00
isarns
a1fd6efe5d
feat: annotation to disable list conversion
2024-08-11 17:44:44 +03:00
Ramon Cunyat
6c27970019
Add static value source for replacement
...
Introduces `sourceValue` on replacement object for replacing from a
static value instead of sourcing from another object.
Solves #5516
2024-07-25 14:32:54 +02:00
John Zheng
cc9dd34216
docs: update patchMultipleObject example to filter with labelSelector ( #5700 )
...
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
* Update patchMultipleObjects.md
2024-07-23 15:02:40 -07:00
Kubernetes Prow Robot
2aaa42f950
Merge pull request #5737 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2024-07-19 10:09:37 -07:00
koba1t
f660160a0f
Back to development mode; unpin the modules
2024-07-20 01:57:28 +09:00
Varsha
d4248b1213
Merge pull request #5736 from koba1t/pinToApi
...
Update api to v0.17.3
2024-07-19 09:34:19 -07:00
koba1t
bd8b8a49c9
Update api to v0.17.3
2024-07-20 01:14:03 +09:00
Kubernetes Prow Robot
ddeb572a7f
Merge pull request #5735 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.14.2
2024-07-19 09:07:22 -07:00
koba1t
36d78f67fd
Update cmd/config to v0.14.2
2024-07-20 00:55:30 +09:00
Kubernetes Prow Robot
4e52632bd3
Merge pull request #5734 from koba1t/pinToKyaml
...
Update kyaml to v0.17.2
2024-07-19 08:50:48 -07:00
koba1t
8eacab0fc6
Update kyaml to v0.17.2
2024-07-20 00:28:06 +09:00
Kubernetes Prow Robot
1a41303fbb
Merge pull request #5628 from antoooks/release-helper-script
...
Release helper script
2024-07-16 10:53:06 -07:00
Dennis Zhou
7cbaf78b1a
fix:kustomize cfg grep with no arguments causes panic ( #5707 )
...
* fix:kustomize cfg grep with no arguments causes panic
* add test for kustomize cfg grep with no arguments
2024-07-10 00:46:40 -07:00
Kubernetes Prow Robot
735ad0beef
Merge pull request #5682 from kozjan/add-label-include-templates
...
fix: include label in templates when adding by cli
2024-07-10 00:46:33 -07:00
Kubernetes Prow Robot
c1de0301f5
Merge pull request #5413 from crenshaw-dev/patch-1
...
chore(docs): fix grammar error in comment
2024-06-30 11:45:02 -07:00
Kubernetes Prow Robot
5cfd3ab3e7
Merge pull request #5725 from kubernetes-sigs/dependabot/go_modules/hack/golang.org/x/image-0.18.0
...
build(deps): bump golang.org/x/image from 0.13.0 to 0.18.0 in /hack
2024-06-27 07:47:18 -07:00
dependabot[bot]
dfb30644f4
build(deps): bump golang.org/x/image from 0.13.0 to 0.18.0 in /hack
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.13.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.13.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-26 19:38:08 +00:00
Kubernetes Prow Robot
e3a7615ccb
Merge pull request #5506 from cloud-native-team/master
...
fix some comments
2024-06-18 12:37:52 -07:00
Kubernetes Prow Robot
b02d02a6cd
Merge pull request #5715 from kubernetes-sigs/dependabot/go_modules/hack/github.com/Azure/azure-sdk-for-go/sdk/azidentity-1.6.0
...
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.3.0 to 1.6.0 in /hack
2024-06-18 12:20:28 -07:00
Kubernetes Prow Robot
804f69bacf
Merge pull request #5719 from kubernetes-sigs/dependabot/npm_and_yarn/site/braces-3.0.3
...
build(deps-dev): bump braces from 3.0.2 to 3.0.3 in /site
2024-06-18 10:11:10 -07:00
dependabot[bot]
9ab7762a40
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ) from 1.3.0 to 1.6.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.3.0...sdk/azcore/v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 22:01:15 +00:00
dependabot[bot]
44a99b7284
build(deps-dev): bump braces from 3.0.2 to 3.0.3 in /site
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 21:47:44 +00:00
Kubernetes Prow Robot
692b40e515
Merge pull request #5718 from koba1t/chore/fix_lint_error_in_kustomizationfile_test.go
...
fix lint error in kustomizationfile_test.go
2024-06-17 14:46:47 -07:00
koba1t
bef46a1a04
fix lint error in kustomizationfile_test.go
2024-06-18 06:33:57 +09:00
Kubernetes Prow Robot
48d79c745a
Merge pull request #5691 from karlkfi/karl-cockroachdb-pin-version
...
Pin kustomize image in cockroachdb example
2024-06-12 09:39:45 -07:00
Kubernetes Prow Robot
856662835f
Merge pull request #5698 from stormqueen1990/fix/validation-name-reference
...
fix(namereference): add configuration for new admission API
2024-06-08 01:42:58 -07:00
jan.kozlowski
cba3688960
add validation and test case
2024-06-06 14:01:49 +02:00
Oliver F
16a7ce2b8b
Fix sortOptions removal when running edit command ( #5689 )
...
* Fix sortOptions and Validators removal when running edit command
* fixed linting
2024-06-04 20:26:41 -07:00
Kubernetes Prow Robot
92e862c233
Merge pull request #5544 from sanaasy/sanaasy/add-no-verify-flag
...
Run kustomize build with kustomize localize and add a no-verify flag.
2024-06-04 20:10:20 -07:00
Sanaa Syed
8db4c4b062
Fix lint error message adn reduce build error message to a string concatination.
2024-06-03 22:22:03 -04:00
Kubernetes Prow Robot
cb432b0350
Merge pull request #5699 from stormqueen1990/chore/deprecation-common-labels
...
chore: add deprecation comment to commonLabels
2024-05-27 15:15:20 -07:00
Colin O'Dell
88c89f422a
fix: always show accumulation errors ( #5693 )
...
* fix: always show accumulation errors if the resource was successfully loaded as a base
* chore: regression test
* chore: fix lint violations
2024-05-24 20:13:10 -07:00
Kubernetes Prow Robot
ce80dc9e2b
Merge pull request #5705 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2024-05-22 08:48:38 -07:00
koba1t
226d56b5cf
Back to development mode; unpin the modules
2024-05-23 00:35:50 +09:00
Kubernetes Prow Robot
f309dfc54a
Merge pull request #5704 from koba1t/pinToApi
...
Update api to v0.17.2
2024-05-22 08:16:59 -07:00
koba1t
a34ac31a80
Update api to v0.17.2
2024-05-23 00:04:13 +09:00
Kubernetes Prow Robot
9cc25a511c
Merge pull request #5703 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.14.1
2024-05-22 07:53:44 -07:00
koba1t
f6ad718ee6
Update cmd/config to v0.14.1
2024-05-22 23:41:07 +09:00
Kubernetes Prow Robot
da14e76359
Merge pull request #5702 from koba1t/pinToKyaml
...
Update kyaml to v0.17.1
2024-05-22 07:37:54 -07:00
koba1t
7424956ccf
Update kyaml to v0.17.1
2024-05-22 23:24:23 +09:00
Mauren Berti
77354d73b9
chore: add deprecation comment to commonLabels
...
`commonLabels` is deprecated, but the field did not have a deprecation comment,
like other fields do. Add the deprecation comment, as some IDEs use that as a
guideline to show a strikethrough in the field names (and to follow the pattern
of other deprecated fields).
2024-05-19 21:07:00 -04:00
Mauren Berti
3065eb36dd
fix(namereference): add configuration for new admission API
...
Include configuration for the new `ValidatingAdmissionPolicy` and
`ValidationAdmissionPolicyBinding` APIs so that Kustomize can natively configure
the `policyName` field in `ValidatingAdmissionPolicyBinding` with the transformed
name of `ValidatingAdmissionPolicy`.
2024-05-19 20:58:03 -04:00
Sanaa Syed
b67959894e
Add --no-verify flag configs along with kustomize build when kustomize localize command is run.
2024-05-15 23:45:29 -04:00
Karl Isenberg
6a829feef8
Pin kustomize image in cockroachdb example
...
- Pin to v5.4.1 with sha256 as example of how to ensure supply-chain
security. Pulling the latest kustomize image or source is insecure
without checksum validation.
- Bump example image tag to v0.1.1
2024-05-06 11:02:20 -07:00
Kubernetes Prow Robot
e244b83844
Merge pull request #5688 from emirot/refactor/indexOf
...
refactor: function in stdlib now
2024-05-05 19:38:34 -07:00
emirot
f9838461af
refactor: function in stdlib now
...
Signed-off-by: emirot <emirot.nolan@gmail.com >
2024-05-03 22:45:56 +02:00
Kubernetes Prow Robot
49a645f05d
Merge pull request #5294 from typeid/localize_absolute_paths
...
feat: localize absolute paths
2024-04-29 22:11:47 -07:00
Tiago Silva
e7a15496dd
fix: use fmt.Errorf instead of non-existing errors.New ( #5651 )
...
* fix: use fmt.Errorf ubstead if non-exising `errors.New`
When https://github.com/kubernetes-sigs/kustomize/pull/5525 merged, it
referenced `errors.New` function but that function doesn't exist.
This PR replaces the call with simple `fmt.Errorf`.
* Add lint check with kustomize_disable_go_plugin_support
* move lint-api-static to /api/Makefile
* clean golangci cache
2024-04-29 18:22:26 -07:00
Kubernetes Prow Robot
0d7d830236
Merge pull request #5681 from emirot/remove-string-in-slice
...
chore: remove unused function
2024-04-28 23:59:56 -07:00
Kubernetes Prow Robot
e676d056b2
Merge pull request #5500 from charles-chenzz/kust-target-tc
...
add testcase that check yield malformed yaml errors
2024-04-28 23:45:18 -07:00
Kurnianto Trilaksono
b1a9bffd8b
Update CONTRIBUTING.md
...
- change breaking change notes
Co-authored-by: Mauren <698465+stormqueen1990@users.noreply.github.com >
2024-04-28 23:28:48 +07:00
jan.kozlowski
a83f102cc9
fix: include label in templates when adding by cli
2024-04-26 23:21:51 +02:00
emirot
0e649599d0
chore: remove unused function
...
Signed-off-by: emirot <emirot.nolan@gmail.com >
2024-04-26 16:32:00 +01:00
Kubernetes Prow Robot
a68f40738a
Merge pull request #5680 from koba1t/chore/restore_version_for_govalidator
...
chore: restore version for github.com/asaskevich/govalidator
2024-04-25 08:20:51 -07:00
koba1t
72d95b5f41
chore: restore version for github.com/asaskevich/govalidator
2024-04-25 17:21:05 +09:00
Mauren
671de1662d
feat: support labels key in transformer configuration ( #5556 )
...
* feat: support labels key in transformer configuration
Allow the usage of a separate transformer configuration for the labels key,
similar to what is currently available for commonLabels and commonAnnotations.
This aims to provide the same functionality that commonLabels currently provide
for labels, since commonLabels is deprecated and slated for removal in a future
release.
* chore(transformerconfig): add nolint hint
Add a nolint hint to the new method so the returns can stay consistent with
one another.
* fix: changes from code review
* Rename methods `AddCommonLabelFieldSpec` and `AddLabelFieldSpec` to
`AddCommonLabelsFieldSpec` and `AddLabelsFieldSpec`.
* Add extra test to verify scenarios applying labels to Custom Resource Definitions.
2024-04-25 00:40:44 -07:00
Kurnianto Trilaksono
25c7e17fb8
add pr rules, fix script
2024-04-24 20:30:34 +08:00
Kubernetes Prow Robot
2e6171a9ea
Merge pull request #5671 from emirot/refactor/string_inSlice
...
refactor: string in slice is now part of stdlib
2024-04-23 04:36:33 -07:00
Kubernetes Prow Robot
7f99cebdc6
Merge pull request #5672 from stormqueen1990/chore/bump-deps
...
chore(deps): bump dependencies of kustomize + sync go workspace
2024-04-22 20:01:27 -07:00
Mauren Berti
5d127e4138
chore(deps): bump dependencies of kustomize + sync go workspace
...
* Bump the golang.org/x dependencies.
* Run `go work sync` to synchronize dependencies across Go workspaces.
2024-04-21 20:03:38 -04:00
nolan emirot
bcb1a367aa
refactor: string in slice part of stdlib now
...
Signed-off-by: emirot <nolan.emirot@workday.com >
2024-04-20 18:48:40 -04:00
Yusuke Abe
ed09399cd1
fix: return error instead of log.Fatalf() ( #5625 )
...
* fix: return error instead of log.Fatalf()
* chore: add meaningful message to error output
* chore: add meaningful message to fatal function
2024-04-18 03:56:51 -07:00
Kubernetes Prow Robot
82ee768212
Merge pull request #5079 from chlunde/perf-1
...
perf: improve applyOrdering by avoid call to GetByCurrentId
2024-04-06 10:14:25 -07:00
Kubernetes Prow Robot
116b307b88
Merge pull request #5646 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2024-04-04 10:38:23 -07:00
koba1t
fb9f45ebe0
Back to development mode; unpin the modules
2024-04-05 02:24:31 +09:00
Kubernetes Prow Robot
536c1c0a8b
Merge pull request #5645 from koba1t/pinToApi
...
Update api to v0.17.1
2024-04-04 10:11:54 -07:00
koba1t
e20e438d05
Update api to v0.17.1
2024-04-05 02:01:10 +09:00
Kubernetes Prow Robot
42873c8d2a
Merge pull request #5644 from koba1t/fix/version_subcommand_is_broken
...
fix version subcommand is not working after release build
2024-04-04 09:53:40 -07:00
koba1t
277da9ed21
fix version subcommand is not working after release build
2024-04-05 01:37:31 +09:00
Kubernetes Prow Robot
2b00d887fd
Merge pull request #5643 from koba1t/unpinEverything
...
unpin api
2024-04-04 08:57:57 -07:00
koba1t
08d0593c3e
unpin api
2024-04-05 00:45:41 +09:00
Kubernetes Prow Robot
31706fd7fd
Merge pull request #5641 from koba1t/pinToApi
...
Update api to v0.17.0
2024-04-04 07:06:03 -07:00
koba1t
e862612703
Update api to v0.17.0
2024-04-04 22:45:14 +09:00
Kubernetes Prow Robot
1b449768b5
Merge pull request #5640 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.14.0
2024-04-04 06:38:36 -07:00
koba1t
a9f7a0427a
Update cmd/config to v0.14.0
2024-04-04 22:25:14 +09:00
Kubernetes Prow Robot
cd954ce6fe
Merge pull request #5639 from koba1t/pinToKyaml
...
Update kyaml to v0.17.0
2024-04-04 06:20:23 -07:00
koba1t
10c292f501
Update kyaml to v0.17.0
2024-04-04 21:59:50 +09:00
Kubernetes Prow Robot
a9bfabc771
Merge pull request #5637 from karlkfi/karl-fix-generate
...
Fix gorepomod make test
2024-04-04 03:13:42 -07:00
Kubernetes Prow Robot
398aa3666f
Merge pull request #5638 from kubernetes-sigs/dependabot/go_modules/hack/github.com/cloudflare/circl-1.3.7
...
build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 in /hack
2024-04-04 02:51:07 -07:00
Kubernetes Prow Robot
8f2d2436ec
Merge pull request #5634 from kubernetes-sigs/dependabot/go_modules/hack/github.com/cli/cli-1.2.1
...
build(deps): bump github.com/cli/cli from 0.6.0 to 1.2.1 in /hack
2024-04-04 02:34:01 -07:00
dependabot[bot]
fd06780f3e
build(deps): bump github.com/cloudflare/circl in /hack
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-04 09:12:28 +00:00
dependabot[bot]
562cbc132d
build(deps): bump github.com/cli/cli from 0.6.0 to 1.2.1 in /hack
...
Bumps [github.com/cli/cli](https://github.com/cli/cli ) from 0.6.0 to 1.2.1.
- [Release notes](https://github.com/cli/cli/releases )
- [Changelog](https://github.com/cli/cli/blob/trunk/.goreleaser.yml )
- [Commits](https://github.com/cli/cli/compare/v0.6.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/cli/cli
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-04 09:10:54 +00:00
Kubernetes Prow Robot
d5f3c4fad9
Merge pull request #5635 from kubernetes-sigs/dependabot/go_modules/hack/github.com/go-git/go-git/v5-5.11.0
...
build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0 in /hack
2024-04-04 02:09:43 -07:00
Kubernetes Prow Robot
f1599f6498
Merge pull request #5633 from kubernetes-sigs/dependabot/go_modules/hack/github.com/microcosm-cc/bluemonday-1.0.26
...
build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.26 in /hack
2024-04-04 02:09:36 -07:00
Kubernetes Prow Robot
c0b3801c7a
Merge pull request #5636 from karlkfi/karl-site-pin-version
...
Update site/Dockerfile to use pinned hugo version
2024-04-04 01:21:35 -07:00
Kubernetes Prow Robot
f0681429ea
Merge pull request #5629 from jakezhu9/favicons
...
add favicons for kustomize site
2024-04-03 08:38:07 -07:00
Karl Isenberg
a6bbbe843c
Fix gorepomod make test
2024-04-02 17:59:22 -07:00
Karl Isenberg
2c68a4d2d4
Update site/Dockerfile to use pinned hugo version
...
Version pinned in hack/go.mod.
Use `make tools` to update the pinned version to match netlify.toml
2024-04-02 14:26:31 -07:00
Jonathan King
b3d1df2644
Fix name in a configMapRef missing hash #5047 ( #5236 )
...
* Add regression tests
* Update PrefixesSuffixesEquals function
* Try empty prefix/suffix but fall back on duplicates
* Run gofmt
* Remove newline
* Revert unnecessary gofmt change
* Add comment
2024-04-02 12:44:11 -07:00
dependabot[bot]
8d21d43cf7
build(deps): bump github.com/go-git/go-git/v5 in /hack
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.4.2 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.4.2...v5.11.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-02 19:35:31 +00:00
dependabot[bot]
eabf2d41d3
build(deps): bump github.com/microcosm-cc/bluemonday in /hack
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.2 to 1.0.26.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.2...v1.0.26 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-02 19:35:20 +00:00
Karl Isenberg
ed2ca23400
Pin tool versions with hack/go.mod ( #5622 )
...
* Pin tool versions with hack/go.mod
This change centralizes the tracking of versions for tools used for
development and testing. This way, the tools and all their
dependencies have their checksums stored in hack/go.sum, which
improves supply chain security.
* Workspace Sync & Tidy
2024-04-02 12:34:13 -07:00
Kurnianto Trilaksono
63329d175a
fix logic and add license
2024-03-29 16:49:10 +08:00
jakezhu9
6145a4be44
add favicons for kustomize site
2024-03-28 03:23:09 +00:00
Kubernetes Prow Robot
8fef99fa35
Merge pull request #5542 from ephesused/issue5540
...
fix: improve accumulation failure message
2024-03-27 10:32:54 -07:00
Kurnianto Trilaksono
f63e919e3e
revert untouched file
2024-03-28 00:01:40 +08:00
Kurnianto Trilaksono
3d840a6584
revert untouched files
2024-03-27 23:56:57 +08:00
Kubernetes Prow Robot
a6149b1c88
Merge pull request #5627 from koba1t/remove_klog/v1_dependencies
...
Remove klog/v1 dependencies
2024-03-27 08:46:54 -07:00
koba1t
91b92b52c1
remove klog/v1 dependencies due to that is in the unwanted dependencies in k/k
2024-03-28 00:30:27 +09:00
Kubernetes Prow Robot
d7e60b8451
Merge pull request #5624 from karlkfi/karl-example-500
...
Use a local test server instead of example.com
2024-03-27 08:28:55 -07:00
Kurnianto Trilaksono
846d3c09eb
fix logic
2024-03-27 00:16:03 +08:00
Kurnianto Trilaksono
fbc102dbd3
add change counter
2024-03-27 00:15:00 +08:00
Kurnianto Trilaksono
a7de0cc8cd
edit printout
2024-03-27 00:11:53 +08:00
Kurnianto Trilaksono
931f924189
add helper script for releasing
2024-03-24 15:22:04 +08:00
Nick
50dc813731
Add buildMetadata task and ref ( #5511 )
...
* Add buildMetadata task and ref
Move build metadata tasks, draft buildMetadata reference
Clean up buildMetadata ref
Add managed by label task
Add local non-generated task
Add local generated resource
Add remote generator task
Clean up tasks and ref
Add local transformer annotation example
Add local and remote transformer example
* Address PR feedback and general cleanup
cherrypick updates from feature branch
fix script
fix release script
2024-03-24 14:50:19 +08:00
Karl Isenberg
9db92fd28d
Use a local test server instead of example.com
2024-03-21 13:14:12 -07:00
Kubernetes Prow Robot
d514df3db0
Merge pull request #5621 from karlkfi/karl-require-assert
...
Use require for Error and NoError
2024-03-21 02:42:00 -07:00
Kubernetes Prow Robot
22ce9c02bf
Merge pull request #5620 from karlkfi/karl-fix-lint
...
Disable abandoned/archived linters
2024-03-21 01:39:22 -07:00
Karl Isenberg
43868688d5
Use require for Error and NoError
...
Assert keeps going after failure, but require immediately fails
the tests, making it easier to find the output related to the test
failure, rather than having to comb through a bunch of subsequent
assertion failures. For equality tests, we may or may not want to
continue, but for error checks we almost always want to immediately
fail the test. Exceptions can be changed as-needed.
2024-03-20 13:19:18 -07:00
Karl Isenberg
434a55a244
Disable abandoned/archived linters
...
This reduces the warnings printed when running `make lint`
2024-03-20 13:04:35 -07:00
Kubernetes Prow Robot
a6ea3e2bb6
Merge pull request #5567 from koba1t/remove_exp_slices_dependencies
...
fix 'golang.org/x/exp/slices' dependencies
2024-03-20 10:35:33 -07:00
koba1t
72f0a3cfb1
remove deprecated 'golang.org/x/exp/slices' dependencies
2024-03-21 02:12:15 +09:00
Kubernetes Prow Robot
1eccd8f4b7
Merge pull request #5555 from karlkfi/karl-go-121
...
chore: Update to Go v1.21
2024-03-20 10:05:07 -07:00
Karl Isenberg
4dbc0d22e1
chore: Update to Go v1.21
...
- go mod tidy (all modules)
- go work sync
- Fixed plugin generation for Go 1.21
- Updated linting for Go 1.21
- Fixed minecraft example for Helm v3 pull download path
- Update dev docs to mention Go 1.21
- Regenerate plugins with Go 1.21
2024-03-15 11:47:44 -07:00
Kubernetes Prow Robot
e9fc57abd6
Merge pull request #5615 from koba1t/update_dependencies_google.golang.org/protobuf_to_v1.33.0
...
update dependencies google.golang.org/protobuf@v1.33 .0
2024-03-14 06:23:08 -07:00
koba1t
d35edbf80d
update dependencies google.golang.org/protobuf@v1.33.0
2024-03-14 17:27:48 +09:00
Kubernetes Prow Robot
da3985c284
Merge pull request #5519 from matthewhughes934/fix-null-strings-after-multiple-patches
...
Fix null YAML values being replaced by `"null"`
2024-03-12 08:40:24 -07:00
Ed Overton
14a9a9849f
test: correct lint issues
2024-03-11 15:16:11 -04:00
Matthew Hughes
8aafbacd17
Fix null YAML values being replaced by "null"
...
Related issues:
* https://github.com/kubernetes-sigs/kustomize/issues/5031
* https://github.com/kubernetes-sigs/kustomize/issues/5171
After noting this behaviour was not present in
d89b448c74 a `git bisect` pointed to the
change 1b7db20504 . The issue with that
change is that upon seeing a `null` node it would replace it with a node
whose value was equivalent but without a `!!null` tag. This meant that
one application of a patch would have the desired approach: the result
would be `null` in the output, but on a second application of a similar
patch the field would be rendered as `"null"`.
To avoid this, define a new attribute on `RNode`s that is checked before
clearing any node we should keep. The added
`TestApplySmPatch_Idempotency` test verifies this behaviour.
See also https://github.com/kubernetes-sigs/kustomize/pull/5365 for an
alternative approach
2024-03-09 17:31:35 +00:00
Ed Overton
4da880d6cb
Merge remote-tracking branch 'origin/master' into issue5540
2024-03-08 14:48:51 -05:00
Ed Overton
62eca858f3
test: add test for issue 5440
2024-03-08 14:33:09 -05:00
Kubernetes Prow Robot
11704312be
Merge pull request #5551 from colinodell/patch-1
...
Improve framework documentation
2024-03-06 14:14:54 -08:00
Kubernetes Prow Robot
74ba2fb141
Merge pull request #5387 from Crystalix007/master
...
fix: show CronJob properties
2024-03-06 13:51:17 -08:00
Colin O'Dell
cc410bc23a
Update the example to match what kustomize fn expects
2024-03-05 17:31:38 -05:00
Colin O'Dell
2252fd951a
Fix lint violations
2024-03-05 17:26:35 -05:00
Tiago Silva
33caee50cb
Allow importing kustomize API's without relying on plugins ( #5525 )
...
* Allow importing kustomize API's without relying on `plugins`
Introduce `kustomize_disable_go_plugin_support` go build tag to decouple the kustomize
API from the `plugins` package dependency. This is advantageous for applications
embedding the kusstomize API without the need for dynamic Go plugins, mitigating an
increase in binary size associated with the inclusion of the plugins dependency
and the population of ELF sections like `.dynsym` and `.dynstr`.
The flag provides applications with the flexibility to exclude the import, catering to
scenarios where dynamic Go plugin support is unnecessary.
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com >
* fix golint by disabling some lint checks
* handle code review suggestions
---------
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com >
2024-02-27 08:22:51 -08:00
Kubernetes Prow Robot
28ef9da0d9
Merge pull request #5545 from kubernetes-sigs/dependabot/github_actions/dorny/paths-filter-3
...
build(deps): bump dorny/paths-filter from 2 to 3
2024-02-27 08:10:19 -08:00
Kubernetes Prow Robot
db2240c9c1
Merge pull request #5541 from skitt/canonical-json-patch
...
Use canonical json-patch v4 import
2024-02-27 08:10:10 -08:00
Nick
d3329453a2
Add kustomization and transformer references ( #5523 )
...
* Add fields to kustomization file ref
* Address grammar feedback.
* labels.fields
2024-02-26 10:25:24 -08:00
Kubernetes Prow Robot
6ffcc08591
Merge pull request #5201 from danistrebel/fix/examples-patches
...
fix(examples): move examples from patchesStrategicMerge to patches
2024-02-25 12:36:03 -08:00
Colin O'Dell
facabded61
Fix other command reference
2024-02-23 11:16:15 -05:00
Colin O'Dell
9d66eb16c8
Add import statements to help users get up-and-running faster
2024-02-23 11:14:16 -05:00
Colin O'Dell
6088692165
Fix incorrect command name
2024-02-23 11:12:00 -05:00
Kubernetes Prow Robot
9e68399e04
Merge pull request #5550 from koba1t/use_StrictUnmarshal_for_read_TransformerConfig
...
use Strict unmarshal when read TransformerConfig
2024-02-21 17:21:49 -08:00
Colin O'Dell
e25f99ee02
Fix broken example
2024-02-21 16:56:03 -05:00
koba1t
37715863f0
use Strict unmarshal when read TransformerConfig
2024-02-22 05:39:55 +09:00
Kubernetes Prow Robot
3e69c2e36a
Merge pull request #5510 from andreaskaris/kustomize-env-var-max-length
...
Skip KUSTOMIZE_PLUGIN_CONFIG_* env variables when too large
2024-02-21 09:35:01 -08:00
Andreas Karis
17eab513e9
Skip KUSTOMIZE_PLUGIN_CONFIG_* env variables when too large
...
Kustomize sets the legacy KUSTOMIZE_PLUGIN_CONFIG_STRING and
KUSTOMIZE_PLUGIN_CONFIG_ROOT environment variables. When these
environment variables exceed a hardcoded length (PAGE_SIZE * 32 on most
Linux systems), the kernel will return `argument list too long`. Given
that the environment variables are legacy, log a warning and do not set
them if they exceed 131071 bytes.
Reported-at: https://github.com/kubernetes-sigs/kustomize/issues/5480
Signed-off-by: Andreas Karis <ak.karis@gmail.com >
2024-02-21 17:36:09 +01:00
Kubernetes Prow Robot
800e12b5ae
Merge pull request #5539 from dhaiducek/plugin-errmsg
...
Include exec plugin `stderr` with wrapped error
2024-02-19 17:45:08 -08:00
dependabot[bot]
96c6bbad2c
build(deps): bump dorny/paths-filter from 2 to 3
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-19 19:59:25 +00:00
Kubernetes Prow Robot
1fa02e729d
Merge pull request #5546 from kubernetes-sigs/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 3 to 4
2024-02-19 11:58:51 -08:00
dependabot[bot]
f93b0ead3c
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-19 01:09:56 +00:00
Ed Overton
f80650e8ce
fix: improve accumulation failure message
...
For accumulation errors when the file load fails due to malformed
YAML and the base load fails due to a timeout, report both errors.
Previously only the malformed YAML error was returned, masking the
git repo timeout.
2024-02-16 12:47:02 -05:00
Stephen Kitt
bcf100f592
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-02-16 12:23:04 +01:00
Dale Haiducek
9546529f1d
Include plugin stderr with wrapped error
...
This allows plugins to provide more details aside
from just `exit status 1` inside the error
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com >
2024-02-15 09:48:21 -05:00
Kubernetes Prow Robot
91ccf00ac8
Merge pull request #5533 from karlkfi/karl-version
...
chore: add hack/latest_version.sh
2024-02-14 12:08:33 -08:00
Kubernetes Prow Robot
f8f4203fb7
Merge pull request #5528 from Phillipdk/patch-1
...
Remove typo in documentation
2024-02-14 08:18:23 -08:00
Kubernetes Prow Robot
537c4fa5c2
Merge pull request #5438 from sarab97/act-skip-cond
...
Add condtional checks on jobs to skip on document changes.
2024-02-13 09:52:02 -08:00
Karl Isenberg
dc7ebef925
chore: add hack/latest_version.sh
...
Add script to lookup component version from github releases.
To sort, we're using sort -V or --version-sort, depending which
option is available. This which has some limitations:
- pre-releases (-) are sorted as post-releases
- post-releases and build metadata (+) are ignored
This is the best option available for SemVer sorting without
requiring the user to install additional depedencies, like nodejs.
2024-02-12 12:32:48 -08:00
Kubernetes Prow Robot
b154361c00
Merge pull request #5467 from stormqueen1990/feat/edit-set-secret
...
feat: edit set secret
2024-02-07 23:36:25 -08:00
Mauren Berti
3bb9a6d414
fix: update long description as per code review request
2024-02-06 21:12:39 -05:00
Mauren Berti
14c091aec7
fix: remove excessive quoting from error messages
2024-02-06 21:12:38 -05:00
Mauren Berti
6c1fea79ed
chore: add failure test case for empty generator
2024-02-06 21:12:37 -05:00
Mauren Berti
ca8d629230
chore: update help to include bit about default namespace
...
Add a blurb to the help output for both 'edit set configmap' and 'edit set secret'
to clarify that whenever a namespace is not specified, the default namespace is
implicitly defined as part of the commands.
2024-02-06 21:12:36 -05:00
Mauren Berti
fd09a6ed50
chore: changes from code review
...
Remove error checks from the utility function and bubble them up instead.
2024-02-06 21:12:35 -05:00
Mauren Berti
23fbdd2ab5
chore: fix spacing in added description
2024-02-06 21:12:34 -05:00
Mauren Berti
27a8ff9d23
feat: edit set secret
...
* Add new functionality to allow editing a secret in a kustomization file. Initial
implementation supports only --from-literal option.
* Refactor edit set configmap to reuse some testing bits.
2024-02-06 21:12:33 -05:00
Kubernetes Prow Robot
cf01ceb2f6
Merge pull request #5529 from karlkfi/karl-pin-site-deps
...
chore: pin dev deps in the dev container
2024-02-06 17:28:10 -08:00
Karl Isenberg
3bd9ea8ee7
chore: pin dev deps in the dev container
...
Copy package.json and package-lock.json into the site dev container
and use them to pin the versions and checksums for autoprefixer,
postcss-cli, and their dependencies.
This should help reduce risk of importing newer dependency versions
that haven't passed vulnerability checks.
2024-02-05 11:02:43 -08:00
Phillipdk
d223b9d55e
Removed a typo in documentation
2024-02-05 08:37:23 +01:00
Kubernetes Prow Robot
31b852c7bc
Merge pull request #5411 from sylr/complete-load-restrictor
...
Add --load-restrictor completion
2024-02-01 11:45:03 -08:00
Nick
add367bf2e
Fix running docs site with docker ( #5512 )
...
* Update docs site local build
Clean up makefile
Ignore container-image.sentinel
Fix hugo server errors
Ignore files
Add makefile credit
* Indentation per feedback
* Address PR feedback. Remove sentinel file
* Remove change to .gitignore
2024-01-31 14:54:03 -08:00
Kubernetes Prow Robot
b1b61ad4cf
Merge pull request #5044 from krzysiekg/fix-empty-map-merge
...
Remove non-essential dependency `imdario/mergo`
2024-01-31 10:03:00 -08:00
Krzysztof Gibuła
d73f0fd097
add test for values merge replace
2024-01-29 22:06:36 +01:00
Krzysztof Gibuła
bf286dce76
wrap errors and add comments
2024-01-29 22:06:36 +01:00
Krzysztof Gibuła
d768fc371c
replace mergo with kyaml/yaml/merge2
2024-01-29 22:06:36 +01:00
Kubernetes Prow Robot
7e392f9117
Merge pull request #5521 from koba1t/add_license_for_api/pkg/util/image.go
...
add license for api/pkg/util/image.go
2024-01-29 06:35:11 -08:00
koba1t
4675bec08a
add license for api/pkg/util/image/go
2024-01-29 23:18:51 +09:00
Nick
26165a86b7
Add buildMetadata task and ref ( #5511 )
...
* Add buildMetadata task and ref
Move build metadata tasks, draft buildMetadata reference
Clean up buildMetadata ref
Add managed by label task
Add local non-generated task
Add local generated resource
Add remote generator task
Clean up tasks and ref
Add local transformer annotation example
Add local and remote transformer example
* Address PR feedback and general cleanup
2024-01-27 00:12:39 +01:00
Kubernetes Prow Robot
69826668a7
Merge pull request #5234 from blackjid/bug_fix_set_image_digest_and_tag
...
fix edit set image to parse both tag and digest
2024-01-26 21:03:52 +01:00
Juan Ignacio Donoso
a85dfd4141
fix edit set image to parse both tag and digest
2024-01-26 16:30:41 -03:00
Kubernetes Prow Robot
abdcae870c
Merge pull request #5463 from chansuke/feat/show-version
...
Fix version tag management
2024-01-26 20:21:29 +01:00
Kubernetes Prow Robot
dd49bd4c6d
Merge pull request #5518 from natasha41575/updateowners
...
Update owners file
2024-01-25 22:57:08 +01:00
natasha41575
4adb7f9604
update owners file
2024-01-25 11:46:06 -06:00
Kubernetes Prow Robot
40ce15cca3
Merge pull request #5514 from kubernetes-sigs/dependabot/github_actions/joelanford/go-apidiff-0.8.2
...
build(deps): bump joelanford/go-apidiff from 0.7.0 to 0.8.2
2024-01-23 10:52:18 +01:00
dependabot[bot]
4e93959754
build(deps): bump joelanford/go-apidiff from 0.7.0 to 0.8.2
...
Bumps [joelanford/go-apidiff](https://github.com/joelanford/go-apidiff ) from 0.7.0 to 0.8.2.
- [Release notes](https://github.com/joelanford/go-apidiff/releases )
- [Commits](https://github.com/joelanford/go-apidiff/compare/v0.7.0...v0.8.2 )
---
updated-dependencies:
- dependency-name: joelanford/go-apidiff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 01:11:48 +00:00
Kurnianto Trilaksono
ab519fdc13
Feature/dependency pinning and update automation ( #5451 )
...
* * handle local flag
* add managerfactory handling for local flag
* add shortName handling for local flag
* add dot git file handling for local flag
* add tests
* fix normal listing
* add ParseGitRepository function, add viper, add testing for utils
* add latest tag logic, add auto pinning and auto fetching
* makke gorepomod list works with --local
* make pinning works with local flag, enable auto update on fork and non-fork repo
* fix: refactor to pass linter
* refactor code and fix comments
* edit README
* refactor code to pass linting
* refactor code
* refactor code and enable patch branch label
* ru add license
* fbackward compatibility for unpin
2024-01-16 22:34:56 +01:00
Nick
f3fedac429
Add generator kustomization references ( #5447 )
...
* Initial configMapGenerator ref
* Draft configMapGenerator options
* ConfigMapArgs
* Add sources
* Begin to restructure generator spec
* Add ObjectMeta
* Draft kustomization.md
* Draft kustomization file links
* Move bases weight
* Update generatorArgs link to commmon generatorOptions
* Remove api/generators for now
* Update generatorOptions
* Add generatorArgs header
* Add secretGenerator
* Remove ObjectMeta for now
* Draft generators
* Fix secretGenerator
* Cleanup
* Add include shortcode, cleanup generators
* Use common includes
* Update object metadata description
* spelling
* Improve args description
2024-01-10 20:27:05 +01:00
charles-chenzz
3f921e159b
add testcase that yield malformed yaml errors
2024-01-08 19:25:04 +08:00
cui fliter
d56e1d0f46
fix some comments
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2024-01-05 16:25:48 +08:00
Michael Kuc
872968c420
fix: show CronJob properties
...
Show the properties of CronJobs when running
`kustomize cfg tree` with the `--image` flag (or other resource flag).
2024-01-04 14:45:07 +00:00
Kubernetes Prow Robot
f72db33d5e
Merge pull request #4558 from koba1t/proposals/replacements_and_patch_to_value_in_the_structured_data
...
Proposal: Replacements and Patch value in the structured data
2024-01-04 00:05:48 +01:00
Kubernetes Prow Robot
cfa2c41b44
Merge pull request #5361 from kubernetes-sigs/dependabot/npm_and_yarn/site/postcss-8.4.31
...
build(deps-dev): bump postcss from 8.4.8 to 8.4.31 in /site
2023-12-28 12:41:51 +01:00
Kubernetes Prow Robot
0c461d61df
Merge pull request #5495 from stormqueen1990/chore/removetest-internal-package
...
chore: move removetest.go to the internal package
2023-12-22 11:06:54 +01:00
Mauren Berti
27ae0693b4
fix: rename helper structs to use more specific names
2023-12-21 22:51:18 -05:00
Mauren Berti
42d5870546
chore: move removetest_testutils.go to internal/testutils
2023-12-21 22:51:17 -05:00
Mauren Berti
f814039f99
chore: move removetest.go to the internal package
...
* Move the edit/remove_test/removetest.go file to the internal package, as it is
intended to aid testing.
* Rename the method ExecuteTestCases to ExecuteRemoveTestCases.
2023-12-21 22:51:16 -05:00
Kubernetes Prow Robot
b28e0445a2
Merge pull request #5489 from ltearno/fixtypo-in-merge2
...
Fix typo in merge2
2023-12-21 12:11:55 +01:00
Kubernetes Prow Robot
7db7de65c1
Merge pull request #5479 from skitt/revert-5197
...
Revert "Switch to json-patch v5"
2023-12-20 20:56:28 +01:00
koba1t
a34dd1fc3f
fix replacements syntax
2023-12-17 05:48:56 +09:00
chansuke
cd886102a9
Fix version tag management
2023-12-15 00:32:36 +09:00
koba1t
2831689a1b
update configMapGenerator section
2023-12-14 21:55:58 +09:00
koba1t
069c5fd5d7
add story4 details
2023-12-14 21:55:58 +09:00
koba1t
504e805da0
add non-goal
2023-12-14 21:55:58 +09:00
koba1t
3cf12635d4
scope change to support only JSON/YAML and add support secretGenerator
2023-12-14 21:55:58 +09:00
koba1t
9adb7535fa
move behavior: merge in base
2023-12-14 21:55:58 +09:00
koba1t
c87c7a139c
fix with suggestion from natasha41575
2023-12-14 21:55:58 +09:00
koba1t
50583c4b0e
add Story of yaml in configmap and json in Annotations
2023-12-14 21:55:58 +09:00
koba1t
9a7014cc14
add proposal 'Disciplined merge the value in structured data with configMapGenerator'
2023-12-14 21:55:58 +09:00
koba1t
32a78f3915
fix motivation, this function is scoped edit
2023-12-14 21:55:58 +09:00
koba1t
f866701088
improve 'Replacement the value in structured data'
2023-12-14 21:55:58 +09:00
koba1t
49e911fcef
add mini-Kep 'Replacements and Patch value in the structured data'
2023-12-14 21:55:58 +09:00
Arnaud Tournier
665bfbc32d
fix typo
2023-12-13 17:50:41 +01:00
Kubernetes Prow Robot
a0a9bdfe05
Merge pull request #5483 from kubernetes-sigs/dependabot/github_actions/actions/setup-go-5
...
build(deps): bump actions/setup-go from 3 to 5
2023-12-12 06:00:11 +01:00
dependabot[bot]
16f7e42392
build(deps): bump actions/setup-go from 3 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v5 )
---
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 >
2023-12-11 00:46:34 +00:00
Stephen Kitt
bf485f66d3
Revert "Switch to json-patch v5"
...
This reverts commit b692e49b1e .
The json-patch bump in k/k was reverted, so the corresponding bump in
kustomize should be reverted too.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-12-07 18:40:29 +01:00
yugo kobayashi
557d6cba2d
Merge pull request #5478 from koba1t/unpinEverything
...
Back to development mode; unpin the modules
2023-12-07 20:11:28 +09:00
koba1t
8eee90d2c6
Back to development mode; unpin the modules
2023-12-07 19:56:35 +09:00
yugo kobayashi
9da0cf8b4c
Merge pull request #5477 from koba1t/pinToApi
...
Update api to v0.16.0
2023-12-07 19:40:41 +09:00
koba1t
c259c478e5
Update api to v0.16.0
2023-12-07 19:30:36 +09:00
yugo kobayashi
c2ec4bb482
Merge pull request #5476 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.13.0
2023-12-07 19:25:28 +09:00
koba1t
29d0214cbd
Update cmd/config to v0.13.0
2023-12-07 19:16:32 +09:00
yugo kobayashi
faf93bb71d
Merge pull request #5475 from koba1t/pinToKyaml
...
Update kyaml to v0.16.0
2023-12-07 19:11:21 +09:00
koba1t
71f6f4c7d7
Update kyaml to v0.16.0
2023-12-07 19:00:00 +09:00
Kubernetes Prow Robot
b22dbc7db9
Merge pull request #5326 from kubernetes-sigs/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2023-12-07 05:13:11 +01:00
Kubernetes Prow Robot
bfe18b8198
Merge pull request #5309 from kubernetes-sigs/dependabot/github_actions/joelanford/go-apidiff-0.7.0
...
Bump joelanford/go-apidiff from 0.6.0 to 0.7.0
2023-12-07 05:13:04 +01:00
Sylvain Rabot
82bd395289
Add missing error handling for --load-restrictor completion
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2023-12-06 10:34:08 +01:00
Sylvain Rabot
e3031f3a7b
Add build --load-restrictor completion
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2023-12-06 10:34:08 +01:00
Kubernetes Prow Robot
6f47203e3f
Merge pull request #5469 from ncapps/add/reviewer
...
Add ncapps to reviewers
2023-12-01 17:19:11 +01:00
Nick Capps
afc2357d5f
Add ncapps to reviewers
2023-11-30 19:55:39 -08:00
Kubernetes Prow Robot
c1ae80d25d
Merge pull request #5454 from stormqueen1990/fix/support-namespace-remove
...
fix: support namespace flag on edit remove secret/configmap
2023-11-30 21:05:05 +01:00
Nick
f23d45fcb4
Add deprecation warning message to commonLabels ( #5464 )
...
* Add commonLabels deprecation warning message
* Add test
* Add warningToRunEditFix message
2023-11-30 17:41:43 +01:00
Kubernetes Prow Robot
0b4974eb1c
Merge pull request #5461 from kundan2707/type_kustomization
...
fix typo in kustomization.yaml
2023-11-29 19:33:55 +01:00
Mauren Berti
228d22cff0
fix: support namespace flag on edit remove secret/configmap
...
Fix the 'edit remove secret'/'edit remove configmap' commands that were previously
missing support to specifying a namespace.
2023-11-28 21:22:31 -05:00
Claudio Busse
7b1eaf1e4f
feat: localize absolute paths
2023-11-26 12:22:15 +01:00
Nick
bfb00ecb27
Add common Tasks to documentation ( #5383 )
...
* Add labels, annotations, namespaces, and names tasks
* Remove redundant information from ref/labels ref/annotations
* Update labels and annotations example names for consistency
* Remove name, prefix and suffix api examples
* Add link to tasks in reference
* Add link to tasks section for ref/configMapGenerator and ref/secretGenerator
* Add Labels/Annotatations headers
* Add Labels
* Add Template Labels
* Cleanup Add Template Labels
* Consolidate commonLabels and labels.includeSelectors
* Improve commonAnnotations example
* Add labels and annotations ref links
* Add generated ConfigMap to namespace example
* Add name headers
* Change header weights so they appear in sidebar
* Add namespace/name links
* Add generated ConfigMap to namePrefix example
* Add name propagation example
* Add more description of name propagation
* template labels
* Address feedback for labels
* Address names feedback
* Update for consistency
* Address feedback
* Remove API
2023-11-25 21:34:10 +01:00
sarab
fefa21fa01
Add conditional doc check in go workflow
...
Add checkout
2023-11-24 14:41:40 +05:30
Kundan Kumar
bb7003e557
fix type in kustomization.yaml
2023-11-23 19:18:15 +05:30
Kubernetes Prow Robot
0122aa82ef
Merge pull request #5456 from stormqueen1990/chore/rename-add-set-files
...
chore: rename files to match package pattern
2023-11-20 23:40:36 +01:00
Natasha Sarkar
7db6c203d5
Merge pull request #5453 from varshaprasad96/add-self-to-reviewers
...
Add varshaprasad96 to Reviewers
2023-11-20 15:08:25 -06:00
Kubernetes Prow Robot
42394090df
Merge pull request #5455 from stormqueen1990/fix/cmsecretargs-flaky-test
...
fix: flaky ConfigMap/Secret args tests
2023-11-20 17:25:23 +01:00
Mauren Berti
447d433457
chore: rename files to match package pattern
...
Rename files that deal with configmaps and secrets to include the name of the
package as a prefix, as those were not following the pattern from the remaining
files in the package before.
2023-11-18 18:44:48 -05:00
Mauren Berti
9b54286933
fix: flaky ConfigMap/Secret args tests
...
* Fix a mistake in the comparison between elements in the ConfigMap and Secret args
test that causes it to become flaky.
* Rename the package in configmapSecretFlagsAndArgs_test.go back to util since the
testpackage linter has been disabled.
2023-11-18 18:26:52 -05:00
Varsha Prasad Narsing
d2549312d6
Add varshaprasad96 to Reviewers
...
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-11-17 17:07:10 -05:00
Joseph Gu
fdf8f44c90
Fix nil pointer dereferencing when converting vars to replacements ( #5211 )
...
* fix patch.Target is nil in writePatchTargets
* add test case
* lint
* lint err not check
* remove new lin in imports
* rollback changes to `cmd :=`
* remove extra lines
2023-11-17 19:28:00 +01:00
Mauren Berti
30893b0184
feat: edit set configmap ( #5391 )
...
* feat: add new command 'edit set configmap'
* Add a new command 'edit set configmap' to allow editing the values of an
already-existing configmap in a kustomization file.
* Add tests to validate the new feature.
* fix: add tests, minor refactoring to use constants
* Include tests to validade the new function ValidateSet, included to do
necessary validations when running the 'kustomize edit set configmap' command.
* Minor refactorings to use the existing constants in the 'edit set configmap'
command.
* Add dashes before each item in the comment explaining how ExpandFileSource()
works so IDEs don't try to reformat the list and remove the indentation in it.
* Because this change mutates the list of literal sources, ensure that both add
and set save the resulting list in a predictable order to make it easier to
check when new items are added/removed and aid in testing.
* Since literal sources are the only bit that's important in this test, verify
that the literal sources in the actual result is equal to what we expected it
to be.
* fix: change format to print resource name
Use '%q' formatter instead of '%s' to print resource name
Co-authored-by: Varsha <varshaprasad96@gmail.com >
* fix: add changes from code review
* Unexport constant that is used only in the scope of a single function.
* Add extra validation to ensure format is correct with one single '=' per key-value
pair.
* Add extra set of tests to validate format.
* Update test case to match new printed format in the error message.
* fix: rollback sort for edit add/set configmap
* chore: rename test package and unexport functions
Rename the test package from set_test back to set and unexport functions that do
not need to be exported anymore for testing purposes.
* feat: handle empty and default namespace as equal
Handle the empty and the default namespaces as equal. Add tests to validate this
scenario.
---------
Co-authored-by: Varsha <varshaprasad96@gmail.com >
2023-11-17 19:14:53 +01:00
Kubernetes Prow Robot
eb7f91ffcd
Merge pull request #5270 from MrFreezeex/helm-kube-api
...
helm: add support for kube-version and add cli args for both kube-version and api-versions
2023-11-15 21:13:59 +01:00
Kubernetes Prow Robot
413e01e52c
Merge pull request #5450 from stormqueen1990/patch-1
...
Add myself as a reviewer to Kustomize
2023-11-15 20:02:48 +01:00
Mauren Berti
b57b3abc49
Add myself as a reviewer to Kustomize
...
Based on my contributions in the past 3 months I would like to propose becoming a reviewer for Kustomize.
2023-11-15 13:49:53 -05:00
Kubernetes Prow Robot
4ae9f53593
Merge pull request #5439 from charles-chenzz/windows_release_binary_name
...
add back the missing suffix in kustomize v5.x.x in windows version
2023-11-15 18:39:51 +01:00
Kubernetes Prow Robot
265195ca80
Merge pull request #5430 from stormqueen1990/fix/treat-empty-ns-as-default-ns
...
fix: handle empty namespace as default
2023-11-15 18:39:33 +01:00
Kubernetes Prow Robot
8b52e04c3a
Merge pull request #5448 from stormqueen1990/chore/remove-testpackage-linter
...
chore: disable testpackage linter
2023-11-15 15:39:49 +01:00
Mauren Berti
572a096e60
chore: disable testpackage linter
2023-11-14 21:12:05 -05:00
Mauren Berti
4d7b8efc3e
fix: revert package name change
2023-11-13 21:56:07 -05:00
Mauren Berti
fa32631993
chore: revert changes to go.work.sum
...
Revert changes made to go.work.sum, since they don't pertain to code changed in
this PR.
2023-11-13 21:50:19 -05:00
charles-chenzz
ec3be81217
add back the missing suffix in kustomize v5.x.x in windows version
...
Co-authored-by: Ricardo <ricardo.bartels@telekom.de >
2023-11-13 20:08:58 +08:00
Mauren Berti
53c86258a6
fix: run go mod tidy to remove unused package ref
...
Run go mod tidy to remove references of golang.org/x/exp, that was used during
development but later removed.
2023-11-11 10:46:27 -05:00
Mauren Berti
7226ba5086
fix: handle empty namespace as default
...
Update the namespace handling in the edit add configmap and secret commands to
handle the empty namespace and the default namespace in the same way. Before
this change, if a configmap/secret was created using kustomize edit add where
one command was issued with default as the namespace and the other without a
namespace specified it would create two separate configmap generators, and then
kustomize build would fail if merge was not the strategy for either.
2023-11-11 10:46:24 -05:00
Kubernetes Prow Robot
e219b8864e
Merge pull request #5421 from prashantrewar/swap-yaml-library
...
Replace gopkg.in/yaml.v2 with sigs.k8s.io/yaml/goyaml.v2
2023-11-10 17:14:41 +01:00
Kubernetes Prow Robot
863ca93f0b
Merge pull request #5364 from 0xff-dev/master
...
fix: goroutine leak
2023-11-10 17:14:34 +01:00
Kubernetes Prow Robot
68e0997dc9
Merge pull request #5356 from charles-chenzz/deps
...
update dependabot to enable CVE detect
2023-11-09 20:39:19 +01:00
Arthur Outhenin-Chalandre
dc29923a08
helm: add tests with different kubeVersion
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr >
2023-11-09 11:37:14 +01:00
0xff-dev
f7bc0aced8
fix: goroutine leak
2023-11-06 13:12:22 +08:00
Nick
e7c8ed1899
Add contributor guide ( #5426 )
...
* Add contributor guide
* git merge upstream/master
* git rebase upstream/master
* make test-unit-all
* make lint
2023-11-03 22:36:14 +01:00
Kubernetes Prow Robot
b8443683f9
Merge pull request #5390 from chansuke/add-negative-test-for-kv
...
Add negative case for testing `keyValuesFromLine`
2023-11-03 17:29:43 +01:00
Carl Henrik Lunde
2fda12d220
perf: MakeDefaultConfig once ( #5082 )
...
* perf: MakeDefaultConfig once
This shaves of another 2 seconds (62%) of the remaining execution
time for a kustomization tree with 4000 documents, reducing the execution
time from 4.79s to 1.82s
0 0% 1.38% 2.98s 37.25% sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig.MakeDefaultConfig
before:
(pprof) top30 -cum
Showing nodes accounting for 1.82s, 22.75% of 8s total
Dropped 408 nodes (cum <= 0.04s)
Showing top 30 nodes out of 308
flat flat% sum% cum cum%
0 0% 0% 4.79s 59.88% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 4.79s 59.88% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 4.79s 59.88% github.com/spf13/cobra.(*Command).execute
0 0% 0% 4.79s 59.88% main.main
0 0% 0% 4.79s 59.88% runtime.main
0 0% 0% 4.79s 59.88% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 4.22s 52.75% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0 0% 0% 4.18s 52.25% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 0% 4.18s 52.25% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0 0% 0% 4.06s 50.75% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).AccumulateTarget
0 0% 0% 4.06s 50.75% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateResources
0 0% 0% 4.06s 50.75% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateTarget
0 0% 0% 4.05s 50.62% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateDirectory
0 0% 0% 3.22s 40.25% runtime.systemstack
0 0% 0% 3.03s 37.88% runtime.gcBgMarkWorker
0 0% 0% 3.03s 37.88% runtime.gcBgMarkWorker.func2
0.11s 1.38% 1.38% 3.03s 37.88% runtime.gcDrain
0 0% 1.38% 2.98s 37.25% sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig.MakeDefaultConfig
0 0% 1.38% 2.98s 37.25% sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig.MakeTransformerConfig
0 0% 1.38% 2.98s 37.25% sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig.makeTransformerConfigFromBytes
0 0% 1.38% 2.97s 37.12% sigs.k8s.io/yaml.yamlUnmarshal
0 0% 1.38% 2.91s 36.38% sigs.k8s.io/yaml.Unmarshal (inline)
1.34s 16.75% 18.12% 2.87s 35.88% runtime.scanobject
0 0% 18.12% 2.53s 31.62% sigs.k8s.io/yaml.yamlToJSON
0 0% 18.12% 1.91s 23.88% gopkg.in/yaml%2ev2.unmarshal
0 0% 18.12% 1.86s 23.25% gopkg.in/yaml%2ev2.Unmarshal (partial-inline)
0 0% 18.12% 1.43s 17.88% gopkg.in/yaml%2ev2.(*parser).parse
0.01s 0.12% 18.25% 1.27s 15.88% gopkg.in/yaml%2ev2.(*parser).document
0.01s 0.12% 18.38% 1.25s 15.62% gopkg.in/yaml%2ev2.(*parser).mapping
0.35s 4.38% 22.75% 1.21s 15.12% runtime.mallocgc
after:
(pprof) top30 -cum
Showing nodes accounting for 0.84s, 24.42% of 3.44s total
Dropped 225 nodes (cum <= 0.02s)
Showing top 30 nodes out of 345
flat flat% sum% cum cum%
0 0% 0% 1.82s 52.91% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 1.82s 52.91% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 1.82s 52.91% github.com/spf13/cobra.(*Command).execute
0 0% 0% 1.82s 52.91% main.main
0 0% 0% 1.82s 52.91% runtime.main
0 0% 0% 1.82s 52.91% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 1.57s 45.64% runtime.systemstack
0 0% 0% 1.49s 43.31% runtime.gcBgMarkWorker
0 0% 0% 1.49s 43.31% runtime.gcBgMarkWorker.func2
0.03s 0.87% 0.87% 1.49s 43.31% runtime.gcDrain
0.62s 18.02% 18.90% 1.45s 42.15% runtime.scanobject
0 0% 18.90% 1.25s 36.34% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0 0% 18.90% 1.21s 35.17% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 18.90% 1.21s 35.17% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0 0% 18.90% 1.08s 31.40% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).AccumulateTarget
0 0% 18.90% 1.08s 31.40% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateResources
0 0% 18.90% 1.08s 31.40% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateTarget
0 0% 18.90% 1.07s 31.10% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateDirectory
0 0% 18.90% 0.57s 16.57% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).AsYaml
0 0% 18.90% 0.57s 16.57% sigs.k8s.io/kustomize/api/resource.(*Resource).AsYAML
0.11s 3.20% 22.09% 0.48s 13.95% runtime.mallocgc
0 0% 22.09% 0.45s 13.08% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateFile
0 0% 22.09% 0.45s 13.08% sigs.k8s.io/kustomize/api/resmap.(*Factory).FromFile
0 0% 22.09% 0.33s 9.59% sigs.k8s.io/kustomize/kyaml/yaml.(*RNode).MarshalJSON
0.08s 2.33% 24.42% 0.32s 9.30% runtime.greyobject
0 0% 24.42% 0.30s 8.72% sigs.k8s.io/kustomize/api/resmap.(*Factory).NewResMapFromBytes
0 0% 24.42% 0.27s 7.85% sigs.k8s.io/yaml.JSONToYAML
0 0% 24.42% 0.25s 7.27% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).runTransformers
0 0% 24.42% 0.25s 7.27% sigs.k8s.io/kustomize/api/resource.(*Factory).RNodesFromBytes
0 0% 24.42% 0.25s 7.27% sigs.k8s.io/kustomize/api/resource.(*Factory).SliceFromBytes
* Tests and comments for MakeDefaultConfig perf work
Document updated code in MakeDefaultConfig.
Add unit tests to ensure DeepCopy works.
Add hints to other code to ensure DeepCopy is kept up to date.
2023-11-02 22:54:42 +01:00
Arthur Outhenin-Chalandre
790ca0e7b6
helm: add kube-version and api-versions on CLI args
...
It makes sense to add that as a CLI args since you could use one single
kustomization file/helm chart for multiple clusters. Also it's easier to
have those on the CLI if the user has some kind of tooling that will end
up calling kustomize and that could pass those (i.e.: ArgoCD is doing
that for Helm so it could do that for Kustomize as well that will end up
calling Helm as well).
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr >
2023-11-02 16:46:41 +01:00
Arthur Outhenin-Chalandre
d5dd5f4567
helm: add kube-version
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr >
2023-11-02 16:46:41 +01:00
Kubernetes Prow Robot
5b51722720
Merge pull request #5293 from ardikabs/fix/5164
...
fix: local helm chart with version but no repo
2023-11-02 14:58:17 +01:00
Ardika Bagus
6640f8799e
test: add Kustomize test case for multiple helm charts with different version
...
Signed-off-by: Ardika Bagus <me@ardikabs.com >
2023-11-02 06:27:39 +07:00
Ardika Bagus
790dbf0fdf
chore: rename chart and test case with clear intention
2023-11-02 06:23:50 +07:00
Ardika Bagus
b7b85b10fc
chore: remove unnecessary code, and using testdata instead of inline
...
Signed-off-by: Ardika Bagus <me@ardikabs.com >
2023-11-02 06:23:50 +07:00
Ardika Bagus
5505af439a
chore: fix lint, assert with required
2023-11-02 06:22:11 +07:00
Ardika Bagus
cc35d3c4e5
fix: fix while using local charts with version
...
fix https://github.com/kubernetes-sigs/kustomize/issues/5163
Signed-off-by: Ardika Bagus <me@ardikabs.com >
2023-11-02 06:22:11 +07:00
Dustin Lish
a0f131cf86
Fix using same helm chart with different versions ( #4999 )
...
* Fix using same helm chart with different versions
* Fix p.ValuesFile when version is set
* Updated: Fix using same helm chart with different versions
* Add test for issue #4813
* Use if/else for readability, add version check to absChartHome
2023-11-02 06:22:11 +07:00
Kubernetes Prow Robot
f87942ec76
Merge pull request #5328 from koba1t/fix/failed_tests_are_depends_on_external_container_images
...
fix failed tests are depends on external container images
2023-11-01 20:01:53 +01:00
koba1t
af7c088053
fix failed tests for fn framework mount generator
2023-11-02 02:37:00 +09:00
koba1t
7af4e772bd
fix failed tests for fn framework generator
2023-11-02 02:37:00 +09:00
koba1t
67a0b43c81
fix failed tests for testing fn framework about get value from env
2023-11-02 02:37:00 +09:00
koba1t
2bff0d6882
fix failure tests that are running for external container image
2023-11-02 02:37:00 +09:00
Prashant Rewar
2ab117166f
replace gopkg.in/yaml.v2 with sigs.k8s.io/yaml/goyaml.v2
...
Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com >
2023-11-01 14:40:41 +05:30
Kubernetes Prow Robot
8effd35d3f
Merge pull request #5424 from sylr/go-work-sync
...
Run go work sync
2023-10-31 21:33:44 +01:00
Carl Henrik Lunde
5c7f8b8d73
perf: improve applyOrdering by avoid call to GetByCurrentId
...
This shaves of 14 seconds (one third) of the execution time for a
kustomization tree with 4000 documents, from 40.68s to 27.41s
0 0% 5.44% 18.42s 40.56% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).applySortOrder
0 0% 5.44% 18.40s 40.52% sigs.k8s.io/kustomize/api/internal/builtins.applyOrdering
before
(pprof) top20 -cum
Showing nodes accounting for 5.85s, 12.88% of 45.41s total
Dropped 622 nodes (cum <= 0.23s)
Showing top 20 nodes out of 157
flat flat% sum% cum cum%
0 0% 0% 40.68s 89.58% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 40.68s 89.58% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 40.68s 89.58% github.com/spf13/cobra.(*Command).execute
0 0% 0% 40.68s 89.58% main.main
0 0% 0% 40.68s 89.58% runtime.main
0 0% 0% 40.68s 89.58% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 40.12s 88.35% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0.51s 1.12% 1.12% 33.20s 73.11% sigs.k8s.io/kustomize/api/resource.(*Resource).CurId
0 0% 1.12% 26.95s 59.35% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).GetMatchingResourcesByCurrentId
0.35s 0.77% 1.89% 26.95s 59.35% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).filteredById
0.07s 0.15% 2.05% 25.53s 56.22% sigs.k8s.io/kustomize/api/resmap.GetCurrentId
0 0% 2.05% 21.68s 47.74% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 2.05% 21.68s 47.74% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0.54s 1.19% 3.24% 19.75s 43.49% sigs.k8s.io/kustomize/api/resource.(*Resource).GetGvk (inline)
1s 2.20% 5.44% 19.21s 42.30% sigs.k8s.io/kustomize/kyaml/resid.GvkFromNode
0 0% 5.44% 18.42s 40.56% sigs.k8s.io/kustomize/api/internal/builtins.(*SortOrderTransformerPlugin).Transform
0 0% 5.44% 18.42s 40.56% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).applySortOrder
0 0% 5.44% 18.40s 40.52% sigs.k8s.io/kustomize/api/internal/builtins.applyOrdering
0.87s 1.92% 7.36% 16.55s 36.45% sigs.k8s.io/kustomize/kyaml/yaml.visitMappingNodeFields
2.51s 5.53% 12.88% 15.68s 34.53% sigs.k8s.io/kustomize/kyaml/yaml.visitFieldsWhileTrue
after
(pprof) top20 -cum
Showing nodes accounting for 1.23s, 3.85% of 31.98s total
Dropped 584 nodes (cum <= 0.16s)
Showing top 20 nodes out of 184
flat flat% sum% cum cum%
0 0% 0% 27.41s 85.71% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 27.41s 85.71% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 27.41s 85.71% github.com/spf13/cobra.(*Command).execute
0 0% 0% 27.41s 85.71% main.main
0 0% 0% 27.41s 85.71% runtime.main
0 0% 0% 27.41s 85.71% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 26.85s 83.96% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0 0% 0% 22.07s 69.01% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 0% 22.07s 69.01% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0.38s 1.19% 1.19% 20.69s 64.70% sigs.k8s.io/kustomize/api/resource.(*Resource).CurId
0 0% 1.19% 13.64s 42.65% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).Append
0 0% 1.19% 13.55s 42.37% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).GetMatchingResourcesByCurrentId (inline)
0.12s 0.38% 1.56% 13.55s 42.37% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).filteredById
0.01s 0.031% 1.59% 12.67s 39.62% sigs.k8s.io/kustomize/api/resmap.GetCurrentId
0.21s 0.66% 2.25% 12.49s 39.06% sigs.k8s.io/kustomize/api/resource.(*Resource).GetGvk (inline)
0.51s 1.59% 3.85% 12.28s 38.40% sigs.k8s.io/kustomize/kyaml/resid.GvkFromNode
0 0% 3.85% 11.52s 36.02% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).IgnoreLocal
0 0% 3.85% 10.53s 32.93% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).AccumulateTarget
0 0% 3.85% 10.53s 32.93% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateResources
0 0% 3.85% 10.53s 32.93% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateTarget
2023-10-30 22:31:52 +01:00
Sylvain Rabot
b1f100e3da
Run go work sync and go mod tidy
...
```shell
go work sync
for i in $(find . -name go.mod); do (cd $(dirname $i); go mod tidy); done
```
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2023-10-28 13:05:11 +02:00
chansuke
e002b49244
hotfix: return error instead of log at FromMapAndOption ( #5381 )
...
* hotfix: return error instead of log at `FromMapAndOption`
* chore: show error message
* hotfix: use correct function
* hotix: use `t.Helper()` and fix `t *testing.T order
* hotfix: wrapt the error of `FromMapAndOption`
* hotfix: meaningful message for an error
* hotfix: summarize in one line
* hotfix: fix the abandoned error and show meaningful message
* hotfix: start with helper function
* Keep TODO comment
2023-10-27 23:01:47 +02:00
Nick
bd435d4154
Add Generator Tasks to Documentation ( #5368 )
...
* Update tasks index description
* Create generators folder
* Update tasks/generators titles
* Add rollouts placeholder
* Add generate configmap from file example
* Add literals and env file example
* Add propogation example
* Consistent punctuation
* Update grammar
* Clean up configmaps page
* Remove examples from configMapGenerator ref page
* Move secret examples to Tasks
* Clean up spacing
* Consolidate cm and secret
* Consistent grammar
* Cleanup
* Address feedback
* Bump date
* Fix propagate spelling
* Remove roll out updates section
* Separate configmap and secret generator tasks
* Add secret from file example
* Add secret from literals example
* Update tls secret example
* Update task page weights
* Link cm generator reference
* Add link to secret reference
* Remove secretGenerator example from reference section
* Add configmap options task, clean up reference
* Add file with key example
* Secrets are base64 encoded
2023-10-27 22:26:37 +02:00
Kubernetes Prow Robot
a869386996
Merge pull request #5423 from natasha41575/roadmap-update
...
update roadmap based on review comments
2023-10-27 18:54:58 +02:00
Kubernetes Prow Robot
a40379782e
Merge pull request #5420 from soltysh/security_contants
...
Update security contacts for sig-cli
2023-10-27 18:37:56 +02:00
Natasha Sarkar
761893d1fc
Merge pull request #5351 from natasha41575/roadmap
...
update kustomize roadmap 23-24
2023-10-27 11:20:58 -05:00
natasha41575
9f4f9b323c
review comments
2023-10-27 10:59:30 -05:00
Kubernetes Prow Robot
48fd585620
Merge pull request #5408 from koba1t/fix_add_checksum_create_step_in_release_scripts
...
fix add checksum create step in release scripts
2023-10-27 02:29:19 +02:00
Natasha Sarkar
96ad106ee1
Use upstream go-yaml fork and remove our internal one ( #5412 )
...
* test new yaml fork
* delete old kyaml fork
* update to sigs yaml 1.4.0
* remove comments
2023-10-25 19:48:22 +02:00
Maciej Szulik
e2b0297d18
Update security contacts for sig-cli
2023-10-25 19:02:36 +02:00
koba1t
d6fa69d26e
use pushd when generate checksum
2023-10-25 05:19:25 +09:00
Michael Crenshaw
71546359b8
Add a comment
2023-10-24 09:22:30 -04:00
Michael Crenshaw
234ab80086
chore(docs): fix grammar error in comment
2023-10-23 14:00:29 -04:00
Kubernetes Prow Robot
cba3f1115f
Merge pull request #5409 from stormqueen1990/refactor/move-reusable-set-bits
...
refactor: move reusable bits in preparation for new 'edit set' commands
2023-10-23 17:45:58 +02:00
Mauren Berti
5568521cd1
fix: lint issues
...
Change package for test to 'util_test' and add dot-import for the main package.
2023-10-21 17:47:49 -04:00
Mauren Berti
a5a2db577f
refactor: move reusable bits in preparation for edit set commands
...
* Move configmapSecretFlagsAndArgs.go to the internal/util folder so it can be
reused by the edit set commands.
2023-10-21 16:55:37 -04:00
koba1t
b6387b9eaf
fix add checksum create step in release scripts
2023-10-21 15:41:00 +09:00
Kubernetes Prow Robot
0f2618b21d
Merge pull request #5402 from koba1t/unpinEverything
...
release cleanup, unpin the modules
2023-10-19 22:58:25 +02:00
koba1t
0465637335
Back to development mode; unpin the modules
2023-10-20 05:30:43 +09:00
Natasha Sarkar
e71072b90b
Merge pull request #5397 from koba1t/fix_release_binary_archive_contains_unnecessary_dir
...
fix release binary archive contains unnecessary dir
2023-10-19 15:11:23 -05:00
koba1t
289e78c136
fix release binary archive contains unnecessary dir
2023-10-20 04:00:13 +09:00
Kubernetes Prow Robot
001ab61b37
Merge pull request #5395 from koba1t/pinToApi
...
Update api to v0.15.0
2023-10-19 19:57:18 +02:00
koba1t
16395012d1
Update api to v0.15.0
2023-10-20 02:36:50 +09:00
Kubernetes Prow Robot
5497967665
Merge pull request #5394 from koba1t/pinToCmdConfig
...
Update cmd/config to v0.12.0
2023-10-19 19:27:53 +02:00
koba1t
0115ae6da4
Update cmd/config to v0.12.0
2023-10-20 02:11:11 +09:00
Kubernetes Prow Robot
bb5022441a
Merge pull request #5393 from koba1t/pinToKyaml
...
Update kyaml to v0.15.0
2023-10-19 18:59:14 +02:00
koba1t
8668b74622
Update kyaml to v0.15.0
2023-10-20 01:07:49 +09:00
Kubernetes Prow Robot
752bb2ef41
Merge pull request #5303 from antoooks/refactor/ci-tasks-improvement-new
...
refactor/ci tasks improvement new
2023-10-19 09:41:50 +02:00
Kubernetes Prow Robot
bde28b1320
Merge pull request #5324 from charles-chenzz/fix_doc_refs
...
update deprecated doc refs
2023-10-18 17:41:01 +02:00
Kubernetes Prow Robot
689dcefa3a
Merge pull request #5378 from kubernetes-sigs/dependabot/go_modules/cmd/depprobcheck/golang.org/x/net-0.17.0
...
build(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /cmd/depprobcheck
2023-10-18 16:05:15 +02:00
dependabot[bot]
f3e263a051
build(deps): bump golang.org/x/net in /cmd/depprobcheck
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-18 13:27:09 +00:00
Kubernetes Prow Robot
fa48ab16bf
Merge pull request #5377 from kubernetes-sigs/dependabot/go_modules/functions/examples/application-cr/image/golang.org/x/net-0.17.0
...
build(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /functions/examples/application-cr/image
2023-10-18 15:25:21 +02:00
dependabot[bot]
0eca5c4b06
build(deps): bump golang.org/x/net
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-17 19:51:16 +00:00
Kubernetes Prow Robot
6b76c807f5
Merge pull request #5376 from kubernetes-sigs/dependabot/go_modules/functions/examples/fn-framework-application/golang.org/x/net-0.17.0
...
build(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /functions/examples/fn-framework-application
2023-10-17 21:48:54 +02:00
dependabot[bot]
76695414c7
build(deps): bump golang.org/x/net
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-17 19:24:53 +00:00
Jan-Otto Kröpke
d64ac13447
kustomize: Add support for OCI based helm repos ( #5167 )
...
* kustomize: Add support for OCI based helm repos
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
* Update api/internal/builtins/HelmChartInflationGenerator.go
* Update plugin/builtin/helmchartinflationgenerator/HelmChartInflationGenerator.go
* go fmt
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
* s/expectedHelmExternalDns/expectedHelmExternalDNS
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
* commit
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
* commit with content
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
* Apply suggestions from maintainer
* go work sync
* added test
---------
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de >
2023-10-17 21:24:00 +02:00
chansuke
50159d47c2
Add negative case for testing keyValuesFromLine
2023-10-17 23:55:04 +09:00
Kubernetes Prow Robot
f80d9c41e5
Merge pull request #5370 from phooijenga/patch-1
...
merge2: fix duplicate test case
2023-10-14 18:41:37 +02:00
Kubernetes Prow Robot
2f99707792
Merge pull request #5367 from stormqueen1990/fix/edit-add-configmap-namespace
...
fix: add namespace option to 'edit add configmap' command
2023-10-14 09:39:40 +02:00
Mauren Berti
7a08dde7ac
fix: change spaces for tabs
2023-10-13 18:35:27 -04:00
Kubernetes Prow Robot
81297df4ff
Merge pull request #5374 from kundan2707/broken_link
...
Path for glossary.md corrected
2023-10-13 22:14:55 +02:00
Kundan Kumar
c4137c0c2a
Path for glossary corrected
2023-10-12 10:29:05 +05:30
charles-chenzz
944c72a275
update deprecated doc refs
2023-10-11 22:30:43 +08:00
Paul
46e2d72213
merge2: fix duplicate test case
2023-10-10 14:12:07 +02:00
Mauren Berti
6cb85e8544
fix: remove unnecessary empty space as per lint
2023-10-09 19:28:37 -04:00
Mauren Berti
6ef9773c02
docs: update comment to reflect usage of namespace
...
Update the comment for the namespace option to reflect its real usage for both
secret and configmap.
2023-10-09 17:17:49 -04:00
Mauren Berti
11aa57e67f
fix: add --namespace flag to edit add configmap
...
* Add the option to specify a namespace when using 'kustomize edit add configmap'
for code parity with 'edit add secret'.
* Rename constants for 'add configmap'/'add secret' so they are standardized.
* Create new constant for the 'namespace' flag.
* Update test cases to cover new scenarios.
2023-10-09 17:17:40 -04:00
Kubernetes Prow Robot
779f153071
Merge pull request #5353 from charles-chenzz/git_submodule
...
git submodule need origin
2023-10-07 03:27:32 +02:00
charles-chenzz
60d7ee6710
add orgin back when clone repo (due to git submodule).
2023-10-07 07:50:13 +08:00
Kubernetes Prow Robot
852739c477
Merge pull request #5265 from rodrigc/update-remote-example
...
doc: update example to use tag v3.3.1
2023-10-06 21:21:37 +02:00
Craig Rodrigues
bee2e5f50c
doc: update example to use tag v3.3.1
...
Signed-off-by: Craig Rodrigues <rodrigc@crodrigues.org >
2023-10-06 11:38:17 -07:00
Natasha Sarkar
ace2d53b18
Merge pull request #5333 from hailkomputer/add-skip-validation-flag-to-edit-add-resource
...
Add --no-verify flag to edit add resource command
2023-10-06 13:00:27 -05:00
dependabot[bot]
f910219c7a
build(deps-dev): bump postcss from 8.4.8 to 8.4.31 in /site
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.8 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.8...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-04 20:07:19 +00:00
Kubernetes Prow Robot
aeb7cb2a40
Merge pull request #5342 from superbrothers/fix-issue4905
...
Update imdario/mergo to v0.3.13
2023-10-04 22:06:34 +02:00
charles-chenzz
a7e065ddb4
update dependabot to auto bump deps and enable CVE detect
2023-10-03 20:16:56 +08:00
Yigit Demirbas
713842330e
rename flag to --no-verify
2023-10-03 09:02:34 +02:00
Yigit Demirbas
5936a892a7
fix imports after rebase
2023-10-02 09:06:07 +02:00
Yigit Demirbas
c3a4f3eab6
Merge branch 'master' into add-skip-validation-flag-to-edit-add-resource
2023-10-02 09:03:14 +02:00
Mauren Berti
fb7ee2f487
refactor: change "add configmap/secret" commands to reuse code and improve tests ( #5315 )
...
* feat: minor refactoring + test improvements
* Refactor some bits of the edit add secret/configmap commands to reuse code.
* Improve test coverage for both these commands by invoking the cobra command
directly.
* Add some reusable constants for both these commands and their tests.
* fix: changes from code review
* Update formatting as requested in code review.
* Rename flagsAndArgs to configmapSecretFlagsAndArgs: change the file and struct
names to reflect the real usage of this code.
* Remove excessive newlines from the imports block.
* Replace all usages of assert with require and fix newlines in imports.
2023-10-01 19:32:45 -07:00
Kubernetes Prow Robot
45e57f0228
Merge pull request #5350 from kubernetes-sigs/revert-5332-master
...
Revert "Disable CI Code Checks if all PR changes fall under `site/`"
2023-09-29 15:01:56 -07:00
natasha41575
d20a7c4996
update kustomize roadmap 23-24
2023-09-29 13:57:02 -05:00
Kubernetes Prow Robot
9920586b22
Merge pull request #5345 from stormqueen1990/docs/update-remove-configmap-comment
...
docs: update remove configmap comment
2023-09-29 11:12:42 -07:00
Kubernetes Prow Robot
61dad14345
Merge pull request #5344 from stormqueen1990/feat/add-remove-secret-command
...
feat: add remove secret command
2023-09-29 11:02:43 -07:00
Kubernetes Prow Robot
f65506d285
Merge pull request #5268 from kubernetes-sigs/dependabot/github_actions/nashmaniac/create-issue-action-1.2
...
Bump nashmaniac/create-issue-action from 1.1 to 1.2
2023-09-29 10:52:43 -07:00
Natasha Sarkar
cbbd1599f2
Revert "Disable CI Code Checks if all PR changes fall under site/"
2023-09-29 09:50:39 -05:00
Kubernetes Prow Robot
4b34ff3075
Merge pull request #5132 from samstride/issue/5127
...
Update README.md
2023-09-28 12:10:34 -07:00
Kubernetes Prow Robot
654d7953d9
Merge pull request #5193 from varshaprasad96/refactor/api
...
[refactor]: Internalize loader api
2023-09-28 08:36:32 -07:00
Kurnianto Trilaksono
d91ea65f5a
separate generate plugins and check diff step
2023-09-28 21:49:57 +07:00
Varsha Prasad Narsing
7911b2c001
[refactor]: Internalize loader api
...
This PR intends to move the loader api to
internal. Only the necessary methods which
are needed for the api have been put into
`pkg/loader.go`.
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-09-28 10:49:45 -04:00
Yigit Demirbas
0d854a5144
modify error message to original
2023-09-27 12:52:09 +02:00
Yigit Demirbas
cb5b241715
modify add resource test to accomodate changes
2023-09-27 12:49:19 +02:00
Yigit Demirbas
039b05fb16
refactor tests to use require instead
2023-09-27 12:40:05 +02:00
Mauren Berti
9c1d412dac
docs: update remove configmap comment
...
Update the comment for the newCmdRemoveConfigMap function to explain what this
function really does. The previous comment was referring to a different function.
2023-09-24 19:26:48 -04:00
Mauren Berti
a318d4db26
feat: incorporate feedback from review
...
* Incorporate feedback from reviews.
* Add extra test cases to increase coverage.
* Tiny refactors for code parity with remove configmap.
* Update copyright notice.
2023-09-24 19:16:37 -04:00
yufei.li
0cfafddacc
feat: add remove secret command
...
(cherry picked from commit 63d44f5e88 )
chore: fix for lint
(cherry picked from commit 21edcd0582 )
fix: correct lint issues
(cherry picked from commit 0c87856b2c )
fix: Resolve conversations
(cherry picked from commit 9ee5ab3a70 )
2023-09-24 18:07:55 -04:00
Kazuki Suda
f5ca753377
Update imdario/mergo to v0.3.13
...
Co-authored-by: Krzysztof Gibuła <krzysztof.gibula@gmail.com >
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com >
2023-09-24 16:34:45 +09:00
Kazuki Suda
0d4849ff98
Add a test case for issue 4905
...
```
===== ACTUAL BEGIN ========================================
apiVersion: v1
data:
config.yaml: "null"
kind: ConfigMap
metadata:
name: issue4905
===== ACTUAL END ==========================================
EXPECTED ACTUAL
-------- ------
apiVersion: v1 apiVersion: v1
data: data:
X config.yaml: |- config.yaml: "null"
X item1: 1 kind: ConfigMap
X item2: 2 metadata:
X kind: ConfigMap name: issue4905
X metadata:
X name: issue4905
hasgett.go:22: Expected not equal to actual
--- FAIL: TestHelmChartInflationGeneratorIssue4905 (0.24s)
```
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com >
2023-09-24 16:33:43 +09:00
Nick
e3b9afcfaa
Add CLI page to Reference Section ( #5304 )
...
* Add CLI page
Start operations section
Refine operations section
Add common operations
Address comments
* Move the cli content to the CLI section
Update the CLI description
2023-09-22 23:30:56 -07:00
Kubernetes Prow Robot
af781bfa5e
Merge pull request #5313 from bugoverdose/docs/api
...
Add API section to Reference Section
2023-09-22 22:56:55 -07:00
Kubernetes Prow Robot
7dd9637b1a
Merge pull request #5340 from koba1t/add_koba1t_to_approvers
...
add koba1t to approvers
2023-09-22 13:48:49 -07:00
koba1t
ddce57b585
add koba1t to approvers
2023-09-23 03:37:24 +09:00
Natasha Sarkar
11fc419cee
be more specific about reqs in contributing guide ( #5330 )
...
* be more specific about reqs in contributing guide
* fix wording
2023-09-22 11:14:48 -07:00
Kubernetes Prow Robot
a8dec66a84
Merge pull request #4486 from koba1t/feature/add_edit_set_labels_subcommand_add_option_for_labels_on_without_selector
...
add: "edit add labels" command adds an option for labels without selector
2023-09-22 09:36:50 -07:00
Kubernetes Prow Robot
7e541ca380
Merge pull request #5332 from roopeshvs/master
...
Disable CI Code Checks if all PR changes fall under `site/`
2023-09-20 14:46:02 -07:00
Kubernetes Prow Robot
1bd58bdc15
Merge pull request #5327 from stormqueen1990/feat/add-remove-configmap-command
...
feat: add remove configmap command
2023-09-20 14:32:01 -07:00
Mauren Berti
9107fa3c81
fix: changes from code review
...
* Replace last assert directive with require in the test.
* Change copyright notice.
2023-09-19 22:29:33 -04:00
Yigit Demirbas
df0cd3c4a3
modified to fix linter issues
2023-09-18 20:54:56 +02:00
Yigit Demirbas
f3b34c44b5
Add skip-validation flag to edit add resource cmd
2023-09-18 20:22:59 +02:00
Kurnianto Trilaksono
9e101ee97f
use doGoMod.sh forr go mod tidy
2023-09-18 23:17:11 +07:00
Roopesh V S
433be59ea7
ignore pr code checks for docs only changes
2023-09-18 19:49:11 +05:30
Jeong Jinwoo
2c444d6bf4
docs(api/kustomizaion-file): migrate field sections
2023-09-17 16:05:32 +09:00
Kurnianto Trilaksono
a90c19d577
Edit commentaries and ensure pluginator logic does not create diff
2023-09-17 00:23:32 +07:00
Kurnianto Trilaksono
8f283499e9
add go mod tidy before workspace sync
2023-09-16 21:47:23 +07:00
Kurnianto Trilaksono
d78fe665a7
add commentaries, change command order on presubmit-check
2023-09-16 21:47:23 +07:00
Kurnianto Trilaksono
532abf77e7
refactor: fix generate-kustimize-builtin-plugins, add diff checker on generate-kustomize-builtin-plugins, add go work sync on presubmit check, add generate-kustomize-builtin-plugins on presubmit check
2023-09-16 21:47:23 +07:00
yugo kobayashi
59696d1ace
fix a patch files accept multiple patches ( #5194 )
...
* fix a patch files accept multiple patches
* fix comments and variable name
* add error handling when using not allowed multiple strategic-merge patches
* fix error message of Multiple Strategic-Merge Patch file
* refactor transformStrategicMerge()
* add TODO comment and test for Multiple JSON patch Yaml documents are not allowed
* refactoring PatchTransformer
* add multiple patch test for PatchTransformer package
* improve error message to PatchTransformer
* refactor const and error message check
* fix some error messages
2023-09-15 16:20:13 -07:00
Jeong Jinwoo
d30e457031
docs(api/patches): fix broken links
2023-09-14 21:01:25 +09:00
Jeong Jinwoo
ae041b5c54
docs(api/generatorOptions): fill up empty links
2023-09-14 20:54:06 +09:00
Jeong Jinwoo
a2b60e4bcb
docs(api): fix broken links
2023-09-14 20:52:11 +09:00
Jeong Jinwoo
9d126f6dd8
docs(api/components): add Components guide from cli-experimental
...
- add reference to Concept page
2023-09-14 12:55:50 +09:00
Jeong Jinwoo
bd8045b648
docs(api/replacements): fix heavy check mark issue
2023-09-14 12:40:57 +09:00
Jeong Jinwoo
5c1a022a3c
docs(api): fix broken hyperlinks
2023-09-14 12:40:57 +09:00
Jeong Jinwoo
e19ca5405a
docs: setup API section with cli-experimental site
2023-09-14 12:40:54 +09:00
Kubernetes Prow Robot
56d37acc7d
Merge pull request #5261 from varshaprasad96/refactor/image
...
[Refactor] Move image to internal
2023-09-13 10:22:12 -07:00
Mauren Berti
0571a2f15d
Incorporate feedback from original PR
...
* Incorporate feedback left on original PR.
* Add more test cases.
* Minor refactoring and update to copyright notice.
2023-09-12 20:18:45 -04:00
yufei.li
0cdfa5b3dc
feat: add remove configmap command
...
(cherry picked from commit 0d7c56dcf8 )
fix: add logging when configmap not exists
(cherry picked from commit 0235f10b09 )
fix: correct lint issues
(cherry picked from commit 8ca1f3813b )
fix: Resolve conversation
(cherry picked from commit 927804dfe5 )
2023-09-12 19:21:55 -04:00
dependabot[bot]
7b9880aaab
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 01:11:25 +00:00
Anna Song
7c36ed21b3
Document AnnotationsTransformer ( #5247 )
...
* Restructure existing Reference docs
Restructure Reference section for site to better match k8s.io. Change
descriptions to complete sentences. Improve instructions to locally load
site.
* Document AnnotationsTransformer on site
Dcoument AnnotationsTransformer API under Reference on site.
* Document required fields
Document required fields and explain effects of optional ones.
* Make site setup instructions more explicit
* Link required K8s fields
2023-09-08 20:54:10 -07:00
Ed Overton
985835f96f
perf: limit initSchema calls from openapi.IsNamespaceScoped ( #5076 )
...
* test: add openapi.IsNamespaceScoped benchmark
Add a benchmark test for IsNamespaceScoped performance when the default
schema is in use.
* perf: limit initSchema calls from openapi.IsNamespaceScoped
Avoid calling initSchema from openapi.IsNamespaceScoped when possible.
Work done in #4152 introduced a precomputed namespace scope map based on
the default built-in schema. This commit extends that work by avoiding
calls to initSchema when a resource is not found in the precomputed map
and the default built-in schema is in use. In those cases, there is no
benefit to calling initSchema since the precomputed map is exactly what
will be calculated by parsing the default built-in schema.
* fix: delay parsing of default built-in schema
When namespace scope can be determined by the precomputed map but the
type is not present in the precomputed map, delay the parsing of the
default built-in schema.
If the schema to be initialized is the default built-in schema and the
type is not in the precomputed map, then the type will not be found in
the default built-in schema. There is no need to parse the default
built-in schema for that answer; its parsing may be delayed until it
is needed for some other purpose.
In cases where the schema is used solely for namespace scope checks, the
schema might not ever be parsed. Skipping the parsing reduces both
execution time and memory use.
* fix: correct openapi.go's schemaNotParsed value
openapiData initializes with defaultBuiltInSchemaParseStatus set to 0,
so schemaNotParsed should have 0 as its value.
2023-09-08 12:34:30 -07:00
Kubernetes Prow Robot
f81765b96e
Merge pull request #5320 from natasha41575/updatedeps
...
small fixes
2023-09-08 10:06:14 -07:00
natasha41575
a2ceaff053
small fixes
2023-09-08 11:38:23 -05:00
Kubernetes Prow Robot
94181b1be7
Merge pull request #5291 from irvifa/refactor/remove-setters-config-from-kyaml
...
refactor: Remove setters from kyaml
2023-09-08 07:54:14 -07:00
dependabot[bot]
9966387002
Bump joelanford/go-apidiff from 0.6.0 to 0.7.0
...
Bumps [joelanford/go-apidiff](https://github.com/joelanford/go-apidiff ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/joelanford/go-apidiff/releases )
- [Commits](https://github.com/joelanford/go-apidiff/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: joelanford/go-apidiff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 01:10:56 +00:00
Kubernetes Prow Robot
169fdd7330
Merge pull request #5196 from ephesused/issue4928-append-honors-key-style
...
fix: patch additions honor source key style
2023-09-01 09:06:33 -07:00
Ed Overton
78b8139d46
Merge branch 'master' into issue4928-append-honors-key-style
2023-08-30 12:30:49 -04:00
Kubernetes Prow Robot
76f8d2828b
Merge pull request #5197 from skitt/json-patch.v5
...
Switch to json-patch v5
2023-08-28 09:35:45 -07:00
Stephen Kitt
b692e49b1e
Switch to json-patch v5
...
json-patch was bumped to v5 in k/k as a result of
https://github.com/kubernetes/kubernetes/pull/118384 ; this aligns with
that, but switches to the v5 module, which is documented as
gopkg.in/evanphx/json-patch.v5.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-08-26 08:42:07 +02:00
Kubernetes Prow Robot
bd7f001c26
Merge pull request #5239 from koba1t/chore/change_release_flow
...
change release flow from using goreleaser to build scripts
2023-08-25 11:54:52 -07:00
Kubernetes Prow Robot
d6ff768298
Merge pull request #5262 from varshaprasad96/refactor/konfig
...
[Refactor] Internalize konfig constants
2023-08-25 10:18:52 -07:00
Irvi Aini
4947a905fa
refactor: Remove setters from kyaml
...
Kind:
Refactor
Summary:
Setters functionality is provided as a KRM function. We should remove code related to setters in cmd/config and kyaml.
As of now most setters2 and setters usage are related to fork of kpt, however, these:
[fluxcd/image-automation-controller](6827808a1a/pkg/update/filter.go (L24) ) with [kyml](6827808a1a/go.mod (L42) )
[rancher/fleet](0a6cf6cb92/internal/cmd/controller/controllers/image/update/setters.go (L16) ) with [kyaml](0a6cf6cb92/go.mod (L75) )
Repositories still using them, They pinned these two into a specific kyaml version. If we decide to go for this removal then we can make a release note that this is actually removed on the next version since we already marked this as deprecated before.
2023-08-24 00:39:47 +08:00
Kubernetes Prow Robot
cd9a16cfab
Merge pull request #5273 from natasha41575/pm
...
add description of PM role to contributing doc
2023-08-22 14:11:55 -07:00
natasha41575
02a53f193d
add description of PM role to contributing doc
2023-08-22 15:11:53 -05:00
koba1t
b1717c8a97
change_release_flow_to_build_scripts
2023-08-17 22:57:44 +09:00
Kubernetes Prow Robot
911ddcda40
Merge pull request #5263 from bugoverdose/fix/reject-on-id-change
...
Fix `reject` needing both current and previous ids
2023-08-14 09:19:22 -07:00
dependabot[bot]
daf06622a2
Bump nashmaniac/create-issue-action from 1.1 to 1.2
...
Bumps [nashmaniac/create-issue-action](https://github.com/nashmaniac/create-issue-action ) from 1.1 to 1.2.
- [Release notes](https://github.com/nashmaniac/create-issue-action/releases )
- [Commits](https://github.com/nashmaniac/create-issue-action/compare/v1.1...v1.2 )
---
updated-dependencies:
- dependency-name: nashmaniac/create-issue-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 00:53:35 +00:00
Jeong Jinwoo
9f1d5acdc8
fix: check both prev and current ids for filtering reject targets
2023-08-11 21:37:55 +09:00
Jeong Jinwoo
9756d92a91
test: demonstrate reject not working on targets with changed id
2023-08-11 21:37:07 +09:00
Natasha Sarkar
d32d1937e6
Merge pull request #5254 from natasha41575/unpineverything
...
release cleanup
2023-08-10 12:03:25 -05:00
Varsha Prasad Narsing
ddcbae54ab
[Refactor] Internalize konfig constants
...
This PR is an effort towards internalizing public APIs.
It moves some of the builtinconstants to internal/
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-08-09 14:14:48 -04:00
Varsha Prasad Narsing
ca748faa3f
[Refactor] Move image/ to internal
...
This PR is an effort towards reducing the public surface
of APIs. It move image/ to internal/image
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
(cherry picked from commit 1f5890709fdc17de6f44f42b5138dd0f7e64bc74)
2023-08-09 13:40:07 -04:00
Kubernetes Prow Robot
5e6cbac589
Merge pull request #5203 from varshaprasad96/add/goapi-diff
...
[Chore] Enable go-api-diff checker
2023-08-07 08:42:32 -07:00
natasha41575
ff75dd6cd5
release cleanup
2023-07-31 12:27:44 -05:00
Natasha Sarkar
f8391994b4
Merge pull request #5253 from natasha41575/pincmdconfigandapi
...
pin to cmd/config and api
2023-07-31 11:49:43 -05:00
natasha41575
5ce14e5024
pin to cmd/config and api
2023-07-31 11:28:25 -05:00
Natasha Sarkar
ee22c9cab7
Merge pull request #5252 from natasha41575/pinkyaml
...
pin to kyaml 0.14.3
2023-07-31 11:24:02 -05:00
natasha41575
4a893ce8c6
pin to kyaml
2023-07-31 11:08:00 -05:00
Kubernetes Prow Robot
9ce923ebeb
Merge pull request #5245 from yedayak/customization-typo
...
Fix typo in help for the create subcommand
2023-07-25 12:47:57 -07:00
Yedaya
494a807f28
Fix typo in help for the create subcommand
2023-07-18 09:58:14 +03:00
Varsha Prasad Narsing
820f17c73b
[Chore] Enable go-api-diff checker
...
This PR introduces go-api-diff checker in Makefile
and in CI to make sure we don't end up breaking APIs
unintentionally.
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-07-12 13:55:07 -04:00
Kubernetes Prow Robot
cd7ba1744e
Merge pull request #5189 from annasong20/test-relative-submodules
...
Add test for issue #5131
2023-07-12 10:03:13 -07:00
Anna Song
da4e881007
Add accumulateResources error tests for local files ( #5225 )
...
* Add accumulateResources error tests for local files.
Add tests demonstrating accumulateResources errors when the resource is
a local file. Works to address #4807 .
* Improve readability
2023-07-01 11:46:49 -07:00
Natasha Sarkar
878cda7c55
Merge pull request #5215 from natasha41575/unpin
...
release cleanup
2023-06-19 12:23:20 -05:00
natasha41575
47327616df
update latest release version
2023-06-19 12:06:16 -05:00
natasha41575
eeff67d88d
unpin everything
2023-06-19 12:05:59 -05:00
Natasha Sarkar
6adf4f294a
Merge pull request #5214 from natasha41575/pintoapi
...
pin to api
2023-06-19 11:53:36 -05:00
natasha41575
5e7cc3437d
pintoapi
2023-06-19 11:35:33 -05:00
Natasha Sarkar
ded76df3af
Merge pull request #5213 from natasha41575/pintocmdconfig
...
pin to cmd/config
2023-06-19 11:24:40 -05:00
natasha41575
d7362ed22d
pin to cmd/config
2023-06-19 11:07:36 -05:00
Natasha Sarkar
4711bfe40c
Merge pull request #5212 from natasha41575/pintokyaml
...
pin to kyaml
2023-06-19 11:02:27 -05:00
natasha41575
8c0e0b3b47
pin to kyaml
2023-06-19 10:45:18 -05:00
Ed Overton
096b2c4435
test: add psm test for different key types
2023-06-15 16:12:29 -04:00
Anna Song
129d0f90af
Add test for issue #5131
2023-06-14 18:32:12 +00:00
Ed Overton
c76fd5eb85
test: update psm key style test
2023-06-13 14:50:22 -04:00
Kubernetes Prow Robot
9e42f8d57e
Merge pull request #5177 from annasong20/test-accumulate-remote-file
...
Test accumulateResources errors for remote files
2023-06-13 07:33:59 -07:00
Anna Song
168e31bfb6
Add accumulateResources remote file error tests
...
Test accumulateResources errors when a remote file fails to load. This
is part of the effort to fix issue #4807 .
2023-06-09 21:31:27 +00:00
Daniel Strebel
d37c0eb477
fix(examples): move examples from patchesStrategicMerge to patches
2023-06-09 22:32:19 +02:00
Ed Overton
691b7d1df3
fix: patch additions honor source key style
...
When a patch appends a new node, it should honor the key style from the
patch. Prior to this commit, no style was applied, leading to problems
when the key value could be interpreted as a different type based on its
content. For example, "9110" needs quoting to ensure it is seen as a
string in yaml.
2023-06-08 17:21:46 -04:00
Kubernetes Prow Robot
336bc14e1a
Merge pull request #5195 from natasha41575/updatemaintainers
...
add Anna to maintainers
2023-06-08 10:00:13 -07:00
natasha41575
b2c39b61bb
add Anna to maintainers
2023-06-08 10:04:18 -05:00
Kubernetes Prow Robot
da31b966fb
Merge pull request #5187 from koba1t/update_go_1.20
...
Bump to go 1.20
2023-06-07 08:28:15 -07:00
Kubernetes Prow Robot
dce94267fb
Merge pull request #5030 from koba1t/fix/error_when_no_path_match
...
be error when no path matching
2023-06-07 07:42:13 -07:00
koba1t
d1647a51af
fix e2econtainer test
2023-06-07 02:19:55 +09:00
koba1t
5b76aa9d2f
update go 1.20
2023-06-06 22:39:06 +09:00
yugo kobayashi
0add0f95e2
change: components apply after all generators and transformers applied ( #5170 )
...
* change: components apply after all generator and transformer applied
* fix name for a test case
* add comment about when the components will be executed
* components are applied before transformer
2023-06-02 10:26:54 -07:00
Kubernetes Prow Robot
6ce0bf390c
Merge pull request #5186 from Jefftree/gnostic-dependency
...
Update gnostic dependency with gnostic-models
2023-06-01 09:59:47 -07:00
Jefftree
7c98e531f2
make test-go-mod
2023-05-31 19:54:13 +00:00
Jefftree
e1ab8c79c1
Replace gnostic with gnostic-models
2023-05-31 18:14:33 +00:00
Kubernetes Prow Robot
cf3e81b590
Merge pull request #4949 from koba1t/fix/add_check_kustomization_is_empty
...
add check that kustomization is empty
2023-05-26 10:36:53 -07:00
koba1t
565cff2d07
update test add KustomizationFile
2023-05-25 05:13:33 +09:00
koba1t
8383b28322
fix test case handling and update a function comment
2023-05-25 04:25:10 +09:00
yugo kobayashi
e1c530e420
fix breaking examples ( #5024 )
...
* fix examples?springboot with no kustomization.yaml
* fix examples/loadHttp with legacy patch syntax
2023-05-24 10:02:50 -07:00
Natasha Sarkar
035924bc1e
Merge pull request #5175 from natasha41575/release-cleanup
...
release cleanup
2023-05-17 10:59:48 -05:00
natasha41575
fd508f0e3a
release cleanup
2023-05-17 10:41:37 -05:00
Kubernetes Prow Robot
9407e26433
Merge pull request #5155 from ephesused/eliminate-unnecessary-rnode
...
perf: eliminate unnecessary RNode creation
2023-05-09 15:27:55 -07:00
Natasha Sarkar
3cac8448d3
Merge pull request #5166 from natasha41575/pintoapinew
...
pin to api v0.13.4
2023-05-09 15:05:13 -05:00
natasha41575
84642b1fed
pin to api v0.13.4
2023-05-09 14:48:02 -05:00
Natasha Sarkar
fa574866b4
Merge pull request #5165 from natasha41575/pin
...
pin to kyaml and cmd/config released versions
2023-05-09 14:41:36 -05:00
natasha41575
4b807107a6
pin to kyaml and cmd/config released versions
2023-05-09 14:27:34 -05:00
Kubernetes Prow Robot
6bb62dd6ef
Merge pull request #5164 from kubernetes-sigs/revert-4999-fix-same-chart-multiple-versions
...
Revert "Fix using same helm chart with different versions"
2023-05-09 12:21:54 -07:00
Natasha Sarkar
3d6f40bd5e
Revert "Fix using same helm chart with different versions ( #4999 )"
...
This reverts commit 0f244a4a07 .
2023-05-09 13:16:22 -05:00
Kubernetes Prow Robot
c2bd42e774
Merge pull request #5162 from natasha41575/unpin
...
unpin everything
2023-05-05 13:53:16 -07:00
natasha41575
529a25d30b
unpin everything
2023-05-05 15:38:19 -05:00
Natasha Sarkar
ccdc148472
Merge pull request #5161 from natasha41575/api
...
pin to api 0.13.3
2023-05-05 15:30:10 -05:00
natasha41575
7dcb2a50ff
pin to api 0.13.3
2023-05-05 15:12:27 -05:00
Kubernetes Prow Robot
1e3215226e
Merge pull request #5160 from natasha41575/cmdconfig
...
pin to cmd/config v0.11.2
2023-05-05 13:03:01 -07:00
natasha41575
459d0198d9
pin to cmd/config v0.11.2
2023-05-05 14:49:36 -05:00
Natasha Sarkar
3abf91644e
Merge pull request #5159 from natasha41575/pintokyaml
...
pin to kyaml v0.14.2
2023-05-05 14:44:25 -05:00
natasha41575
1f98338481
pin to kyaml v0.14.2
2023-05-05 14:32:02 -05:00
Vijay
91078545e6
Update README.md
2023-05-05 09:57:10 +12:00
Vijay
467633c2de
Update README.md
2023-05-04 12:30:46 +12:00
Vijay
e44df7b386
Delete images directory
2023-05-03 13:49:41 +12:00
Vijay
bbff6768da
Update README.md
2023-05-03 13:49:15 +12:00
Vijay
0020a496f7
Merge branch 'kubernetes-sigs:master' into issue/5127
2023-05-03 13:34:39 +12:00
Kubernetes Prow Robot
5a3e920902
Merge pull request #5157 from KnVerey/update-maintainer-lists
...
Move inactive contributors to emeritus
2023-05-02 15:12:15 -07:00
Katrina Verey
96f893f350
Move inactive contributors to emeritus
2023-05-02 17:47:32 -04:00
Ed Overton
97c8cd7d1a
perf: eliminate unnecessary RNode creation
2023-05-02 13:15:01 -04:00
Kubernetes Prow Robot
ee3f506d10
Merge pull request #5145 from SimonTheLeg/deepcopy-for-meta-types
...
Add DeepCopy for ResourceMeta and ObjectMeta
2023-04-25 18:14:15 -07:00
Dustin Lish
0f244a4a07
Fix using same helm chart with different versions ( #4999 )
...
* Fix using same helm chart with different versions
* Fix p.ValuesFile when version is set
* Updated: Fix using same helm chart with different versions
* Add test for issue #4813
* Use if/else for readability, add version check to absChartHome
2023-04-24 15:09:02 -07:00
Simon Bein
c79916b1ba
Add DeepCopy for ResourceMeta and ObjectMeta
2023-04-24 20:19:33 +02:00
Kubernetes Prow Robot
2ce1c7cce3
Merge pull request #5133 from timja/issue-5072-non-core-api-version-namespace
...
Only override name of core api version
2023-04-18 14:40:58 -07:00
Tim Jacomb
75fa235498
Only override name of core api version
2023-04-18 09:41:28 +01:00
Tim Jacomb
7413c6a5fb
Regression test
2023-04-18 09:41:28 +01:00
Kubernetes Prow Robot
315ed56450
Merge pull request #5130 from KnVerey/fn-framework-example
...
Add a rich example of fn framework for abstraction
2023-04-14 12:34:41 -07:00
Vijay
9eddc3c5a7
Update README.md
...
- Changes to address https://github.com/kubernetes-sigs/kustomize/issues/5127
2023-04-14 18:09:34 +12:00
Katrina Verey
38d5bf8e09
Add licence and make script use current year
2023-04-13 17:45:47 -04:00
Katrina Verey
85d623bc86
Add a rich example of fn framework for abstraction
2023-04-13 16:57:50 -04:00
koba1t
928b823d8f
fix using reflect.DeepEqual for check kustomization is empty
2023-04-06 05:52:13 +09:00
koba1t
2c2b2ab825
add check that kustomization is empty
2023-04-06 05:32:08 +09:00
Kubernetes Prow Robot
d3184da4c6
Merge pull request #5111 from yutaroyamanaka/reenable-skipped-tests
...
Re-enable tests disabled in #3880
2023-04-05 11:45:48 -07:00
Kubernetes Prow Robot
eadb469712
Merge pull request #4924 from koba1t/chore/set_go_version_on_actions_from_gowork_file
...
Set go version on github actions from gowork file
2023-04-05 10:17:46 -07:00
yutaroyamanaka
2649d39fd3
docker build locally because gcr.io/kustomize-functions/e2econtainerconfig doesn't exist in the public
2023-04-04 18:22:43 +09:00
yutaroyamanaka
faab836ec9
use test helpers
2023-04-01 23:16:58 +09:00
yutaroyamanaka
c9f500cc0b
add another resource for making sure an existing resource isn't affeced by a generator
2023-04-01 23:13:04 +09:00
Yutaro
42bf3c0e2b
prevent all uses of YAML aliases from being overwritten by a transformer ( #5096 )
...
* return copied Node
* add a test case about imageTagTransformer for anchor scenario
* add TestPatchTransformerAnchor
* TestReplacementTransformerAnchor
2023-03-31 16:07:50 -07:00
Kubernetes Prow Robot
3b395a9da2
Merge pull request #5074 from plobsing/master
...
Only strip surrounding quotes if there are at least two characters.
2023-03-31 15:11:49 -07:00
Peter Lobsinger
633da991d2
Only strip surrounding quotes if there are at least two characters.
...
Otherwise, a value consisting of a single quote character triggers a
panic:
go test krusty/configmaps_test.go
--- FAIL: TestDataIsSingleQuote (0.00s)
panic: runtime error: slice bounds out of range [1:0] [recovered]
panic: runtime error: slice bounds out of range [1:0]
2023-03-28 14:17:47 -07:00
Kubernetes Prow Robot
e07b8a5d15
Merge pull request #5105 from koba1t/chore/use_enable-all_option_for_golangci-lint
...
use enable-all on golangci-lint
2023-03-27 14:26:21 -07:00
yutaroyamanaka
71a7a7df13
re-enabled TestFnContainerGenerator with enable-gcp-services
2023-03-27 23:00:24 +09:00
yutaroyamanaka
436a047617
re-enabled TestFnContainerTransformer with e2econtainerconfig container
2023-03-27 21:33:57 +09:00
xin gu
4d70a36c25
emove the kyaml/openapi/kubernetesapi/v1_21_2/swagger.pb ( #5077 )
2023-03-23 10:48:31 -07:00
koba1t
304d0e951f
use enable-all on golangci-lint
2023-03-23 05:54:54 +09:00
Kubernetes Prow Robot
2fdb35614d
Merge pull request #5080 from chlunde/perf-2
...
perf: Intersection: Avoid callid AllIds inside inner loop
2023-03-20 23:03:07 -07:00
Kubernetes Prow Robot
5dff9df1f7
Merge pull request #5099 from justinsb/dont_swallow_helm_errors
...
Don't swallow helm execution errors
2023-03-20 12:35:09 -07:00
Kubernetes Prow Robot
84682a1159
Merge pull request #5101 from justinsb/fixlint_2
...
Fix unused error value
2023-03-20 12:23:07 -07:00
justinsb
c151147258
Don't swallow helm execution errors
...
These are otherwise hard to debug.
2023-03-20 19:14:07 +00:00
justinsb
317fcadccb
Fix unused error value
...
The linter was complaining about err being unchecked.
2023-03-20 19:11:11 +00:00
Kubernetes Prow Robot
a2e9682002
Merge pull request #5100 from justinsb/fixlint
...
Fix lint task in CI
2023-03-20 10:27:19 -07:00
justinsb
5dcf0ae683
Fix lint task in CI
...
The lint task was failing at head, due to a nolint:exhaustive error
directive that golangci nolintlint believes is unused.
Issue seems to be https://github.com/golangci/golangci-lint/issues/3228
and seems to be a bug in golang-ci / nolintlint, using the workaround
proposed in https://github.com/golangci/golangci-lint/issues/1940
which is to clear the cache between runs.
2023-03-20 14:14:30 +00:00
Katrina Verey
ce3e394a41
Merge pull request #5091 from KnVerey/unpinEverything
...
Back to development mode; unpin the modules
2023-03-13 21:58:32 -04:00
Katrina Verey
0c92647760
Back to development mode; unpin the modules
2023-03-13 21:43:46 -04:00
Katrina Verey
39527da73c
Merge pull request #5090 from KnVerey/pinToApi
...
Update api to v0.13.2
2023-03-13 21:20:22 -04:00
Katrina Verey
fa90046136
Update api to v0.13.2
2023-03-13 21:07:40 -04:00
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
Carl Henrik Lunde
4842d8be60
perf: Intersection: Avoid callid AllIds inside inner loop
...
This shaves of another 8.5 seconds (one third) of the remaining execution
time for a kustomization tree with 4000 documents, reducing the execution
time from 27.46s to 18.94s
0.02s 0.062% 11.14% 8.45s 26.36% sigs.k8s.io/kustomize/api/internal/accumulator.(*ResAccumulator).Intersection
0.06s 0.19% 11.32% 8.32s 25.95% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).AllIds
before
(pprof) top25 -cum
Showing nodes accounting for 3.63s, 11.32% of 32.06s total
Dropped 614 nodes (cum <= 0.16s)
Showing top 25 nodes out of 171
flat flat% sum% cum cum%
0 0% 0% 27.46s 85.65% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 27.46s 85.65% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 27.46s 85.65% github.com/spf13/cobra.(*Command).execute
0 0% 0% 27.46s 85.65% main.main
0 0% 0% 27.46s 85.65% runtime.main
0 0% 0% 27.46s 85.65% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 26.95s 84.06% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0 0% 0% 22.09s 68.90% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 0% 22.09s 68.90% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0.29s 0.9% 0.9% 20.96s 65.38% sigs.k8s.io/kustomize/api/resource.(*Resource).CurId
0 0% 0.9% 13.61s 42.45% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).Append
0 0% 0.9% 13.60s 42.42% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).GetMatchingResourcesByCurrentId (partial-inline)
0.14s 0.44% 1.34% 13.60s 42.42% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).filteredById
0.05s 0.16% 1.50% 12.91s 40.27% sigs.k8s.io/kustomize/api/resmap.GetCurrentId
0.25s 0.78% 2.28% 12.48s 38.93% sigs.k8s.io/kustomize/api/resource.(*Resource).GetGvk (inline)
0.49s 1.53% 3.81% 12.23s 38.15% sigs.k8s.io/kustomize/kyaml/resid.GvkFromNode
0 0% 3.81% 11.61s 36.21% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).IgnoreLocal
0 0% 3.81% 10.47s 32.66% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).AccumulateTarget
0 0% 3.81% 10.47s 32.66% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateTarget
0.01s 0.031% 3.84% 10.46s 32.63% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateResources
0 0% 3.84% 10.43s 32.53% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateDirectory
0.64s 2.00% 5.83% 10.12s 31.57% sigs.k8s.io/kustomize/kyaml/yaml.visitMappingNodeFields
1.68s 5.24% 11.07% 9.48s 29.57% sigs.k8s.io/kustomize/kyaml/yaml.visitFieldsWhileTrue
0.02s 0.062% 11.14% 8.45s 26.36% sigs.k8s.io/kustomize/api/internal/accumulator.(*ResAccumulator).Intersection
0.06s 0.19% 11.32% 8.32s 25.95% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).AllIds
after
(pprof) top30 -cum
Showing nodes accounting for 5.04s, 22.63% of 22.27s total
Dropped 540 nodes (cum <= 0.11s)
Showing top 30 nodes out of 209
flat flat% sum% cum cum%
0 0% 0% 18.94s 85.05% github.com/spf13/cobra.(*Command).Execute
0 0% 0% 18.94s 85.05% github.com/spf13/cobra.(*Command).ExecuteC
0 0% 0% 18.94s 85.05% github.com/spf13/cobra.(*Command).execute
0 0% 0% 18.94s 85.05% main.main
0 0% 0% 18.94s 85.05% runtime.main
0 0% 0% 18.94s 85.05% sigs.k8s.io/kustomize/kustomize/v5/commands/build.NewCmdBuild.func1
0 0% 0% 18.40s 82.62% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).Run
0 0% 0% 13.65s 61.29% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).MakeCustomizedResMap (inline)
0 0% 0% 13.65s 61.29% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).makeCustomizedResMap
0 0% 0% 13.52s 60.71% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).Append
0 0% 0% 13.44s 60.35% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).GetMatchingResourcesByCurrentId (inline)
0.16s 0.72% 0.72% 13.44s 60.35% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).filteredById
0.04s 0.18% 0.9% 12.54s 56.31% sigs.k8s.io/kustomize/api/resmap.GetCurrentId
0.19s 0.85% 1.75% 12.49s 56.08% sigs.k8s.io/kustomize/api/resource.(*Resource).CurId
0 0% 1.75% 10.37s 46.56% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).AccumulateTarget
0 0% 1.75% 10.37s 46.56% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateResources
0 0% 1.75% 10.37s 46.56% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateTarget
0 0% 1.75% 10.34s 46.43% sigs.k8s.io/kustomize/api/internal/target.(*KustTarget).accumulateDirectory
0.19s 0.85% 2.60% 7.82s 35.11% sigs.k8s.io/kustomize/api/resource.(*Resource).GetGvk (inline)
0.42s 1.89% 4.49% 7.63s 34.26% sigs.k8s.io/kustomize/kyaml/resid.GvkFromNode
0.26s 1.17% 5.66% 6.01s 26.99% sigs.k8s.io/kustomize/kyaml/yaml.visitMappingNodeFields
0 0% 5.66% 5.76s 25.86% sigs.k8s.io/kustomize/api/internal/accumulator.(*ResAccumulator).MergeAccumulator
1.12s 5.03% 10.69% 5.75s 25.82% sigs.k8s.io/kustomize/kyaml/yaml.visitFieldsWhileTrue
0 0% 10.69% 5.57s 25.01% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).appendAll (inline)
0 0% 10.69% 5.55s 24.92% sigs.k8s.io/kustomize/api/internal/accumulator.(*ResAccumulator).AppendAll (inline)
0 0% 10.69% 5.55s 24.92% sigs.k8s.io/kustomize/api/resmap.(*resWrangler).AppendAll
0 0% 10.69% 4.73s 21.24% sigs.k8s.io/kustomize/api/internal/builtins.(*SortOrderTransformerPlugin).Transform
0 0% 10.69% 4.73s 21.24% sigs.k8s.io/kustomize/api/krusty.(*Kustomizer).applySortOrder
0 0% 10.69% 4.72s 21.19% sigs.k8s.io/kustomize/api/internal/builtins.applyOrdering
2.66s 11.94% 22.63% 4.63s 20.79% sigs.k8s.io/kustomize/kyaml/yaml.visitMappingNodeFields.func2
2023-03-12 15:50:11 +01: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
koba1t
694b3c9318
Add the test cases for check the file when edit add command
2023-03-01 04:20:59 +09: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
koba1t
cd49194383
fix tests
2023-02-09 05:35:45 +09: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
koba1t
53a4134379
fix error handling and test
2023-02-09 04:01:30 +09: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
koba1t
dfd2d7600d
be error when no path match
2023-02-04 00:57:56 +09: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
yugo kobayashi
ffd45f6893
Set go version on github actions from gowork file
2022-12-09 18:14:09 +00: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
koba1t
7aa33ff471
add edit add labels command add option for labels without selector
2022-02-24 09:49:31 +09: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
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
koba1t
26b9af0379
Allow setting every array element in replacements
2022-01-27 06:17:23 +09: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