kubernetes_helper 1.23.2 → 1.23.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8019da86f8a8fe797add32fa93f9e6f6fb24c8747422a11081ab2a4101e7aa1b
4
- data.tar.gz: d4881674496b9b5de83af595c3c2606d952805bcbca272f0f8b7e928faaaeab4
3
+ metadata.gz: 833ed563a81c23d8d03251d2442403f2e9e46b21e822c178e9c243496a8da186
4
+ data.tar.gz: b11b4d9956de1d0faa57696b9d18b1ca94888939e75afd3b54ba1648c2fd6736
5
5
  SHA512:
6
- metadata.gz: f24e70d6b57ba26492dc0f68e9592b8e207a3dae8cd985bbd2cdd85ae8b8a9b753966c67f5662b56f56b8c442ea7bcb0ea46564632cf81b608058acd23042715
7
- data.tar.gz: b24d652458f1cbe21d864a605fd289c8a9d1afd3e6e00b162dacf25005a460d0a1d8024bf53d4f59c14a2064a4d2cc5089b8dcc3e1b90c207d278353a485da72
6
+ metadata.gz: 8998112f49623fd6aca2cd49356ae2a9ab346e244e8a7892faf173657d66bef1d166ed45f3b4ca619faaa13cf0eb33c52cbae8319f4dd6ef2981e5f956180eb3
7
+ data.tar.gz: 2798163ce50ac7f259bc564f38960a92c45e2a472de1433d39cf4dab55dea2526df3cdd45a878f765955c0302caf3d44b00157ae2a160a43f935017fd109ae37
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesHelper
4
- VERSION = '1.23.2'
4
+ VERSION = '1.23.4'
5
5
  end
@@ -1,8 +1,6 @@
1
1
  # Download and install doctl
2
2
  if [ -z "$(which doctl)" ]; then
3
- wget https://github.com/digitalocean/doctl/releases/download/v1.72.0/doctl-1.72.0-linux-amd64.tar.gz
4
- tar xf ~/doctl-1.72.0-linux-amd64.tar.gz
5
- sudo mv ~/doctl /usr/local/bin
3
+ sudo snap install doctl
6
4
  fi
7
5
 
8
6
  if [ ! -z "$KB_AUTH_TOKEN" ]
@@ -2,10 +2,10 @@
2
2
  <% if (locals[:services] || []).any? %>
3
3
  livenessProbe: &liveness_probe
4
4
  exec:
5
- command: [ /bin/sh, -c,
6
- 'if [ $(ps -ef | grep "<%= locals[:services].join("\\|") %>" | grep -v "grep" | wc -l) -lt <%= locals[:services].count %> ]; then
7
- echo "Some required services are not running"; exit 1;
8
- fi' ]
5
+ command:
6
+ - /bin/sh
7
+ - -c
8
+ - '<%= locals[:services].map { |svc| "if [ $(ps -ef | grep \"#{svc}\" | grep -v \"grep\" | wc -l) -eq 0 ]; then echo \"Missing service: #{svc}\"; exit 1; fi" }.join('; ') %>'
9
9
  initialDelaySeconds: 120
10
10
  periodSeconds: 30
11
11
  readinessProbe: *liveness_probe
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.2
4
+ version: 1.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - owen2345
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-02 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erb