1
0
mirror of https://github.com/rancher/rke.git synced 2025-06-20 12:44:30 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Darren Shepherd
c405e6ea1b Remove references to rancher/types 2020-07-11 23:29:33 -07:00
fpicot
e9327b51f5 fix ssh agent auth with bastion host 2019-10-23 16:11:24 -07:00
Darren Shepherd
f8bac2c059 Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
Bernard Wagner
d8758c551f Add support for SSH certificate authentication 2019-01-28 10:40:43 -08:00
galal-hussein
696b61679c Final fixes and cleanup for state management
Fix dind and local and etcd snapshots

add ExternalFlags and dialer options
2018-11-09 11:16:17 -08:00
galal-hussein
8f47078988 Skip check for private key if using ssh agent 2018-08-30 02:46:18 +10:00
Sebastiaan van Steenis
bc75f0bdcf Add better error when node is unreachable 2018-07-27 13:09:51 -07:00
Sebastiaan van Steenis
25018afe35 Add distinction between failed to dial errors 2018-07-25 10:23:24 -07:00
Sebastiaan van Steenis
1ff65d1fa3 Better guidance on SSH errors 2018-07-11 12:54:47 -07:00
galal-hussein
247f4c9450 Add dind mode to rke 2018-07-10 15:51:17 -07:00
Sebastiaan van Steenis
c4f12c8b0d Better error when ssh_key_path can't be opened 2018-06-29 11:27:56 -07:00
galal-hussein
aff01a9267 Bastion host 2018-05-10 00:16:04 +02:00
galal-hussein
c307bca304 Set timeouts for docker dialer 2018-03-27 23:07:16 +02:00
Bill Maxwell
ad0bc6c0aa Leverage global SSHAgentAuth setting
This addresses users issues in being unable to use RKE command line
using SSH_AUTH_SOCK. On OSX the socket env var is set, but nothing
is listening. Also, Linux users have reported issues. To address this
the default mode is to not use SSH Agent Auth. A user must set it
explicitly in either the config file or on the CLI. The only way
to use a passphrase protected key file is with a properly configured
SSH Agent and using SSH Agent Auth.
2018-03-05 17:52:43 -07:00
Bill Maxwell
f0d1689889 Use SSH Agent
This defaults to using the SSH Agent or a passwordless key file.
It also refactors the Dialer methods a bit to simplify and decouple
the host object from the dialer.
2018-02-26 16:49:56 -07:00
Sebastiaan van Steenis
56da1fe849 SSH port is configurable 2018-02-21 13:04:06 +01:00
galal-hussein
cd1e5cf610 Custom dialers and remove local fixes 2018-02-03 03:04:53 +02:00
galal-hussein
5596b0e5e0 Fix regression with passphrased keys 2018-01-12 22:28:41 +02:00
galal-hussein
67774f7e30 Handle add/remove for etcd nodes
Handle adding more than one etcd at once
2018-01-12 03:57:37 +02:00
galal-hussein
ed7ca110b0 Add healtcheck for services components
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00
galal-hussein
fd47cdc80d Add Dialer Factory 2017-12-16 07:23:58 +02:00
galal-hussein
67c4214906 Using a custom dialer for cluster hosts 2017-12-12 01:50:10 +02:00
galal-hussein
bab8205b5f Fix SSH panic if key path doesn't exist 2017-12-11 23:56:00 +02:00
galal-hussein
de35ae3bae Fix redundant ssh tunnels for hosts 2017-12-09 03:23:02 +02:00
Sebastiaan van Steenis
bd8a966ce6 Add host connectivity and Docker version check 2017-12-04 23:15:33 +01:00
galal-hussein
f7905e2dfd Add ssh key and path per host 2017-12-04 22:09:57 +02:00
galal-hussein
41c48877ba Structure and config changes 2017-11-28 23:55:43 +02:00
galal-hussein
3f7f93c2ab Clean host after removal
return error in dialer
2017-11-26 20:41:10 +02:00
galal-hussein
ab3ef4e02d Fix encrypted key issue 2017-11-17 23:40:42 +02:00
galal-hussein
37b6c8a65e Update rancher types 2017-11-14 20:11:21 +02:00
galal-hussein
40b13446a7 Use rancher/types 2017-11-13 23:28:38 +02:00
galal-hussein
9974d53e57 Use Cluster structure
Use separate cluster package

Save cluster state and certs to kubernetes

Handle Remove and sync cluster state/crts

Reuse kubernetes client and combine image and version

Separate building functions and small fixes
2017-11-06 19:40:20 +02:00
galal-hussein
ad34392a3c Add default cluster config file and return service container pointer
Add more generic functions to go services

Add x509 authentication
2017-11-06 19:40:15 +02:00
galal-hussein
f7649289d4 Set up kubernetes components 2017-10-29 11:45:21 +02:00