civo_cli 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/civo_cli/version.rb +1 -1
- data/lib/kubernetes.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14c04acd878f426f06abc96b2016dcd85e91706b121f0dd5b185bf0a2e7ec85b
|
4
|
+
data.tar.gz: e80ba343f83c2e5fb9c73bb93bce5acb0f33756f039dc335916c16645b58ecee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4f0e3e6dff28ae67fc3f47cfda37ed02dd2f252c0b29b049e15ddf80e5e9642b9078e3bd9c5b74b927b15afef70785445c0b13d330893aab5d8e4d068a18653
|
7
|
+
data.tar.gz: c4f59cbf1e1242000ddca04f48f04a96d449430e1c43233c2e4136cf9e2f64791de95a62f02089702fe8eea6769eef128d13c520fb15baabc914552a02ac68d6
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@ All notable changes to the Civo CLI will be documented in this file.
|
|
3
3
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
5
5
|
|
6
|
+
## [0.4.8] - 2019-10-17
|
7
|
+
### Fixed
|
8
|
+
- `civo k3s ls` was always warning about an upgrade available.
|
9
|
+
|
6
10
|
## [0.4.7] - 2019-10-17
|
7
11
|
### Added
|
8
12
|
- Ability to upgrade an existing k3s cluster `civo k3s upgrade`.
|
data/Gemfile.lock
CHANGED
data/lib/civo_cli/version.rb
CHANGED
data/lib/kubernetes.rb
CHANGED
@@ -13,11 +13,11 @@ module CivoCLI
|
|
13
13
|
puts cluster.id
|
14
14
|
end
|
15
15
|
else
|
16
|
-
upgrade_available = true
|
17
16
|
rows = []
|
18
17
|
Civo::Kubernetes.all.items.each do |cluster|
|
19
18
|
version = cluster.kubernetes_version
|
20
19
|
if Gem::Version.new(latest_version) > Gem::Version.new(version)
|
20
|
+
upgrade_available = true
|
21
21
|
version = "#{version} *".colorize(:red)
|
22
22
|
end
|
23
23
|
rows << [cluster.id, cluster.name, cluster.num_target_nodes, cluster.target_nodes_size, version, cluster.status]
|