Jeffrey Regan
861c86a70a
Simplify plugin tests.
2019-12-02 17:12:59 -08:00
Jeffrey Regan
382c330f5b
Consolidate test harness to one package.
2019-12-02 12:29:10 -08:00
Jeff Regan
daa14ae4bd
Merge pull request #1875 from lalyos/fix-sed-plugin
...
fix quotation issues by using a bash array
2019-12-01 07:54:07 -08:00
lalyos
cf5d3e73c0
fix quotation issues by using a bash array
...
see: http://mywiki.wooledge.org/BashFAQ/050
2019-11-30 21:51:32 +01:00
jregan
d98af3f06a
Add PrintPluginEnv plugin.
2019-11-30 09:58:11 -08:00
jregan
038c070626
Simplify and document plugin test harness.
2019-11-29 07:30:42 -08:00
Jeffrey Regan
ee8598dcbd
Unpin all the plugins (non-builtins too).
2019-11-25 08:47:30 -08:00
Jeff Regan
c856f800d0
Revert "Replacement poc"
2019-11-21 16:39:57 -08:00
Jeff Regan
b86bea9749
Merge pull request #1631 from Liujingfang1/replacement-poc
...
Replacement poc
2019-11-21 15:11:37 -08:00
Roberto C. Morano
ffeae451ab
added support for 'chartRelease' (stable|incubator) and 'chartVersion' (0.0.1)
2019-11-13 19:30:46 +01:00
Jeffrey Regan
2dd148af24
Pin kustomize and the plugins to kust Api v0.2.0
2019-11-11 19:47:28 -08:00
Jeffrey Regan
1db0248748
Pin kustomize API to pseudok8s v0.1.0
2019-11-11 17:45:19 -08:00
Jingfang Liu
3e4354dfb8
add test with diamond shape
2019-11-11 09:06:51 -08:00
Jingfang Liu
06e10cc084
add replacement transformer
2019-11-11 09:03:17 -08:00
jregan
10cd82ce31
Update go.sums
2019-11-09 14:42:29 -08:00
Phillip Wittrock
3dfe62fe55
switch to pseudo/k8s deps
2019-11-08 16:48:42 -08:00
Jeffrey Regan
dbf8a0fde4
Invoke plugin unit tests in presubmit.
2019-11-07 15:54:20 -08:00
Jeffrey Regan
2b1749778f
Unpin all the plugins, so we can test against head b4 release.
2019-11-07 15:28:04 -08:00
Jeffrey Regan
300383959d
Remove plugins packages from external API.
2019-11-06 18:31:33 -08:00
Jeff Regan
ff59e9b52f
Merge pull request #1681 from rcmorano/feature/add-releaseName-and-releaseNamespace-support
...
Add support to render charts using '.Release.Name' and .Release.Namespace'
2019-10-25 10:33:59 -07:00
Jeffrey Regan
6e2335ec3d
Move plugins to api/v0.1.1
2019-10-24 16:32:12 -07:00
Roberto C. Morano
3928ada0e5
Add support to inflate charts including '.Release.Name' and .Release.Namespace' references in templates
2019-10-23 10:15:54 +02:00
Jeffrey Regan
5416ae7365
Introduce API module.
2019-10-21 15:21:04 -07:00
Jeffrey Regan
46524d3b6a
Introduce API module.
2019-10-21 13:30:31 -07:00
Jeffrey Regan
0cf2057fc5
Install generated plugin code into the API module.
2019-10-21 11:15:51 -07:00
jregan
951d15bf17
Make api/plugins
2019-10-20 15:12:13 -07:00
jregan
3af5a8afea
Make resource, resmap public.
2019-10-20 10:51:20 -07:00
jregan
5de000ee3d
Move FieldSpec to API.
2019-10-20 06:52:13 -07:00
Jeffrey Regan
e5c8b5ec8f
Start api directory, which will become a module.
2019-10-17 14:01:20 -07:00
jregan
07d2500ee3
Make types package public.
2019-10-16 16:41:43 -07:00
Jeffrey Regan
4e9d42fae7
Move kv loader code to public package.
2019-10-15 16:52:03 -07:00
Jeffrey Regan
41a008e9a3
Start pluglib, a set of public, plugin specific functions.
2019-10-14 19:43:55 -07:00
jregan
72d9b4cbca
Remove minecraft version check from chart plugin tests.
2019-10-12 12:52:36 -07:00
jregan
b306f8511c
Fix some nits
2019-10-12 07:42:04 -07:00
jregan
78d14d0d75
Introduce dummy program to help with API releases.
2019-10-08 15:15:24 -07:00
Jeffrey Regan
baa0296a12
Reduce size of pgmconfig package
2019-10-03 18:22:05 -07:00
Jeff Regan
9288dec02a
Fix failing BashedConfigMapTest
2019-09-26 09:56:04 -07:00
Richard Marshall
ac9424fa3e
tests: Add unit tests for update resource options
2019-09-26 08:41:41 -07:00
jregan
2050afdeb4
Ease doing custom configuration of builtin plugins.
2019-09-13 14:45:36 -07:00
Yujun Zhang
4cb883863f
plugin/go-getter: support urls including :
2019-09-09 15:39:45 +08:00
Yujun Zhang
6a4150d199
Amend go-getter plugin document according to comments
2019-09-05 13:57:20 +08:00
Yujun Zhang
ed920afb2e
Support setting command in go-getter plugin
...
This allows one to use non-kustomization remote source
2019-09-02 14:53:18 +08:00
Yujun Zhang
ed91bce275
Add example plugin for go-getter
2019-08-30 11:14:46 +08:00
jregan
bc303c4629
in plugin executor remove unnecessary code and improve error messages
2019-08-19 20:23:07 -07:00
jregan
fa834f9541
Fix non-travis tests.
2019-08-19 16:29:00 -07:00
Richard Marshall
095333ffb1
Update references to NewEnvForTest
2019-07-10 20:43:50 -07:00
Seth Pollack
2126b6cf23
use ObjectMeta instead of name and namespace fields
2019-06-29 23:30:50 -04:00
Jeffrey Regan
233b3613ae
Add ObjectMeta type.
2019-06-28 14:39:56 -07:00
jregan
cc0fffc67b
Fix some random Go nits.
2019-06-25 20:46:56 -07:00
jregan
a7df00c07a
Starting v3 release for plugin developers.
...
[doc]: https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
Per this Go modules [doc] a repo or branch that's
already tagged v2 or higher should increment the major
version (e.g. go to v3) when releasing their first Go
module-based packages.
At the moment, the kustomize repo has these top level
packages in the sigs.k8s.io/kustomize module:
- `cmd` - holds main program for kustomize
Conceivably someone can depend on this
package for integration tests.
- `internal` - intentionally unreleased subpackages
- `k8sdeps` - an adapter wrapping k8s dependencies
This exists only for use in pre-Go-modules kustomize-into-kubectl
integration and won't live much longer (as everything involved is
switching to Go modules).
- `pkg` - kustomize packages for export
This should shrink in later versions, since
the surface area is too large, containing
sub-packages that should be in 'internal'.
- `plugin` - holds main programs for plugins
This PR changes the top level go.mod file from
```
module sigs.k8s.io/kustomize
```
to
```
module sigs.k8s.io/kustomize/v3
```
and adjusts all import statements to
reflect the change.
2019-06-23 15:05:59 -07:00