kpt

Automate Kubernetes Configuration Editing

APACHE-2.0 License

Stars
1.6K
Committers
105

Bot releases are visible (Hide)

kpt - v1.0.0-alpha.4

Published by github-actions[bot] over 3 years ago

Changelog

cb99e1f2 Add test for eval structured output (#2017)
6ce5c769 Add test for priviledged execution (#2061)
d6354391 Add tests for nonexistent pkg/kptfile. (#1818)
53abff5c Address issues in version dropdown. (#2077)
8d16c5c8 Correct cross origin link typo. (#2019)
45dc792e Default to exit code 0 for resolved errors (#2087)
f75cf7bc Fix alpha name in the dropdown. (#2082)
a257d1b3 Fix breaking diff test (#2036)
18bacc03 Fix link to CONTRIBUTING.md
49d9049d Fix minor typo in render reference doc (#2072)
eaf4c422 Fix some Functions docs typos. (#2011)
023be3ae Fix typo 04-using-functions
f54bd929 Format entire package during render and eval (#2024)
a02d902b Generator with subpackages (#2095)
f386d46a No label_name and label_value in doc (#2008)
a9be35a3 Only copy root packages for remote diffing. (#1984)
e747e344 Organize site directory (#2023)
d3bc5a70 Refactor kpt live init and kpt live migrate commands (#2034)
b6ad66da Refactor kpt live status command (#2073)
0098cbd7 Remove preview and diff (#2049)
8b1a4dda Rename set-labels and set-annotations (#2018)
50a7e22e Return fast if include-meta-resources (#2021)
2923de02 Revert "Visually distinguish docs on new site (#2070)" (#2074)
2d08c270 Round trip Kptfile for consistent formatting (#2058)
6c985915 Run Kind e2e tests on next branch (#2035)
0d936d6b Simplify apply cobra command (#1972)
029b577a Simplify destroy command (#2047)
e579b39b Support bash script in the e2e test runner (#2032)
dda13ed0 Support fetching subpackages using tag partials. (#2045)
08d479d1 Temporarily disable gatekeeper function (#2031)
af9928c4 Test behavior of kpt live init when there is not Kptfile (#2083)
72b1e3a4 Update 02-imperative-function-execution.md (#2007)
092cd182 Update 03-developing-in-Go.md (#2066)
6d0200df Update 04-developing-in-Typescript.md (#2064)
f7acbb26 Update 04-developing-in-Typescript.md (#2065)
fe9e508e Update cli-utils dependency and code in thirdparty (#2088)
ffebc334 Update installation doc for v1.0.0-alpha.3 release
153da97c Update logic for display path (#1906)
20338dcb Update supported platforms
0e1099d2 Update top-level README.md with link to sites
21cfe9ec Update ts-guide.md
9db9134b Update ts-guide.md
901cf1f6 Use set-label instead of apply-setters in wordpress package. (#2016)
3730e9b8 Visually distinguish docs on new site (#2070)
b53f1c2e add error types for kptfile validation and image (#1999)
aae8da6a add test for env in eval (#2079)
dc669d85 add test for eval stdout (#2062)
5aaa1a3b add test for out-of-place sink (#2081)
f245c3c9 added github pre-commit hook for make generate (#2025)
cb0421eb book: chapter 5 part 1 (#2057)
3409ae4c doc: minor typo in 5.0
2bc96b0e e2e test cases for fnconfig for fn-render (#2059)
814cb522 enforce fn render path invariants (#2027)
b5905f98 fix e2e tests caused by https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/304 (#2012)
fdecff46 fn eval reference docs (#1981)
54741cfe fn sink and source reference docs (#2013)
26b36962 support both ts and go sdk formats for fn results (#2086)

Docker images

  • docker pull gcr.io/kpt-dev/kpt:v1.0.0-alpha.4
  • docker pull gcr.io/kpt-dev/kpt:next
  • docker pull gcr.io/kpt-dev/kpt-gcloud:v1.0.0-alpha.4
  • docker pull gcr.io/kpt-dev/kpt-gcloud:next
kpt - package-examples/nginx/v0.5

Published by frankfarzan over 3 years ago

kpt - package-examples/wordpress/v0.4

Published by frankfarzan over 3 years ago

kpt - v1.0.0-alpha.3

Published by github-actions[bot] over 3 years ago

Changelog

d2dc33fe Add @droot as codeowner for fn e2e tests (#1957)
24f066a7 Add e2e tests for structured results (#1975)
7efaad8a Add e2e tests to exercise formatting behavior (#1966)
c4e21e1e Add flags for live commands (#1990)
2370c6a9 Add reference docs for remaining pkg and live commands (#1950)
01cf4646 Align UX of packaging with the hydration UX (#1885)
09e768fe Audit reference docs and clean-up (#1643)
732eb52d Better handle pkg updates with name and namespace changes (#1760)
1d17e415 Clarify general CLI synopsis
0d475ee5 Clean up installation doc
a6799e6a Consistent formatting for eval (#1985)
e70cb51c Fix diff command upstream resolution (#1987)
17c8185b Fix internal path for content verification. (#1983)
b1a03232 Fn render reference (#1944)
5c447769 Format wordpress and nginx examples packages. (#1970)
b09cb61b Hide cat command, cleanup generated docs (#1996)
a42b3399 Improve Diffing Output and Errors (#1943)
044d8d10 Improve error messages to users for kpt pkg update (#1887)
97a62e7e Improve error messages when failing to read/parse Kptfile (#1977)
8b61e6db Introduce Additional Diff Tests (#1914)
78b06c2f Introduce new icon to site. (#1921)
3724a7b1 Make testing stdout and stderr optional in the e2e test harness (#1979)
1e8c60e1 Point to correct site checker. (#1930)
289c65a7 Remove draft flag from next releases (#1995)
153b1cef Update Nginx and Wordpress examples with protocol (#1936)
5c490640 Update README.md (#1974)
11eacb5d Update diff documentation to use correct flag name (#1945)
e048358a Use target=_self only for function catalog. (#1954)
07b41226 Verbatim for kpt general command (#1978)
19371100 kpt fn CLI output enhancement for success structure results (#1961)
47c130c4 book: chapter 4 part 1 (#1935)
7178667e book: chapter 4 part 2 (#1991)
1e49dde4 improve kpt fn render error messages (#1955)
f1436068 kpt fn: function result support (#1923)
c8c3a89c new eval tests (#1967)
58b005fa remove eval flags (#1965)
baf5e6fe update kyaml version (#1934)

Docker images

  • docker pull gcr.io/kpt-dev/kpt:v1.0.0-alpha.3
  • docker pull gcr.io/kpt-dev/kpt:next
  • docker pull gcr.io/kpt-dev/kpt-gcloud:v1.0.0-alpha.3
  • docker pull gcr.io/kpt-dev/kpt-gcloud:next
kpt - package-examples/nginx/v0.4

Published by frankfarzan over 3 years ago

kpt - package-examples/wordpress/v0.3

Published by frankfarzan over 3 years ago

kpt - v1.0.0-alpha.2

Published by github-actions[bot] over 3 years ago

Changelog

87191859 Add additional tests for kpt pkg update (#1848)
893268f5 Add functions catalog back to sidebar. (#1908)
7e85e461 Add functions catalog to the sidebar template. (#1909)
d40e7deb Add types for structured function results (#1629)
608ecf1b Address doc typos (#1853)
255569bd Align eval output with render (#1907)
05596cbc Better errors for git failures (#1871)
631a7538 Extract container runtime & fn error resolver (#1877)
479c762b Fix bad generated docs errors. (#1879)
10d32a34 Fix minor formatting and go.sum (#1874)
8cce847d Format output of render command (#1813)
285b171b Minor nginx formatting (#1897)
d36d049a Move cluster-related flags to live subcommand (#1891)
6219473d Move error handling for kpt live commands into kpt error resolver (#1840)
c3132208 Specify package name in 02-exploring-a-package.md
9d6733bd Unwrap kpt errors to prevent printing stacktrace (#1880)
87c72d6a Update live reference docs (#1902)
87a96ece Update wordpress example with formatted resources (#1895)
20bb4f81 kpt fn render ensures validators don't mutate resources (#1896)
48cd9c1b book: Address feedback from M2-2 fishfood. (#1878)
47bbdb30 make eval to use kpt container & exec runtime (#1898)
690249b7 remove extra new lines before error messages (#1875)
750401c5 update test fn-render/multiple-fnconfig (#1839)
edd0a1b2 use the right gatekeeper image (#1919)

Docker images

  • docker pull gcr.io/kpt-dev/kpt:v1.0.0-alpha.2
  • docker pull gcr.io/kpt-dev/kpt:next
  • docker pull gcr.io/kpt-dev/kpt-gcloud:v1.0.0-alpha.2
  • docker pull gcr.io/kpt-dev/kpt-gcloud:next
kpt - package-examples/wordpress/v0.2

Published by frankfarzan over 3 years ago

kpt - package-examples/wordpress/v0.1

Published by frankfarzan over 3 years ago

kpt - package-examples/nginx/v0.1

Published by frankfarzan over 3 years ago

kpt - v0.39.2

Published by kpt-robot over 3 years ago

Highlights

  • Fixes an issue where the kpt live commands didn't correctly use name or label to look up inventory objects.
  • Adds a new inventory-id flag to kpt live init when using the ResourceGroup CRD for inventory objects.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.10.17
sigs.k8s.io/kustomize/cmd/config v0.9.10
sigs.k8s.io/cli-utils v0.25.0

Changelog

b60bfd0f Allow users to specify the inventory id for RG with flag (#1766)
cf588df6 Update dependencies and address changes in the API (#1763)
b61a8166 kpt 0.39.1 brew (#1741)

kpt - v0.39.1

Published by kpt-robot over 3 years ago

Highlights

Includes a fix for index out of range errors.

Docker Images

Changelog

1143eb68 Update Go to 1.15 in Releases + Check Licenses CI (#1665)
7c806740 Update cmd/config (#1686)

kpt - v0.39.0

Published by kpt-robot over 3 years ago

Highlights

  • Introduces a new kpt container image based on the cloud-sdk container images: gcr.io/kpt-dev/kpt-gcloud
  • A fix when using --strategy=resource-merge that prevents dropping Kptfiles from nested subpackages during an update

Changelog

f2b3b6d5 Add Kpt + Gcloud Image Definition (#1553)
9a46cb93 Add workaround for dependency license scan. (#1605)
12b625f2 Fix Dockerfile Location (#1595)
1f3ff890 Fix GoReleaser target publish location (#1620)
983ea742 Fix for fix of license check (#1613)
57e578e2 Merge kptfiles from newly added subpackages in upstream (#1588)
f56f41ff Migrate dockerfile to release directory (#1566)
d9bbb3ff Update homebrew for v0.38.1 (#1525)
5bafd6a1 Update kyaml, cmd/config, cli-utils (#1594)
0dce0334 Upgrade k8s.io dependencies. (#1540)

kpt - v0.38.1

Published by kpt-robot over 3 years ago

Highlights

  • Fixes an issue where the kpt preview command no longer returned a non-zero exit code if there was any errors.
  • Changes the default behavior of the kpt cfg list-setters command to no longer include setters in all subpackages.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.10.13
sigs.k8s.io/kustomize/cmd/config v0.9.5
sigs.k8s.io/cli-utils v0.23.5

Changelog

39c45a07 Add help message when diff fails (#1466)
a1679f71 E2E Testing Environment for Kpt Live Tests (#1492)
62271c33 Fix doc link 404's (#1473)
d91ac21e Introduce 3 issue templates and links (#1097)
70056fce Rename config.yaml -> config.yml (#1482)
a079ada2 Run Additional Checks on Pushes to Master (#1478)
ca4befc2 Update Diffing Display (#1419)
153c5452 Update diff-tool-opts docs for correctness. (#1467)
23b91a80 Update e2e tests to run on pull/push (#1497)
e8bc7e5b Update homebrew for v0.38.0 (#1450)
bf686be5 Update to latest version of dependencies (#1504)
55065c2e updating go-version to 1.15 across the board. (#1477)

kpt - v0.38.0

Published by kpt-robot over 3 years ago

Highlights

Upgrade to ResourceGroup as the inventory object opt-in alpha feature is available in this release. While the current implementation of kpt live commands use a ConfigMap as the inventory object, in the future a ResourceGroup custom resource will fulfill this function. Please follow the previous link to the instructions on how to enable this feature to experiment and verify. This feature is not recommended for production clusters.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.10.9
sigs.k8s.io/kustomize/cmd/config v0.8.9
sigs.k8s.io/cli-utils v0.23.2

Changelog

b22f1909 Add 2021 roadmap for kpt
8be3f718 Add Github Action to check for broken site links (#1393)
cb91d2ef Add generic function for updating the annotations only (#1351)
dd27ed3a Address fishfood feedback
3078d5eb Adds RBAC error during apply end-to-end test case (#1425)
b57890de Adds flags and k8s cluster versions to e2e test
7440c9a4 Adds kpt live install-resource-group command
af47564d Adds license
84516801 Adds option to kpt e2e test to build using dependencies at HEAD
f952ebb2 Adds output to kpt live init for ResourceGroup and flag
5591b68a Adds server-side apply docs to kpt live apply
dffd348f Another fix for internal links for ResourceGroup alpha docs (#1384)
a127029c Binary only release artifacts (#1385)
10da133d Bump ini from 1.3.5 to 1.3.8 in /site (#1292)
5a106e3d Changed testdata dir names to convey how they work together
213eeae5 Check if required setters are set
1a13ac17 Continue on error test (#1370)
b0bfa1eb Create arm64 binaries for kpt releases (#1320)
1b0590aa Documentation for ResourceGroup as inventory object (alpha) (#1357)
72963ca6 Fix ReadFile in kptfileutil to avoid reading Kptfile in wrong directory
03be6c57 Fix e2e test that depends on env
9666b27c Fix link to roadmap in README.md
8a1032f5 Fix parsing of repos with .git (#1398)
76810acb Fix typos (#1330)
4532ab1e Fix: consumer guide link (documentation) (#1118)
35b3e859 Fixes bug in dry-run for kpt live migrate
a37430d8 Fixes bug when validating ResourceGroup after storing zero inventory
0a309cae Fixes init (alpha) command link collision (#1389)
2311c463 Fixes links in docs for ResourceGroup alpha commands (#1374)
bce05124 Fixes panic when inventory is empty
34bc5a80 Handle path parser non-array case (#1427)
52dc5b35 Handle relative vs abs paths in cobra command for update
c7a3e136 Improve the test framework for update functionality
43fc13ed Minor spelling update (#1354)
9f852236 Move TestSetupManager into a separate package
ed05ef1c Put double quotes in error messages with resources (#1365)
8017d959 Remove use of golangplus test framework
dd84ec24 Setter Inheritance: Handle no definitions in parent (#1423)
7bfefb73 Small fixes to kpt live e2e test
8201c64d Squashed commit of the following: (#1318)
d0762af3 Support advanced path expressions
18322211 Support basic path expressions
4a651ee9 Support raw files in package builder
6067c824 Unify ResourceGroup CRD installation output
3a924b4a Update Homebrew to v0.37.1 (#1317)
13915489 Update fn run docs. (#1361)
df3f9e7c Update dependencies for v0.38.0 (#1446)
5d3804c5 Update error handling for e2e test; adds tests
8af1eae7 Update kpt live init documentation. (#1397)
e583b41f Update latest libraries master
998d233e Updates continue-on-error e2e test case (#1426)
0496e5f3 Updates kpt to use cli-utils version 0.23.0 (#1420)
fa39a590 Updates migrate no ConfigMap error to be success
08d4240c Use golang subtests in update tests
ed056617 add .spec.subgroups field in ResourceGroup CRD (#1335)
c770c71e add a function to create a ResourceGroup unstructured (#1344)
e3cee45f add e2e test for kpt live apply (#1315)
3c894891 address comments
681f2751 change group version of Kptfile to constants
e9daa870 change the inventory field to pointer
5f8f9a04 e2e/live/end-to-end-test.sh (#1338)
8dca511e kpt live end-to-end test script
9cdfdd53 kpt run CRD installation before live apply
b2aa5c0f modify client function to update both labels and annotations (#1360)
c8fc3d20 split the provider interface
23b736dc update functions for wrapping an inventory ResourceGroup (#1391)
d2f60907 upload the resourcegroup crd for apiextensions.k8s.io/v1
8695bbb3 use preprocessing to handle the first time apply with inventorypolicy (#1382)

kpt - v0.37.1

Published by kpt-robot almost 4 years ago

Highlights

Fixes issue where multiple functions declared in the same file might not run in the correct order (PR)

Dependencies

sigs.k8s.io/kustomize/kyaml v0.9.5
sigs.k8s.io/kustomize/cmd/config v0.8.5
sigs.k8s.io/cli-utils v0.21.1

Changelog

895a603b Update kyaml to v0.9.5

kpt - v0.37.0

Published by kpt-robot almost 4 years ago

Changelog

42e9f07d Adds migrate command hidden behind env var
50b4756a Adds migrate-specific error message
463c4ab5 Defer openAPI cleanup
40516b00 Dual-delegating provider allows ConfigMap and ResourceGroup inventory
ae7d9fab First version of kpt live migrate command
8ea27e53 Fix substitution name in guides
19c2b849 Fixes copyright author assigning to Google LLC
c7e0949b Fixes migrate command bug
38939497 Fixes missing license and gofmt error
85faa851 Improve test coverage for updates of packages
ad2cf2b0 Search and replace functionality
db236d77 Update Homebrew v0.36.1
5671d7d6 Update dependencies for release
e8177182 implement put-pattern
195b5bbf removing the function examples.
b1cba643 removing the helloworld-generate example.
b92496a6 removing travis build instructions

kpt - v0.36.1

Published by kpt-robot almost 4 years ago

Highlights

Setter Inheritance: When a remote kpt package is fetched(/updated) into local directory, kpt searches for its closest parent directory(if any) with a Kptfile in the file system and auto-fills matching setters in the fetched(/updated) package with the setter values from the parent package. Setters are matched based on setter names.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.9.3
sigs.k8s.io/kustomize/cmd/config v0.8.4
sigs.k8s.io/cli-utils v0.21.0

Changelog

6d0976fb Update homebrew version v0.36.0
d2fb2bf8 UpdateOpenAPI CleanUp Logic SetterInherit

kpt - v0.36.0

Published by kpt-robot almost 4 years ago

Highlights

Setter Inheritance: When a remote kpt package is fetched(/updated) into local directory, kpt searches for its closest parent directory(if any) with a Kptfile in the file system and auto-fills matching setters in the fetched(/updated) package with the setter values from the parent package. Setters are matched based on setter names.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.9.3
sigs.k8s.io/kustomize/cmd/config v0.8.4
sigs.k8s.io/cli-utils v0.21.0

Changelog

42a54880 Inherit setter values from parent package
d1931b61 Plumb the Provider through kpt into cli-utils
c5fc57df Revert "remove stale example"
a348747a Update deps and address api changes
cd256b93 Update home brew v0.35.0
fe31e6af Update v1 setters deprecation message
ad11a8e4 Updated refs for v0.36.0
82af88b7 Write toolchain path based on name.
d37cdcee change the group and version of ResourceGroup
33d99f60 include labels and annotations when generating ResourceGroup
409ff863 move ResourceGroupProvider to pkg/live
059f192c remove stale example

kpt - v0.35.0

Published by kpt-robot about 4 years ago

Highlights

Github repositories with main as default branch are supported along with master providing backwards compatibility. If both main and master branches are present, master is considered as default. Please refer to main as default branch name for more context.

kpt fn run supports --as-current-user flag. This flag indicates kpt to use the uid and gid that kpt is running with to run the function in the container.

kpt fn run supoorts -e/--env flag. This flag can be used multiple times in the command line. It follows the same format with --env flag in docker run. The value can be in key=value format or only the key of an already exported environment variable. kpt will not set any environment variable by default.

--network-name flag is removed from kpt fn run. To enable network for functions, use the --network switch.

Dependencies

sigs.k8s.io/kustomize/kyaml v0.9.2
sigs.k8s.io/kustomize/cmd/config v0.8.3
sigs.k8s.io/cli-utils v0.20.6

Changelog

e4399795 Add descriptions for generators, transformers and validators.
3d2c2f47 Add license section
04b13a21 Add pipeline diagram to front page of catalog.
a219add8 Add top-level index page for KRM functions.
8d4bb6ef Add who would write a function.
83a394b2 Adds ResourceGroupPathManifestReader
406d1e79 Adds ResourceGroupStreamManifestReader to ResourceGroupProvider
f2d71292 Adds labels/annotations to inventory section of Kptfile
36cc2473 Autosetters during pkg update
1f5ac47a Capitalization fix.
6d40df48 Composite Packages concepts
bc7e90ec Delete references to config funcs as KPT functions
d1ebd84b Fix package typo.
bc3b5b13 Fix spacing lint error.
61ba7f93 Flatten catalogs with parent function information.
9d6b0ba3 Generate packages.go
da2836be Ignore node_modules files from site gen.
48ba56f6 Improve the content of the default generated README.md file
82e72879 Make catalog landing page static.
48ef2604 Move catalog index above export flow.
e972dc07 Move internal/kptfile to pkg/kptfile to make it vendorable
ec343a74 Newline update for documentation templates.
28c1710d Remove blank line.
9c94bd99 Remove broken catalog link.
51066e91 Remove miscellaneous functions from catalog.
d941447f Remove superfluous markdown aliases.
1d1eeec9 Rename function-example directory.
6d9851dc Rename index script to index_generator.
7754497b ResourceGroup implementation of Provider interface
038b5f10 Separate functions into different pages.
39fcca08 Standardize KPT capitalization.
334b3b75 StreamManifestReader for ResourceGroup inventory
a3a194fe Support git master rename to main
a7418e75 Turn consumer guides into executable tests
b4da3284 Turns the consumer init and setter guides into tests
10007384 Update CliUtils Version
d54fa9fb Update cmd/config, kyaml and cli-utils dependencies
60e40abc Update docs to match newline requirements.
985bfcf4 Update kpt to latest references
1d4e1d6d Update make gencatalog to address correct indices.
84aeece2 Update package path.
5674f57e Updated _index.md. Fixed minor typo.
65960500 Upgrade linter version
28bff358 Use new KRMFileName function in cmd/config
dead45bf duplicate error display is removed
3c44efbf kpt init command updates Kptfile inventory parameters
01e77db4 update homebrew to v0.34.0

Package Rankings
Top 5.58% on Proxy.golang.org