1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-06 21:48:05 +01:00
Commit Graph

286 Commits

Author SHA1 Message Date
Daishan Peng
057852de58 update vendor v2.0.1-rc4 2018-05-17 17:03:27 -07:00
Daishan Peng
66b0f25ccf add ability to install charts locally 2018-05-17 17:03:27 -07:00
Dan Ramich
9b191d3983 Wait for namespace to be ready
Problem:
An app creates a namespace to deploy into and depending on the system it
might not be ready when attempting to install the app

Solution:
Poll the namespace to ensure it's active before proceeding with
installing the app
2018-05-17 14:40:46 -07:00
Dan Ramich
221e9254b7 Fix app namespace issue
Problem:
Apps of the same name deploy into the same namespace. This fails when a
namespace is owned by another project

Solution:
Apps should be deployed into a unique namespace unless specified
otherwise.
Add a flag to specify the namespace
Create a namespace with a random suffix to deploy the app into if
namespace is not specified
v2.0.1-rc3
2018-05-17 10:18:55 -07:00
Dan Ramich
554ace49db Updates to README 2018-05-16 15:20:03 -07:00
Dan Ramich
a935b41100 Consistency Changes
Update deletes to allow passing in multiple names/IDs for the same resource.
Update ls of resources to accept --quiet to allow passing to delete
Update arg checking to stop being an error and instead show --help for the command/subcommand
v2.0.1-rc2
2018-05-14 18:17:53 -07:00
Dan Ramich
12b5538032 Update catalog and help output
Problem:
Catalog add had the wrong command
Help output was not showing parent commands

Solution:
Fix the type
Update template to display full command
2018-05-14 18:17:15 -07:00
Dan Ramich
227ca73ecd Fix context switch
Problem:
Context is not setting the new project correctly

Solution:
Save the selected project into the users config
2018-05-14 18:16:48 -07:00
Dan Ramich
ab6d47bca0 Update inspect to be case insensitive
Problem:
Inspect requires a type to be camelcase if that's how it shows in the
schema

Solution:
Make inspect note care about case
2018-05-14 18:15:21 -07:00
Dan Ramich
c8a4601aff App command 2018-05-14 18:14:24 -07:00
Dan Ramich
c89f2d76a8 Add catalog command v2.0.1-rc1 2018-05-07 19:42:34 +02:00
Dan Ramich
a534650446 Vendor update 2018-05-07 19:42:34 +02:00
Dan Ramich
f7c605a614 Add context commands
Problem:
In order to switch context login has to be ran

Solution:
Add new context commands to allow quick switching and status on the
current context
2018-05-07 18:48:28 +02:00
Dan Ramich
b7f6dcb4b4 Vendor update 2018-05-07 18:48:28 +02:00
Dan Ramich
62f57e5ef8 Vendor update 2018-05-07 18:46:44 +02:00
Dan Ramich
463cba5c1b Update cli client to build in parallel
Problem:
When creating the master client, three other clients are needed which
requires multiple calls to the rancher server. This is done synchronously
and causes large delays before the command is actually run

Solution:
Build the clients async to speed up the time it takes to build the
master client
2018-05-07 18:46:44 +02:00
Dan Ramich
5004356068 Hide up command behind env var
Problem:
up is untested and could break things

Solution:
Hide it behind RANCHER_EXPERIMENTAL env var
v2.0.0-rc2 v2.0.0
2018-04-27 10:54:46 -07:00
Dan Ramich
7e602aeadf Fix spelling errors v1.0.0-alpha14 v2.0.0-rc1 2018-04-20 13:23:15 -07:00
Dan Ramich
6e2f325052 Update ssh to accept users and pass through all args
Problem:
SSH command does not accept a user or allow passing through of commands

Solution:
Add support for -l flag as well as <user>@<node> syntax
Pass through all following args to SSH
2018-04-20 10:46:43 -07:00
Daishan Peng
1191bbb06e rancher up 2018-04-17 13:13:18 -07:00
Daishan Peng
48534c8f7f update vendor 2018-04-17 13:13:18 -07:00
Dan Ramich
4cc8e2bdfc Add settings command
Problem:
Users are unable to see or set settings

Solution:
Add ability to list, get and set settings
2018-04-16 15:00:40 -07:00
Dan Ramich
9fa6721b4e Update vendor v1.0.0-alpha13 2018-04-16 11:07:45 -07:00
Dan Ramich
08be31769c Update project create and ps to use lookup by name
Problem:
Specifying a cluster on project create and a project using ps required
an ID

