mina-kubernetes 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf6c539c0e94e2c68db1032c1d2a285af1302226f235cb92c09e45110988d22b
4
- data.tar.gz: 38991bf88f16f35bfa344dd3975e98b66a843244b8cfbc80a463a4c17c45c4e6
3
+ metadata.gz: 988d02853b622363b05dafe78b55d4e1426d2c1be6230db242f2d673502cfe47
4
+ data.tar.gz: 3f735b23268764fb8543d88f0e7d6f2a35038dcf6415d5ded7b005ff17b6f100
5
5
  SHA512:
6
- metadata.gz: d37d41c55e7f2679d26f4136d0f0c3bef4f4fc52dc5d00abb3acb7169969d9167b8d1292d41a1bd60c6f8517d6f3d4eeafefa63b93c945ee3ef95b03d75b47ce
7
- data.tar.gz: 8a38e99337fb690537c1f5224f7ad6249e013a494e0c4bb0452e3a9c19510f8dc345fa1f8f5d2dfc474810bc3be687f3474784e560ba51b71126cda7dd3c2b69
6
+ metadata.gz: f1a73d1104ed840f91f20f78ad17d0a25aaf67abb4dcc33592fca0f9fcbe315b864c57541a4bc498519c7c4eae17169ab27d6803d0d56b92e49a9ef82d9c7f5f
7
+ data.tar.gz: 752b9921c9aa90bdf4b2d53a01ee30c5c6fa3ceca0e071df90154e00910106d048ef5380168e283fb7291774796dc862820f50a473533bc28541e2c5ddceec96
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Kubernetes
3
- VERSION = "3.1.1"
3
+ VERSION = "3.1.2"
4
4
  end
5
5
  end
@@ -101,7 +101,7 @@ def run_command(command, env_hash = {})
101
101
  pod_name = TTY::Prompt.new.ask("What name for the pod?", :value => default_pod_name)
102
102
 
103
103
  run :local do
104
- comment "Lauching pod #{color(pod_name, 36)} to run #{color(command, 36)}"
104
+ comment "Launching pod #{color(pod_name, 36)} to run #{color(command, 36)}"
105
105
  end
106
106
 
107
107
  pod_run_command = "#{proxy_env} kubectl run #{pod_name} --rm -i --tty --restart=Never --overrides='#{fetch(:kubectl_pod_overrides)}' --context=#{fetch(:kubernetes_context)} --namespace=#{fetch(:namespace)} --image #{fetch(:image_repo)}:#{fetch(:image_tag)} #{env}"
@@ -124,7 +124,7 @@ def run_command(command, env_hash = {})
124
124
 
125
125
  case choice
126
126
  when :attach
127
- attach_command = "#{proxy_env} kubectl attach #{pod_name} -i --tty -c #{pod_name} --context=#{fetch(:kubernetes_context)} --namespace=#{fetch(:namespace)}"
127
+ attach_command = "#{proxy_env} kubectl attach #{pod_name} -i --tty -c console --context=#{fetch(:kubernetes_context)} --namespace=#{fetch(:namespace)}"
128
128
  system "#{attach_command} && #{delete_command}"
129
129
  when :replace
130
130
  system delete_command
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-kubernetes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Sabourin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
11
+ date: 2025-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.2.15
144
+ rubygems_version: 3.5.11
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Mina plugin to streamline deployment of resources to Kubernetes cluster