Donnie Adams
1a2f5d2bb5
Support SSH for v2 provisioned machines
...
Before this change, it was not possible to use the SSH command to
connect to machines provisioned with v2 provisioning. After this change
(and including the changes to Rancher), the CLI will use the new CAPI
client to get the SSH key and config from Rancher for v2 provisioned
machines.
A side effect of this change is the addition of the new `rancher
machines ls` command that lists all machines for the current cluster
context.
2021-11-01 17:24:12 -07:00
Daishan
36f9405fa9
Add c-m- provisioing v2 format to regex for context
2021-09-16 12:20:11 -07:00
Steven Crespo
7f9f974dd2
Add support for --set-string flag
...
- Add support for answersSetString through a --set-string flag
for apps and multicluster apps
- Update tests
2021-06-22 15:33:35 -07:00
Steven Crespo
87af700d0e
Remove rancher/types dependency and update imports
2021-06-22 14:47:31 -07:00
rmweir
be4db7f360
Cache kubeconfig used for kubectl commands
2021-05-31 14:44:10 -07:00
Dan Bason
309141e97c
Remove explicit userID
2021-02-23 14:49:05 +13:00
rmweir
f3a38aea7f
Revert "Merge pull request #297 from rmweir/kubeconfig-cache-2"
...
This reverts commit 3057692998 , reversing
changes made to 85998abbe8 .
2021-01-25 10:26:46 -07:00
rmweir
bfe0ed5d0f
Cache kubeconfig used for kubectl commands
2021-01-12 09:59:08 -07:00
rmweir
5b3a40d168
Revert "Cache kubeconfig used for kubectl commands"
...
This reverts commit 1325642350 .
2020-12-16 12:28:55 -07:00
rmweir
1325642350
Cache kubeconfig used for kubectl commands
2020-12-14 15:29:37 -07:00
kinarashah
408863c243
minor fixes for kubeconfig exec credential
...
- set correct kind for ExecCredential
- update help command to reflect Rancher config dir
- check for nil timestamp
2020-12-04 13:26:28 -08:00
Tom Cain
5860516f5e
add global config flag and store token with config
...
kubeconfig token will now be stored with the rest
of the rancher config rather than in the .cache
directory. The location of the config directory
can now be configured.
2020-12-02 19:42:38 +00:00
Dan Ramich
792e2c58d6
Reverting to 9ac2118268
...
Removing new flag added to token command
2020-11-10 09:03:30 -07:00
Tom Cain
294a97676f
cli: fix key used to extract cache-dir
2020-11-05 21:47:41 +00:00
Tom Cain
d49d5ddb1e
add optional path to cache kubectl token
2020-10-29 11:05:06 +00:00
Steven Crespo
964ba435f7
Remove conversion of values to answers
2020-10-14 13:31:37 -07:00
kinarashah
d91cb1cc44
remove print msg
2020-08-20 11:30:12 -07:00
kinarashah
92a125f296
add logic to delete cached credential if it's invalid
...
filter error msg after login
2020-08-19 09:35:33 -07:00
kinarashah
733e9c3606
add logic for kubeconfig token authentication
2020-08-12 15:23:30 -07:00
Yogesh Mundada
f5e21b3373
Fix the values processing on cli
2020-07-12 14:07:31 -07:00
rawmind0
5bae73a67b
Updated rkeConfig.IgnoreDockerVersion field to *bool
2020-06-02 10:30:15 +02:00
Dan Ramich
6c40aea61b
Merge pull request #228 from BobVanB/kubectl-extended-plugins
...
Add current environment and add KUBECONFIG as config location
2020-05-08 11:05:03 -07:00
Brenda Rearden
ad0348c26f
Add defaults for mcapps
2020-04-24 17:07:16 -07:00
Brenda Rearden
19c4aaf56f
Correct sub question default
2020-04-24 12:10:36 -07:00
Brenda Rearden
b0cdfe48c8
No prompt adds defaults to valuesYamls
2020-04-23 14:36:22 -07:00
Brenda Rearden
db5581d7d8
Set answers / values to question default if missing
...
No-prompt flag now provides default answers or
adds default answers / value if missing in passed in file
2020-04-23 13:22:44 -07:00
Brenda Rearden
6fec35705e
Revert "Use default answers when setting no-prompt flag"
2020-04-14 11:08:40 -07:00
Brenda Rearden
5f217225b4
Remove changing value passed from cli
2020-04-08 10:20:13 -07:00
Dan Ramich
160b14c16c
Update cluster list to use nodeCount field
2020-04-07 08:52:23 -07:00
Brenda Rearden
524d704df3
Add valuesYaml for create
2020-04-06 10:31:11 -07:00
Brenda Rearden
78d5c65bea
Add valuesYaml to updgrade
2020-04-06 10:31:11 -07:00
Brenda Rearden
a6654deafd
Add default answers
2020-04-03 11:46:24 -07:00
Brenda Rearden
b4f7ae7b79
Vendor changes
2020-04-01 16:19:38 -07:00
Brenda Rearden
711e945a97
Add helm version flag
2020-04-01 16:10:50 -07:00
Dan Ramich
c6e4f5537e
Update error checks to be go style
2020-02-27 14:44:29 -07:00
Eamon Bauman
c14be47500
added force for app upgrades and rollbacks
...
Signed-off-by: Eamon Bauman <eamon@eamonbauman.com >
2020-02-20 13:08:22 -06:00
Bob van Bokkem
c3f20110b5
Merge branch 'master' into kubectl-extended-plugins
2020-02-13 07:17:51 +01:00
Fabio Rauber
67223fc1bc
Fix listing being limited to 1000
2020-01-31 11:27:52 -03:00
Denise Schannon
428241a6d4
Add in missing word "app" to error
2020-01-21 06:11:29 -08:00
Bob van Bokkem
4da24fde13
Merge branch 'master' into kubectl-extended-plugins
2020-01-13 13:11:43 +01:00
Dan Ramich
c9d6d0a7f7
Update catalog call
2019-12-13 14:00:44 -07:00
Dan Ramich
1843e5dc4b
Merge pull request #253 from dramich/sshexternal
...
Add option to allow ssh using external IP of node
2019-12-05 13:54:11 -07:00
Dan Ramich
581377a5ab
Merge pull request #254 from mrajashree/yaml_conversion_error
...
Call yaml.Unmarshal on values/answers file using YAML
2019-11-14 12:14:30 -08:00
Dan Ramich
b30e12a84f
Do a nil check on appRevision.Status
...
Problem:
appRevision.Status can be nil which will cause a panic
Solution:
Validate the field is not nil before assigning internal values
2019-11-11 10:26:59 -08:00
rajashree
d8d74599f0
Call yaml.Unmarshal on values/answers file using YAML
...
We use json.Unmarshal for files using JSON format, and convert the
YAML format files to JSON first and call json.Unmarshal on them as well.
The yaml to json conversion let to unquoted numbers getting converted to
scientific notation. So this commit fixes it by calling yaml.Unmarshal
directly on file with yaml format instead of converting them to json.
2019-10-03 11:25:49 -07:00
Dan Ramich
3f750fb24b
goimports changes
2019-09-03 16:58:33 -07:00
Dan Ramich
1adef85608
Add option to allow ssh using external IP of node
2019-09-03 14:13:11 -07:00
rmweir
b2b7425c13
Print actual mcapp name
...
Installing print text now uses name from created app. Prior, printed
app name was taken from user passed arguments. If the user did not
pass a name, then a blank name was printed.
2019-09-03 10:54:59 -07:00
rmweir
e5d127d6dc
Add wait and timeout to multi-cluster apps
...
Added wait and timeout flags to multi-cluster apps. Removed
automatic CLI blocking behavior. Added multi-cluster apps
to rancher wait command. Made flags and descriptions more
clear. Prior, there was no way to configure wait and
timeout helm options for multi-cluster apps. This would
prevent apps which take longer than 5 minutes to fail
installing. Install would block CLI untill app was properly
installed. CLI text did not make it clear that wait/timeout
are helm options.
2019-08-26 16:37:09 -07:00
Dan Ramich
88402d671c
Use version link to find template
2019-08-16 10:43:38 -07:00