Phillip Wittrock
62e969c719
cmd/config set: Support for setting fields imperatively from the cli
2019-12-16 10:39:55 -08:00
Sean Sullivan
1cae8f9858
Rename misspelled commands.go
2019-12-12 16:32:51 -08:00
Phillip Wittrock
7bdb5d3cfa
expose apply Options so we can tune them
2019-12-12 15:22:27 -08:00
Jeffrey Regan
bb03507d98
Go mod tidy b4 release.
2019-12-12 14:24:06 -08:00
Phillip Wittrock
98d2be5550
refactor cmd/config to internal
2019-12-12 12:46:31 -08:00
Phillip Wittrock
6dbed7c16c
copy apply and diff commands from kubectl
2019-12-12 10:23:47 -08:00
Phillip Wittrock
1a3f622207
regenerate docs and license
2019-12-12 10:22:12 -08:00
Jeffrey Regan
ee678d6ce9
Upgrade to mdrip 1.0.1
2019-12-12 09:26:11 -08:00
Phillip Wittrock
6484259632
Disable alpha kustomize commands by default.
...
- enable alpha commands with env KUSTOMIZE_SHOW_ALPHA_COMMANDS=true
2019-12-11 18:42:46 -08:00
Kubernetes Prow Robot
a6535c4be2
Merge pull request #1934 from pwittrock/unk8s
...
revert pseudo/k8s deps
2019-12-11 16:08:32 -08:00
Phillip Wittrock
c2dc7ae789
revert pseudo/k8s deps
2019-12-11 15:28:04 -08:00
Kubernetes Prow Robot
e4635b456a
Merge pull request #1930 from mortent/statusCli
...
cli for status
2019-12-11 13:34:32 -08:00
Morten Torkildsen
1b3b8522f9
cli for status
2019-12-11 13:13:09 -08:00
bzub
3803541bfd
Remove extraneous whitespace.
...
make all (generate docs)
Update examples in cmd docs.
make all (generate docs)
functions/examples: Whitespace cleanup.
functions/examples: Fix some example commands.
2019-12-11 12:12:32 -06:00
Frank Farzan
b0f1f66d9a
Document the default value
2019-12-10 12:27:02 -08:00
Frank Farzan
8c037ba109
Index is a number not a string
2019-12-10 12:15:28 -08:00
Frank Farzan
5e5e3b19f5
Expand and format Configuration IO API Semantics.
2019-12-10 12:02:49 -08:00
Phillip Wittrock
b333115314
kyaml: fix error handling
2019-12-09 16:38:56 -08:00
Phillip Wittrock
2eacbeaa87
shell completion for kustomize commands
2019-12-09 09:22:14 -08:00
Kubernetes Prow Robot
3703450931
Merge pull request #1893 from artmello/enable_linters
...
kyaml: Enable Go linters (lll, stylecheck, unparam, whitespace)
2019-12-06 08:32:50 -08:00
Kubernetes Prow Robot
9914017f60
Merge pull request #1897 from pwittrock/workspace
...
support writing run output to files
2019-12-05 18:08:49 -08:00
Arthur Mello
e811da14d8
Rename variable, constants and struct fields following stylecheck linter recommendation
2019-12-05 22:39:29 -03:00
Phillip Wittrock
9e5af98a94
support writing run output to files
...
so that it isn't necessary to wrap in bash to redirect to a file
2019-12-05 17:25:01 -08:00
Jonathan Wong
49287a0f8f
Fix verb noun agreement mistake
2019-12-02 02:01:00 -08:00
Jonathan Wong
1433ea4faa
Fix two typos
2019-12-02 01:55:20 -08:00
Phillip Wittrock
52a5e6ec99
rename run-fns to run
2019-11-27 12:40:10 -08:00
Phillip Wittrock
7ce1f7e95a
Update cmd/config docs from using yaml to using kustomize config
2019-11-27 11:59:45 -08:00
Phillip Wittrock
dc66de6bf3
cmd/config: Add examples and tutorials for config functions
...
- Add examples under `functions`
- Add built-in tutorial for functions
2019-11-26 20:08:23 -08:00
Phillip Wittrock
5876a8cce0
cmd/config: add built-in tutorials
2019-11-25 22:48:21 -08:00
Phillip Wittrock
23f9f819eb
mdtogo: support for alternate license headers
2019-11-25 20:32:27 -08:00
Phillip Wittrock
7baabf7a97
cmd/config: mark config command group as [Alpha]
2019-11-25 10:33:31 -08:00
Phillip Wittrock
598854440a
cmd/config: expose target for embedding config commands
2019-11-25 10:20:34 -08:00
Phillip Wittrock
bf8af8efba
kyaml: New documentation for annotations and fns (apis)
2019-11-22 13:10:39 -08:00
Phillip Wittrock
3345464b25
kyaml: refactor command documentation into .md files from go files
...
No new documentation added.
2019-11-22 12:22:25 -08:00
Phillip Wittrock
f531ac065d
kyaml: fixup Makefile
...
- Change name of generated binary to `config` to match module name
- Use GOBIN instead of GOPATH to simplify commands
- Export GOBIN environment variable to the `go generate` command so it can find built commands
2019-11-22 11:53:14 -08:00
Phillip Wittrock
f0ca8f9c1a
Add utility for generating cobra documentation from .md files
2019-11-22 11:47:35 -08:00
Jonathan Wong
99701a1932
Rename directory cmd/kyaml to cmd/config
2019-11-19 18:41:35 -08:00
Jonathan Wong
d8e5891498
Rename cmd/kyaml to cmd/config
2019-11-18 15:09:38 -08:00
Phillip Wittrock
c99278c67b
Add kyaml command for invoking container filters
2019-11-13 07:33:28 -08:00
Phillip Wittrock
b473faccca
Improve error handling in kyaml libraries
2019-11-12 08:53:55 -08:00
Phillip Wittrock
eabb476461
Switch cmd/kyaml to pseudo/k8s
2019-11-08 17:23:04 -08:00
Phillip Wittrock
3dfe62fe55
switch to pseudo/k8s deps
2019-11-08 16:48:42 -08:00
Phillip Wittrock
8b0f4bf714
kyaml: Add kyaml filters as cli commands
2019-11-08 09:26:02 -08:00
Jeffrey Regan
b82a8fd316
Move the kustomize binary to its own module.
2019-09-25 15:37:48 -07:00
Jeffrey Regan
def4f04572
Depend on new pluginator location.
2019-09-24 16:43:53 -07:00
jregan
2050afdeb4
Ease doing custom configuration of builtin plugins.
2019-09-13 14:45:36 -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
Jeffrey Regan
d2c93065d5
Move kustomize main to cmd directory.
2019-06-18 14:17:51 -07:00
Jeffrey Regan
4bc31f4b2a
Move pluginator to cmd directory.
2019-06-18 10:16:46 -07:00
jregan
5653ae69e4
One plugin per dir.
2019-05-19 17:32:02 -07:00