Commit Graph

41 Commits

Author SHA1 Message Date
Jeffrey Regan
276693cf0e Make a secret factory. 2018-07-20 09:09:52 -07:00
Jeffrey Regan
9576a81787 Put the two sets of configmap make codes sidebyside 2018-07-19 18:33:55 -07:00
Jeff Regan
7dd28b1fd9 Merge pull request #176 from babiel/do-not-create-networkpolicy-matchlabels
Disable NetworkPolicy podSelector.matchLabels CreateIfNotPresent
2018-07-19 15:51:13 -07:00
Jeffrey Regan
f14988ff80 configMap factory refactor for #86 2018-07-19 14:06:51 -07:00
Jeffrey Regan
564b0d6827 Fix cluster of silly Go nits. 2018-07-18 17:45:17 -07:00
Jeffrey Regan
9432671887 Replace os.Stat with IsDir, simplifying FS abstraction. 2018-07-18 12:57:53 -07:00
Jingfang Liu
9645f397ef remove adding hash for configmap/secret read from resource yaml files 2018-07-18 10:57:50 -07:00
Maximilian Gaß
ed9f716361 Add unit test for NetworkPolicy 2018-07-18 14:11:18 +02:00
Jingfang Liu
4325401fe7 Add namespace transformation for subjects.namespace in ClusterRoleBinding 2018-07-17 13:10:51 -07:00
Maximilian Gaß
9674fd12b2 Run namehash transformer before resolving names for refvars 2018-07-13 09:45:48 +02:00
Jingfang Liu
2a3f09a2f0 Add integration test for glob support 2018-06-27 14:48:50 -07:00
Maximilian Gaß
2a06a174e8 Add CronJob to refvars transformer 2018-06-26 12:20:52 +02:00
fanzhangio
6a67183ed7 Enhancement for format error message
- add yaml format error handler
- silent usage when build command fails
2018-06-25 07:35:43 -07:00
Jingfang Liu
a38befdaa1 Merge pull request #132 from Liujingfang1/order
correct ordering of the k8s objects
2018-06-22 10:33:31 -07:00
Jingfang Liu
28953e03a0 Merge pull request #120 from guineveresaenger/edit-add-base
New command: kustomize edit add base
2018-06-21 16:54:15 -07:00
guineveresaenger
37489ec2e9 Adds ability to add multiple base directories to kustomization 2018-06-21 16:39:46 -07:00
Jingfang Liu
636ab874eb update failed test 2018-06-21 16:36:27 -07:00
Jingfang Liu
ea00134776 Update pathconfigs library
implement CRD support and add unit tests

Add integration test for crd support

address comments
2018-06-19 11:45:53 -07:00
guineveresaenger
a1dcf3386b Adds kustomize edit add base command
This pull request adds support for editing the kustomization.yaml in the current directory with a base.
2018-06-19 10:09:13 -07:00
Oleg Atamanenko
f557841e54 Enable unparam linter and fix issues 2018-06-18 14:49:57 -04:00
Oleg Atamanenko
6fd0330b80 Add gometalinter to pre-commit hook
Enable varcheck and fix found issues

Add ineffassign to list of checks and fix found issues

Added nakedret and fixed found issues

Add interfacer check and fix found issue

Add lll and fix found issues

Add deadcode linter, remove unused code
2018-06-14 20:55:20 -04:00
Jeffrey Regan
623e21d1c0 Rename examples dir to examplelayout. 2018-06-12 15:03:45 -07:00
Jeffrey Regan
2fb69db685 Move version.go to commands dir. 2018-06-12 13:08:23 -07:00
Jingfang Liu
934e37d781 add unit test and address comments 2018-06-11 14:52:31 -07:00
Jingfang Liu
37720765fc Add a test case 2018-06-11 12:18:26 -07:00
jregan
211cda054e Some cleanup refactoring in app package. 2018-06-11 09:51:03 -07:00
Oleg Atamanenko
5c8d82aed0 Fixed gocyclo warnings and added pre-commit hook 2018-06-09 23:43:42 -04:00
Jeff Regan
a82bd23f8f Merge pull request #52 from Liujingfang1/master
variable reference support
2018-06-06 16:43:48 -07:00
Jeffrey Regan
2e0e43cd76 Improve package doc. 2018-06-06 14:15:50 -07:00
Jingfang Liu
1a28f3a391 Address comments: add unit tests, defaulting and update comment 2018-06-06 10:21:15 -07:00
Jingfang Liu
35344c163a Add test case for variable reference 2018-06-06 09:30:12 -07:00
Jeffrey Regan
d0c6a824c8 Remove util and privatize selectByGvk 2018-06-01 14:17:56 -07:00
Jeffrey Regan
0e2c71cd6f Drop the util package. 2018-05-31 17:17:41 -07:00
Jeffrey Regan
49f586af39 Create and document diff package. 2018-05-31 16:50:34 -07:00
Jeff Regan
487a6ebee4 Merge pull request #43 from monopole/fixLinkInHelp
Fix URL in help message
2018-05-31 14:18:11 -07:00
Jeffrey Regan
8afba0b56c Document constants package. 2018-05-31 13:42:03 -07:00
jregan
16fa3403a4 Fix kubernetes-sigs/kustomize#40 2018-05-30 20:28:46 -07:00
guineveresaenger
bc144275b4 Removes help text for kustomize edit add secret
There is currently no support for adding a secret with kustomize. The help text should not show such an option.
Fixes #14.
2018-05-29 10:27:18 -07:00
Jeffrey Regan
6662bb6cc7 drop unnecessary -f from diff 2018-05-18 11:32:03 -07:00
Jeffrey Regan
83b3eb9d54 Bulk move from k8s.io/kubectl 2018-05-11 14:07:15 -07:00
Jeffrey Regan
8aad8f447b Isolated content of pkg/kustomize 2018-05-11 14:01:10 -07:00