mirror of https://github.com/kubernetes/kops.git
documentation update + error message fix
This commit is contained in:
parent
c02fb479dc
commit
fdd1e23250
|
@ -5,7 +5,10 @@
|
|||
## Features
|
||||
|
||||
* Create, update and delete clusters
|
||||
* Create, edit and delete instance groups
|
||||
* [Rolling-update](../operations/rolling-update.md)
|
||||
* Create, edit and delete instance groups --> Editable fields include but are not limited to:
|
||||
* Instance image
|
||||
* Instance size (also called commercial type)
|
||||
* Migrating from single to multi-master
|
||||
|
||||
### Coming soon
|
||||
|
@ -15,7 +18,6 @@
|
|||
|
||||
### Next features to implement
|
||||
|
||||
* `kops rolling-update`
|
||||
* [Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/scaleway) support
|
||||
* BareMetal servers
|
||||
|
||||
|
|
|
@ -450,16 +450,16 @@ func checkUserDataDifferences(c *fi.CloudupContext, cloud scaleway.ScwCloud, act
|
|||
Key: "cloud-init",
|
||||
}, scw.WithContext(c.Context()))
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("error getting actual user-data: %w", err)
|
||||
return false, fmt.Errorf("getting actual user-data: %w", err)
|
||||
}
|
||||
|
||||
actualUserDataBytes, err := io.ReadAll(actualUserData)
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("error reading actual user-data: %w", err)
|
||||
return false, fmt.Errorf("reading actual user-data: %w", err)
|
||||
}
|
||||
expectedUserDataBytes, err := fi.ResourceAsBytes(*expectedUserData)
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("error reading expected user-data: %w", err)
|
||||
return false, fmt.Errorf("reading expected user-data: %w", err)
|
||||
}
|
||||
|
||||
if sha256.Sum256(actualUserDataBytes) != sha256.Sum256(expectedUserDataBytes) {
|
||||
|
|
Loading…
Reference in New Issue