kubernetes_helper 1.20.2 → 1.21.1

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: 3c37c83c9ede6fe5f9dc67a2ae7d859290bb7d40f8801aa9c5a1481d3cc51666
4
- data.tar.gz: 5e6c15ae2245fbcad4a80369a7718f6643a5fe10db415c01174247686ee4bb7e
3
+ metadata.gz: e673c63bb22eaf500bbb6daae2e9891946d280ccf098ed80bbfef8f007329f55
4
+ data.tar.gz: 402a290ed022302fc4a80f56e9a76e713f011771a73c8f9bbd6bb8943ff1bad0
5
5
  SHA512:
6
- metadata.gz: a8dfa0eec07574b5b8452a1c1075d98e857d85df6de095765c1910826d41a5c171fb95c39a71acbf6fff025ceff2f1ba50fe3ea4f14071d0de5e16f83728a6a7
7
- data.tar.gz: 5ca3c54401bc67fc0aedf4a8152b652b3e26682c82bb200a3743af29ad6b97c9b668ec2add1d48aa845c908fd99f734d02d1699a15b3a32e72b3a6e67511e3a5
6
+ metadata.gz: cb13454cf6ed412640463c1ae03979eeebff21feeb11c3c044fd7415db6234f00d01d2815f437b03b91725c5e901dd67ec1b6580148cf818bf041311e8a7e419
7
+ data.tar.gz: 10f526988a98e5f3779ac7b3e2d9bf4679708342a8004e5a88fb516b8574cf4238a94101e3469fd29159f7cc927a310379e2c691aba48542bfca9edb20907860
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesHelper
4
- VERSION = '1.20.2'
4
+ VERSION = '1.21.1'
5
5
  end
@@ -86,8 +86,7 @@ module KubernetesHelper
86
86
  command: settings[:deployment][:job_command],
87
87
  services: settings[:deployment][:job_services],
88
88
  resources: settings[:deployment][:job_resources],
89
- sidekiq_alive_gem: settings[:deployment][:job_sidekiq_alive_gem],
90
- rolling_update: settings[:deployment][:job_rolling_update]
89
+ sidekiq_alive_gem: settings[:deployment][:job_sidekiq_alive_gem]
91
90
  }
92
91
  ]
93
92
  end
@@ -1,6 +1,6 @@
1
1
  # locals: { domains: Hash(domain => cert_name) }
2
2
  <% locals[:domains].each do |domain, cert_name| %>
3
- apiVersion: networking.gke.io/v1beta1
3
+ apiVersion: networking.gke.io/v1
4
4
  kind: ManagedCertificate
5
5
  metadata:
6
6
  name: '<%= cert_name %>'
@@ -8,7 +8,7 @@
8
8
 
9
9
  ---
10
10
 
11
- apiVersion: extensions/v1beta1
11
+ apiVersion: networking.k8s.io/v1
12
12
  kind: Ingress
13
13
  metadata:
14
14
  name: '<%=ingress.name%>'
@@ -26,6 +26,8 @@ metadata:
26
26
  <% end %>
27
27
 
28
28
  spec:
29
- backend:
30
- serviceName: '<%=service.name%>'
31
- servicePort: '<%=service.port_name%>'
29
+ defaultBackend:
30
+ service:
31
+ name: '<%=service.name%>'
32
+ port:
33
+ name: '<%=service.port_name%>'
@@ -7,6 +7,10 @@ metadata:
7
7
  name: '<%=service.name%>-bconfig'
8
8
  spec:
9
9
  timeoutSec: 1800
10
+ <% if deployment.liveness_path %>
11
+ healthCheck:
12
+ requestPath: <%= deployment.liveness_path %>
13
+ <% end %>
10
14
  ---
11
15
  <% end %>
12
16
 
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.20.2
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - owen2345
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erb