Solution:
Use the lookup by name
Update the description of the ps command
2018-04-16 10:44:42 -07:00
Dan Ramich
683e68e41b Add inspect command 2018-04-16 10:43:52 -07:00
Dan Ramich
5500b99435 Add ability to search by name 2018-04-13 13:45:08 -07:00
Dan Ramich
e8c60d5d95 Vendor update 2018-04-13 13:45:08 -07:00
Dan Ramich
9443bdc560 Add ability to set yaml as an output option
Problem:
format flag only accepted json or custom

Solution:
add yaml as a new output option
2018-04-13 09:43:33 -07:00
Dan Ramich
3418d740bd Update cluster import to print second option
Problem:
Some rancher servers are running SSL certs that fail validation so an
existing k8s cluster would not import through a standard kubectl call

Solution:
Output a second option using curl to download the file and pass it to
kubectl thus avoiding the SSL check
2018-04-09 18:01:09 -07:00
Dan Ramich
96b83aa942 Member actions for cluster and project
Problem:
Unable to do any members actions with clusters and projects

Solution:
Add ability to add and remove members from clusters and projects
rancher project add-member-role --role <a> --role <b> <user>
Add new subcommands to list available roles for the cluster/project
rancher project list-roles
Add new subcommand to list current members/roles in a cluster/project
rancher project list-members
2018-04-09 14:38:30 -07:00
Dan Ramich
356ab64c7a Update vendor to replace k8s.io/kubernetes with k8s.io/apimachinery 2018-04-04 15:45:30 -07:00
Dan Ramich
710212938b Add description flag to project and namespace
Problem:
When creating a project and namespace no description can be set

Solution:
Add a flag for optionally adding a description
v1.0.0-alpha12
2018-03-30 10:16:24 -07:00
Dan Ramich
b0b986f2f6 Fix version list
Problem:
When running `cluster create --k8s-version list` the cluster is still
being created

Solution:
After printing the versions exit
2018-03-30 10:16:01 -07:00
Dan Ramich
2c206bf9c8 Update kubectl to use cluster kubeconfig
Problem:
kubectl is using the users kubeconfig on the system and not the one
specific to the cluster

Solution:
kubectl now pulls the clusters kubeconfig and uses that to run kubectl
commands
v1.0.0-alpha11
2018-03-28 18:19:07 -07:00
Dan Ramich
db1b649669 Update cluster command
Problem:
Cluster does not match the ui

Solution:
Update ls layout to match ui
Add new column for currently focused cluster
Add options from the UI for creation of cluster
2018-03-28 18:18:19 -07:00
Dan Ramich
0a837b60da Add format flag to lists
Problem:
Users are unable to specify a format on table outputs

Solution:
Add --format flag to allow customization of outputs or json blobs
2018-03-28 11:53:36 -07:00
Dan Ramich
d34fa03bc1 Fix login to accept a path
Problem:
login would not work if a path was appended to the server URL

Solution:
Drop paths from the passed in URL
v1.0.0-alpha10
2018-03-26 11:10:32 -07:00
Dan Ramich
a6fd553a4b Vendor update to fix windows build v1.0.0-alpha9 2018-03-23 15:32:54 -07:00
Dan Ramich
a2ff67ad58 Add subcommand to cluster to output kubeconfig 2018-03-23 14:54:36 -07:00
Dan Ramich
1b92a4e3db Vendor update 2018-03-23 14:54:36 -07:00
Dan Ramich
0105c5659f Vendor update 2018-03-23 12:08:26 -07:00
Dan Ramich
306a81a546 Change to login 2018-03-23 12:08:26 -07:00
Dan Ramich
d2dbfa3314 Remove ununsed files and dependencies 2018-03-22 14:03:01 -07:00
Dan Ramich
b7f978e728 Reformat ps to only show one set of info and update headers 2018-03-06 10:45:47 -07:00
Dan Ramich
affecc3df0 Update build for windows v1.0.0-alpha8 2018-03-05 10:11:59 -07:00
Dan Ramich
4fcbd64fcb Vendor update 2018-03-05 10:11:59 -07:00
Dan Ramich
2d711d35c9 Add flag to show current context 2018-03-02 14:13:23 -07:00
Dan Ramich
3a12b9fb41 Add option flags for project create and ps 2018-03-02 14:13:08 -07:00
Dan Ramich
18878eadfb Stop usage of previous config on login
Problem:
When logging in a previous config would be used and if the cluster was
removed an error would occur

Solution:
Previous configs are no longer used for login
v1.0.0-alpha7
2018-03-01 11:13:19 -07:00
Dan Ramich
8fea865ae8 Update error handling to return to user 2018-03-01 09:38:14 -07:00