kubernetes_helper 1.1 → 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 +4 -4
- data/lib/kubernetes_helper/version.rb +1 -1
- data/lib/templates/{_replicas.yml.erb → _replicas.yml} +0 -0
- data/lib/templates/{_sidekiq_alive_gem.yml.erb → _sidekiq_alive_gem.yml} +0 -0
- data/lib/templates/certificate.yml +7 -0
- data/lib/templates/deployment.yml +5 -3
- data/lib/templates/ingress.yml +1 -7
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a680149c9a36ebc58fc0f7560a1257bc48bedfbf8a12ed93cfed112b12799407
|
|
4
|
+
data.tar.gz: b0b0dafefba5594194bed8bf990ace04f04297939f2861575d79b84c716aacca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b3829818e7e37a552fe645686b954a27ac7779ab6097aaba16fe3b6b91538c471c4501b9c9d1346230737553772058ae0c4cc5183b4fe61ca1a289cf5422d24
|
|
7
|
+
data.tar.gz: c98898c74f76a1d796387953450360a5d167b070a23461a58f3ae20b93a840906920fc191b196354132ff124925d6c877bd1baf28a60a5d6f766fd7c0af89e60
|
|
File without changes
|
|
File without changes
|
|
@@ -61,6 +61,7 @@ documents:
|
|
|
61
61
|
command: ["/cloud_sql_proxy", "--dir=/cloudsql",
|
|
62
62
|
"-instances=<%=deployment.cloud_sql_instance%>",
|
|
63
63
|
"-credential_file=/secrets/gcloud/credentials.json"]
|
|
64
|
+
env: []
|
|
64
65
|
volumeMounts:
|
|
65
66
|
- *cloud_credentials_volume
|
|
66
67
|
<% end %>
|
|
@@ -68,7 +69,8 @@ documents:
|
|
|
68
69
|
- &logs_container # print to stdout all log files
|
|
69
70
|
name: print-logs
|
|
70
71
|
image: busybox
|
|
71
|
-
command: [/bin/sh, -c, 'until find log/*.log; do sleep 1; done; tail -n+1 -f log/*.log']
|
|
72
|
+
command: [/bin/sh, -c, 'until find /app/log/*.log; do sleep 1; done; tail -n+1 -f /app/log/*.log']
|
|
73
|
+
env: []
|
|
72
74
|
volumeMounts:
|
|
73
75
|
- *log_volume
|
|
74
76
|
|
|
@@ -108,7 +110,7 @@ documents:
|
|
|
108
110
|
<% end %>
|
|
109
111
|
|
|
110
112
|
<% if deployment.job_sidekiq_alive_gem %>
|
|
111
|
-
<%= include_template "_sidekiq_alive_gem.yml
|
|
113
|
+
<%= include_template "_sidekiq_alive_gem.yml" %>
|
|
112
114
|
<% else %>
|
|
113
115
|
ports: [ ]
|
|
114
116
|
<% if (deployment.job_services || []).any? %>
|
|
@@ -132,5 +134,5 @@ documents:
|
|
|
132
134
|
<% end %>
|
|
133
135
|
|
|
134
136
|
<% if deployment.replicas_range %>
|
|
135
|
-
<%= include_template "_replicas.yml
|
|
137
|
+
<%= include_template "_replicas.yml" %>
|
|
136
138
|
<% end %>
|
data/lib/templates/ingress.yml
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<% if ingress.domain_name %>
|
|
2
|
-
|
|
3
|
-
kind: ManagedCertificate
|
|
4
|
-
metadata:
|
|
5
|
-
name: '<%=ingress.certificate_name%>'
|
|
6
|
-
spec:
|
|
7
|
-
domains: # does not support for willcard domains
|
|
8
|
-
- '<%=ingress.domain_name%>'
|
|
2
|
+
<%= include_template "certificate.yml" %>
|
|
9
3
|
<% end %>
|
|
10
4
|
|
|
11
5
|
---
|
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.
|
|
4
|
+
version: '1.2'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- owen2345
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: erb
|
|
@@ -40,9 +40,10 @@ files:
|
|
|
40
40
|
- lib/kubernetes_helper/railtie.rb
|
|
41
41
|
- lib/kubernetes_helper/version.rb
|
|
42
42
|
- lib/templates/README.md
|
|
43
|
-
- lib/templates/_replicas.yml
|
|
44
|
-
- lib/templates/_sidekiq_alive_gem.yml
|
|
43
|
+
- lib/templates/_replicas.yml
|
|
44
|
+
- lib/templates/_sidekiq_alive_gem.yml
|
|
45
45
|
- lib/templates/cd.sh
|
|
46
|
+
- lib/templates/certificate.yml
|
|
46
47
|
- lib/templates/deployment.yml
|
|
47
48
|
- lib/templates/ingress.yml
|
|
48
49
|
- lib/templates/secrets.yml
|