jackgr
feb179bf66
Fixed go vet and golint errors.
9 years ago
Ville Aikas
1a96666e55
use --registry flag consistently for getting templates / creating registries
9 years ago
Ville Aikas
bd99ae82d1
address CR comments
9 years ago
Ville Aikas
8465cb1a1b
Add GCS as a registry provider. Add a way to get a file using credentials from a registry to support private repos. Add ability to create / update a registry through manager
9 years ago
Brandon Philips
a6aa46720a
dm: set flag.Usage to usage
...
Now when `--help` is called we get all of the subcommands listed too.
9 years ago
Brandon Philips
5d18c570ec
dm: cleanup CLI UX for people getting started
...
Before this patch dm would print out the wall of usage text that would
scroll off the screen in many error cases. This made learning dm hard.
Instead have more compact error output, like kubectl, and only return
non-zero on real errors.
```
$ dm foo ; echo $?
Error: unknown command 'foo' for 'dm'
Run 'dm --help' for usage
1
$ dm deployed-instances; echo $?
No type name supplied
1
$ dm 2> /dev/null; echo $?
0
```
There is more to do to make this tool friendlier but this was
low-hanging.
9 years ago
vaikas-google
2c7aad5f63
Wire [gs]etcredential to backend
9 years ago
vaikas-google
120ea92816
address CR comments
9 years ago
vaikas-google
ee30166348
Add support for k8s secrets backed credentials, remove client support to talking to registry, use server for it. fix a few bugs
9 years ago
jackgr
0db42f3aba
Added username and password to credentials in client.
9 years ago
vaikas-google
f632036e9e
Handle deploy correctly for local files vs. templates
9 years ago
vaikas-google
0f8b3f7767
Add support for CredentialProvider that can be used to specify credentials that should be used for a registry
9 years ago
jackgr
2c59a07bfd
Regex search in dm and Github credential setting to facilitate testing.
9 years ago
jackgr
4ffe342272
Work in progress to refactor registry interface.
9 years ago
jackgr
17f22d777f
Merge changes from #172 .
9 years ago
vaikas-google
3db24d8531
clean up the code for fetching registries
9 years ago
vaikas-google
616a8c3877
First cut of unifying the registries, just puts the scaffolding in place
9 years ago
vaikas-google
93f74d0c8a
bring back to par with master
9 years ago
vaikas-google
8ba0eb4f4d
Add support for helm packages. Quite hacky in parts, needs to resolve naming collisions
9 years ago
runseb
bea172d705
Improve license headers
9 years ago
Brendan Melville
0793a2dfd7
Merge pull request #166 from vaikas-google/helm
...
Add support for helm packages, native kubernetes objects and helm repository format.
9 years ago
Ville Aikas
9777e72692
Add support for native kubernetes types, helm packages and helm/charts github repo
9 years ago
runseb
061f0f58a7
Dockerfile and Makefile for cross-compile of dm
9 years ago
Ville Aikas
4c517d7ffe
Clean up the printing of the types, show the actual name that the user would use in templates
9 years ago
vaikas-google
9a31c42dfe
fix template list and template describe
9 years ago
jackgr
aa15e25d94
Implement --stdin flag on command line.
9 years ago
vaikas-google
d5e86ea6ac
Add help text for manifest command
9 years ago
jackgr
538b34d820
Fix some document errors.
9 years ago
vaikas-google
92ec9a0fe1
Add support for short github.com types. Refactor manager/manager/types to common/types and reuse them rather than redefine them.
9 years ago
Brendan Melville
0dc882352c
Adding support for listing and getting manifests in dm client.
9 years ago
Brendan Melville
d0854c6941
Service responses will now be presented in YAML.
9 years ago
Jack Greenfield
b0e3512f4d
Merge pull request #127 from bmelville/110
...
Default name for deployments is now <type>:<version> for better symmetry
9 years ago
Brendan Melville
f4beeb7f1f
Default name for deployments is now <type>:<version> for better symmetry
9 years ago
Brendan Melville
047a1f9a6c
deployed-instances needs to work with primitives.
...
Fixing some comments, etc.
9 years ago
vaikas-google
2a252761f7
Merge pull request #115 from bmelville/83
...
We will now assume anything not a template is a primitive.
9 years ago
Brendan Melville
71549bbef1
We will now assume anything not a template is a primitive.
...
Rather than hard-coding what a primitive is, we will only look for
templates, and let resourcifier error when kubectl fails to understand
anything else.
Adding missed new file.
9 years ago
vaikas-google
80909a38b4
Merge remote-tracking branch 'upstream/master'
...
Not sure what this is about.
9 years ago
vaikas-google
321ee8cf7a
Add flag for timeout for talking to service
9 years ago
vaikas-google
5396209510
Merge pull request #101 from bmelville/98
...
Adds support for "dm deployed-instances <type>:<version>"
9 years ago
Brendan Melville
3bbd6e8a3e
Adds support for dm deployed-instances <type>:<version>.
...
When you deploy with <type>:<version>, the type actually seen by DM is
the template URL. While the template URL still shows up as the type when
performing a "dm deployed-types", this at least lets you look for
instances of a known type.
Refactoring the type URL code in client a bit.
Refactoring getTypeUrl.
9 years ago
vaikas-google
051f2dc5d9
Merge pull request #100 from bmelville/36
...
Deployment name can now be set when doing "dm deploy".
9 years ago
Brendan Melville
82e7d08844
Pretty print JSON responses from service.
9 years ago
Brendan Melville
0eb6cd5aa8
Deployment name can now be set when doing "dm deploy".
...
The default is still either template file name or <type>-<version>.
Override using the "name" flag.
9 years ago
vaikas-google
7cefeb4753
Merge pull request #95 from bmelville/89
...
Porcelain type deployments deserve to be named too man.
9 years ago
Brendan Melville
878152d798
Porcelain type deployments deserve to be named too man.
9 years ago
goltermann
6b4726d39b
Put DM into its own namespace.
9 years ago
vaikas-google
701f59453e
Merge pull request #88 from bmelville/23
...
Supports describing a type
9 years ago
Brendan Melville
83de776b48
Cleaning up some comments and better callHttp interface.
9 years ago
Brendan Melville
0343be6ad2
Adding Expand endpoint as "/expand".
...
This endpoint takes a template and returns a manifest containing only
the expanded config and layout.
9 years ago
Brendan Melville
d834028fea
Fixing comment in describeType for lack of args.
9 years ago