Commit Graph

52 Commits

Author SHA1 Message Date
Jingfang Liu f24ba4e2ee change packages to bases in Manifest 2018-03-22 09:27:46 -07:00
Mengqi Yu 3753d9a681 fix bug when update name ref in multi layer setup 2018-03-12 16:40:57 -07:00
Mengqi Yu 90262399c7 Rename KObject to ResourceCollection 2018-03-09 16:41:13 -08:00
Mengqi Yu 4200a36e9f appending name hash only applies to current layer 2018-03-07 18:01:47 -08:00
Jingfang Liu ea5dfd15c2 Add util functions to read/write manifest file and update sub commands 2018-03-06 16:14:57 -08:00
Jingfang Liu 97859f4abd Update inflate/diff and corresponding tests 2018-03-02 15:50:33 -08:00
Jingfang Liu dc31abde47 Change inflate to use Application interface 2018-03-02 13:55:20 -08:00
k8s-ci-robot 451fec7f9d
Merge pull request #310 from mengqiy/update_import
update yaml import pkg
2018-02-22 08:34:40 -08:00
Jingfang Liu ec449fc3d6 Use ManifestLoader to read and write the kubemanifest file 2018-02-21 14:46:14 -08:00
Mengqi Yu a2b109c008 update yaml import pkg 2018-02-21 14:37:46 -08:00
Jingfang Liu a0699c2c7a Move ManifestLoader under tree package 2018-02-21 11:23:16 -08:00
Mengqi Yu 851637079b add diff command 2018-02-21 10:30:39 -08:00
Mengqi Yu ada76c11a9 add test for noop option 2018-02-21 10:30:39 -08:00
Mengqi Yu 138fe78abf support noop option for kinflate inflate 2018-02-21 10:30:39 -08:00
Antoine Pelisse 6f080f0f11 kinflate: Re-merge "GenericSecret" and "TLSSecret"
Since we have a new way to create generic secrets that also makes sense
with TLS secrets, let's just use that one method for all types of
secrets.
2018-02-16 16:00:39 -08:00
Antoine Pelisse 4cb628bda9 kinflate: Generate secrets with commands
Remove the DataSources for secret, and generate the content of secrets
with the output of commands. This allows more dynamic encrypted/secure
secrets that are not just saved plain in the repository.
2018-02-16 15:57:25 -08:00
Mengqi Yu bf5929ef65 better integration test 2018-02-16 11:38:45 -08:00
Sunil Arora 8f0ccc0bf7 kinflate: removed non-existing resources from manifest file
`kinflate init` generates a manifest file which contains
non-existent resources in `resources` section. This change
keeps those resources in commented form so that 'kinflate inflate'
doesnt barf at the user.
2018-02-16 09:30:53 -08:00
Sean Sullivan 01ea12b4fb Checkpoint including new Loader class and minor fixes. 2018-02-14 14:52:33 -08:00
Jingfang Liu cc14158a3e fix filesystem tech debt and improve the error message 2018-02-13 16:41:34 -08:00
k8s-ci-robot f6db52a337
Merge pull request #274 from mengqiy/kinflate_tree
Kinflate use manifest tree builder
2018-02-12 15:46:50 -08:00
yank1 e94e4d5c46 fix a typo init.go 2018-02-11 14:24:57 +08:00
Mengqi Yu d55a17cdcc switch kinflate to use manifest tree build 2018-02-09 18:20:48 -08:00
Sunil Arora c738ff9a19 kinflate: added set subcommand 2018-02-07 12:39:13 -08:00
Sunil Arora 89598b9b11 kinflate: implemented 'add' subcommand 2018-02-07 10:13:23 -08:00
ymqytw 021e6bd569 fix wrong paths of name reference transformer config 2018-02-06 17:10:22 -08:00
k8s-ci-robot 087c096eff
Merge pull request #259 from seans3/tls-secret
Kinflate add secret tls command.
2018-02-06 15:40:44 -08:00
Jingfang Liu 932009c951 Change command setprefixname to setnameprefix 2018-02-06 15:00:50 -08:00
Sean Sullivan 5e9c1e231d Kinflate add secret tls command. 2018-02-06 12:01:40 -08:00
Sean Sullivan f9f329ba29 Kinflate add generic secret command. 2018-02-06 11:42:40 -08:00
k8s-ci-robot 9b8afdfec9
Merge pull request #256 from droot/add-configmap
Add configmap
2018-02-05 20:12:08 -08:00
Sunil Arora 5518d5dfb9 kinflate: adds 'configmap' command
This change contributes configmap command to add a configmap to the
manifest.
2018-02-05 16:20:22 -08:00
Jeffrey Regan f5855945de add setprefixname command 2018-02-05 13:23:11 -08:00
Antoine Pelisse bbb1fd0b65 kinflate: Create manifest loader
The manifest loader is used to read and write a manifest file to/from
disk.
2018-02-05 10:48:17 -08:00
k8s-ci-robot 1f4c1efbdf
Merge pull request #240 from apelisse/apelisse-droot-seans3
kinflate: Manifest type improvements
2018-02-05 10:28:11 -08:00
Sunil Arora 33bc00af62 Kinflate: added fs as a parameter 2018-02-02 17:02:17 -08:00
Sunil Arora 4a03e39222 Kinflate: refactoring inputs flags forn config/map to common datastructure 2018-02-02 17:02:17 -08:00
ymqytw e5ff878c1e fix a bug of nameprefix lost after applying patch 2018-02-02 16:45:19 -08:00
ymqytw 3d138d072a all Run functions should not depend on Cobra 2018-02-02 13:34:53 -08:00
ymqytw 96624740b2 restructure the code a bit 2018-02-01 17:25:43 -08:00
k8s-ci-robot 6b8558525e
Merge pull request #239 from apelisse/apelisse-droot-seans3
Apelisse droot seans3
2018-01-31 14:40:05 -08:00
Antoine Pelisse 3506c4f9f9 kinflate: Adding configmap/secret cmds examples 2018-01-31 11:45:39 -08:00
Antoine Pelisse b21ff8e2d3 kinflate: Add tests and fix some bugs. 2018-01-31 11:34:54 -08:00
k8s-ci-robot 872d0ab69f
Merge pull request #238 from monopole/simplifyInit
Init writes only a manifest to the current dir.
2018-01-31 10:57:09 -08:00
k8s-ci-robot 0c40ddb53f
Merge pull request #235 from apelisse/kinflate-add-configmap
kinflate: Create AddConfigMap structure
2018-01-31 10:54:11 -08:00
Antoine Pelisse c398a3f462 kinflate: Create AddSecret command
This is empty and does nothing.
2018-01-31 10:21:49 -08:00
Antoine Pelisse 973a56222f kinflate: Create AddConfigMap structure
This is empty and does nothing.
2018-01-31 10:21:49 -08:00
Jeffrey Regan 0e4382bac8 Init writes only a manifest to the current dir. 2018-01-31 09:52:47 -08:00
Jeffrey Regan 79c13c8262 More addresource code 2018-01-30 16:21:28 -08:00
Jeffrey Regan a5ccaf6f6e start addresource command 2018-01-30 14:46:46 -08:00