minfra-cli 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/minfra/cli/commands/kube.rb +3 -3
- data/lib/minfra/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16d7979548068a14a297be13086588549af443c92b2e34aad122cd2235fd4ed5
|
4
|
+
data.tar.gz: 047e86635b52285501a533c2c87b36187025382dbf7429e6bfe0b17b0b4a9fc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d8a24e419d98ef0609da5d09d356a2ac4d01920d79e96ff80a28c6917afa22f09dcfc99138fe345375ddb5f282906e9339b692e49dba01fc93bcc072e6b52a
|
7
|
+
data.tar.gz: 29324defe80574b1057cad503bfc15919cde0e6ae04d250bb6a346bacdb7e6612af5dccdadd01fc563ed962bf5328741e024d3c61310aec40c1505e10169fd74
|
data/CHANGELOG.md
CHANGED
@@ -183,7 +183,7 @@ module Minfra
|
|
183
183
|
|
184
184
|
subcommand = args.shift
|
185
185
|
|
186
|
-
if ['exec', 'logs'].include?(subcommand)
|
186
|
+
if ['exec', 'logs','port-forward'].include?(subcommand)
|
187
187
|
resource = nil
|
188
188
|
implicit_resource = 'pod'
|
189
189
|
else
|
@@ -196,8 +196,8 @@ module Minfra
|
|
196
196
|
options[:cluster])
|
197
197
|
|
198
198
|
cluster = stack.cluster_name
|
199
|
-
|
200
|
-
if [resource, implicit_resource].include?('pod') && ['delete', 'describe', 'exec', 'logs'].include?(subcommand)
|
199
|
+
byebug
|
200
|
+
if [resource, implicit_resource].include?('pod') && ['delete', 'describe', 'exec', 'logs', 'port-forward'].include?(subcommand)
|
201
201
|
cmd_get_pods = "kubectl --kubeconfig #{kube_config_path} --context #{cluster} --namespace #{options[:stack]} get pod -o jsonpath='{range .items[*]}{.metadata.name}{\"\\n\"}'"
|
202
202
|
|
203
203
|
pods_list = run_cmd(cmd_get_pods).split("\n")
|
data/lib/minfra/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minfra-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Schrammel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|