civo_cli 0.3.18 → 0.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/lib/civo_cli/version.rb +1 -1
- data/lib/kubernetes.rb +2 -2
- 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: 759c5158aaf115ee71ab2c19c231b6707a141d7a075830c0c518758ac9474d59
|
4
|
+
data.tar.gz: 65f6d1957c272685d15d1c64960498656bdab052d95c07142cbc921834510167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f86b8c07311376c366306271ba959ae31f2941144fe086c4d2a99457cb6ac6a2286ff1407bfb410948a4bbc5b1f5f7a79bd076343b26c4f6e970c0eb1107ab1a
|
7
|
+
data.tar.gz: 34d693db9c65f4707ff71a56eb0424455d3ea6402fbfb5f0f5aa98481ad2f3e1d43209658dcbe10a064d96549a9d9308adc9a74d6e023367f811e2d1b51d6de1
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,11 @@ 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.3.
|
6
|
+
## [0.3.19] - 2019-09-11
|
7
|
+
### Added
|
8
|
+
- Added aliases for `--applications` when creating a cluster
|
9
|
+
|
10
|
+
## [0.3.18] - 2019-09-11
|
7
11
|
### Changed
|
8
12
|
- If there is one exact match for a cluster, return that, only try partial matches if there are no exact matches
|
9
13
|
|
data/Gemfile.lock
CHANGED
data/lib/civo_cli/version.rb
CHANGED
data/lib/kubernetes.rb
CHANGED
@@ -100,7 +100,7 @@ module CivoCLI
|
|
100
100
|
option :wait, type: :boolean, banner: 'wait until cluster is running'
|
101
101
|
option :save, type: :boolean
|
102
102
|
option :switch, type: :boolean
|
103
|
-
option :applications, type: :string
|
103
|
+
option :applications, type: :string, aliases: %w{apps app application}
|
104
104
|
long_desc <<-LONGDESC
|
105
105
|
Create a new Kubernetes cluster with name (randomly assigned if blank), instance size (default: g2.medium),
|
106
106
|
\x5\x5Optional parameters are as follows:
|
@@ -111,7 +111,7 @@ module CivoCLI
|
|
111
111
|
\x5 --save - save resulting configuration to ~/.kube/config (requires kubectl and the --wait option)
|
112
112
|
\x5 --switch - switch context to newly-created cluster (requires kubectl and the --wait and --save options, as well as existing kubeconfig file)
|
113
113
|
LONGDESC
|
114
|
-
def create(name = CivoCLI::NameGenerator.create
|
114
|
+
def create(name = CivoCLI::NameGenerator.create)
|
115
115
|
CivoCLI::Config.set_api_auth
|
116
116
|
|
117
117
|
applications = []
|