Commit Graph

471 Commits

Author SHA1 Message Date
k8s-ci-robot 8ae33d805c
Merge pull request #312 from seans3/kinflate-refactor
First pass at Application abstraction with unimplemented methods
2018-02-21 15:08:40 -08:00
Sean Sullivan 6f5b9ac206 First pass at Application abstraction with unimplemented methods; Includesthe first pass at the Resource interface 2018-02-21 15:04:09 -08:00
k8s-ci-robot 69903e38d6
Merge pull request #311 from Liujingfang1/master
Use ManifestLoader to read and write the kubemanifest file
2018-02-21 14:52:39 -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
k8s-ci-robot af31960388
Merge pull request #309 from droot/readme-fix
removed '-u' option from install command
2018-02-21 11:41:40 -08:00
Sunil Arora 815e650da8 removed '-u' option from install command
'go get' complains if package exists and has been checked out with
different protocol (https/git). This results in tutorial integration
test failures. Disabling the option untill we have a solid solution.
2018-02-21 11:37:10 -08:00
k8s-ci-robot b086631408
Merge pull request #308 from Liujingfang1/master
Move ManifestLoader under tree package
2018-02-21 11:36:39 -08:00
Jingfang Liu a0699c2c7a Move ManifestLoader under tree package 2018-02-21 11:23:16 -08:00
k8s-ci-robot 6fdf4d7ab3
Merge pull request #292 from mengqiy/plumb_diff
add kinflate diff command
2018-02-21 11:20:39 -08:00
Mengqi Yu 851637079b add diff command 2018-02-21 10:30:39 -08:00
Mengqi Yu 3d4f816787 port some useful diff utils 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
Sean Sullivan dd5ff912ca
Merge pull request #307 from mengqiy/file_loader
initial implementation for file loader
2018-02-20 18:28:14 -08:00
Mengqi Yu 56bb36802b initial commit for file loader 2018-02-20 18:12:39 -08:00
Sean Sullivan 4432718181
Merge pull request #303 from Liujingfang1/master
Create different internal error types
2018-02-20 15:33:16 -08:00
Jingfang Liu 0b1416cdd5 move error types into internal error package 2018-02-20 15:23:55 -08:00
Jingfang Liu a07208518f Create different internal error types 2018-02-20 14:58:12 -08:00
k8s-ci-robot 53407951d6
Merge pull request #297 from droot/overview
kinflate: improved README and added getting-started
2018-02-16 16:15:38 -08:00
k8s-ci-robot 024915ae80
Merge pull request #285 from apelisse/new-secret
kinflate: Generate secrets with commands
2018-02-16 16:08:39 -08:00
Antoine Pelisse 7448de587a kinflate: Add timeout context to Command secret
Commands ran to create secrets will timeout after 5 minutes. Also adds a
test to make sure we fail correctly if the command fails.
2018-02-16 16:01:00 -08:00
Antoine Pelisse 76cd598602 Rename "Secret" to "SecretGenetor" 2018-02-16 16:01:00 -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
Sunil Arora ec745a86f4 kinflate: improved README and added getting-started 2018-02-16 13:54:42 -08:00
k8s-ci-robot 3483128153
Merge pull request #299 from mengqiy/more_int_test
better integration test
2018-02-16 11:42:39 -08:00
Mengqi Yu bf5929ef65 better integration test 2018-02-16 11:38:45 -08:00
k8s-ci-robot be9fbd807b
Merge pull request #296 from droot/init-fixes
kinflate: removed non-existing resources from manifest file
2018-02-16 09:33:40 -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
k8s-ci-robot 51dcbb4e12
Merge pull request #294 from seans3/kinflate-errors
New structure: ManifestError
2018-02-15 13:43:38 -08:00
Sean Sullivan f25986dd97 New structure (ManifestError) to encasulate info needed for descriptive errors 2018-02-15 13:02:58 -08:00
k8s-ci-robot a57185e6a1
Merge pull request #289 from seans3/kinflate-errors
Checkpoint toward better kinflate error messages.
2018-02-14 15:09:50 -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 bf8d5e9d4c
Merge pull request #284 from monopole/makeTestsGreatAgain
Make test failures easier to see and understand.
2018-02-13 15:12:50 -08:00
Jeffrey Regan 0206ae1180 Make test failures easier to see and understand. 2018-02-13 13:20:32 -08:00
k8s-ci-robot b0567ec0ae
Merge pull request #280 from seans3/master
More specific error messages for missing/bad manifest file
2018-02-13 13:08:51 -08:00
Jeff Regan 90166376eb
Merge pull request #283 from monopole/testmdlinking
Add links to existing demo and tutorial pages.
2018-02-13 10:50:05 -08:00
Jeffrey Regan a6e9cb92a4 testmdlinking 2018-02-13 10:46:42 -08:00
k8s-ci-robot 739a3b7e3d
Merge pull request #281 from mengqiy/noop_transformer
Noop transformer
2018-02-12 17:58:50 -08:00
Mengqi Yu fb5b445baf add NOP transformer 2018-02-12 17:41:31 -08:00
k8s-ci-robot a7ffe0b3ed
Merge pull request #279 from mengqiy/overlay_transformer
error out when a patch has not matching object
2018-02-12 17:04:49 -08:00
Sean Sullivan 3e5a79b1cb More specific error messages for missing/bad manifest file 2018-02-12 16:56:22 -08:00
Mengqi Yu 316d259564 error out when a patch has not matching object 2018-02-12 16:29:42 -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
Mengqi Yu 1f4dc86f27 fix demo tests 2018-02-12 15:43:51 -08:00
Mengqi Yu af383be150 address comments 2018-02-12 15:33:30 -08:00
k8s-ci-robot 056c213b07
Merge pull request #275 from yank1/fix-a-typo-init.go
fix a typo init.go
2018-02-11 23:06:48 -08:00
yank1 e94e4d5c46 fix a typo init.go 2018-02-11 14:24:57 +08:00