Commit Graph

632 Commits

Author SHA1 Message Date
Jingfang Liu 70d0048d35 Add secret resource 2018-02-26 11:22:46 -08:00
Sean Sullivan 3d0b7df0dd Refactor Loader interface 2018-02-26 10:42:07 -08:00
k8s-ci-robot 2566a92517
Merge pull request #318 from apelisse/transformer
kinflate/transformers: Keep private things private
2018-02-26 10:30:45 -08:00
Antoine Pelisse 65711a3c63 kinflate/transformers: Keep private things private 2018-02-26 09:24:48 -08:00
k8s-ci-robot b9c08a40a6
Merge pull request #314 from Liujingfang1/appresource
Add appresource implementation
2018-02-23 13:57:46 -08:00
Jingfang Liu 93a241acda Add appresource implementation 2018-02-23 13:26:44 -08:00
k8s-ci-robot 34b29797e2
Merge pull request #313 from droot/app-stage-1
added configmap resource implementation
2018-02-23 11:19:44 -08:00
Sunil Arora 225f166de3 added configmap resource implementation
This also changes the resource to be a concrete type instead of
interface.
2018-02-23 10:55:54 -08:00
k8s-ci-robot 49b69b4bc8
Merge pull request #315 from seans3/kinflate-refactor
Refactor Loader interface
2018-02-23 09:23:47 -08:00
Sean Sullivan 47a51d9072 Refactor Loader interface 2018-02-22 15:38:43 -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
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