mirror of
https://github.com/rancher/rke.git
synced 2025-09-09 02:51:15 +00:00
Revert "Make etcd provisioning a public API"
This reverts commit d2c58fb8e6
.
This commit is contained in:
@@ -62,7 +62,7 @@ const (
|
||||
AWSCloudProvider = "aws"
|
||||
)
|
||||
|
||||
func (c *Cluster) DeployETCD(ctx context.Context) error {
|
||||
func (c *Cluster) DeployControlPlane(ctx context.Context) error {
|
||||
// Deploy Etcd Plane
|
||||
etcdProcessHostMap := c.getEtcdProcessHostMap(nil)
|
||||
if len(c.Services.Etcd.ExternalURLs) > 0 {
|
||||
@@ -73,15 +73,6 @@ func (c *Cluster) DeployETCD(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Cluster) DeployControlPlane(ctx context.Context) error {
|
||||
// Deploy Etcd Plane
|
||||
if err := c.DeployETCD(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Deploy Control plane
|
||||
processMap := map[string]v3.Process{
|
||||
services.SidekickContainerName: c.BuildSidecarProcess(),
|
||||
|
Reference in New Issue
Block a user