kubernetes_helper 1.11.1 → 1.11.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/README.md +3 -1
- data/lib/kubernetes_helper/version.rb +1 -1
- data/lib/templates/_job_liveness.yml +1 -1
- data/lib/templates/_volumes.yml +0 -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: 23c41532791e352e8faf3292df90c6b1d6e62846a28037be8d28cb7d92441104
|
|
4
|
+
data.tar.gz: e74e693b4b8c741cb0df1da0e6e4e94a28b1ec20cf9a43469dd09bbb67884e91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8654828bde9d8de102165c5b034b1d19aa948e5da709b280a96f922f881792756e1a791878cb2ffa3a3a8fd45baa52ab25399f17f89ecb51b4a9df44e38c667
|
|
7
|
+
data.tar.gz: ff68484362812d0a247f2f42469f731869de61380a60011c2627714e5a94fb585605aa68e9e11fc63ea529e59a64d7fd17ba119ceb0b0c3795dbecd07ce8910f
|
data/README.md
CHANGED
|
@@ -71,7 +71,9 @@ Below settings are used when configuring the application in the k8s environment
|
|
|
71
71
|
- `deployment.env_vars` (Hash, optional): List of static env variables (Note: Not recommended for sensitive values). Sample: `{ 'RAILS_ENV' => 'production' }`
|
|
72
72
|
- `deployment.command` (String, Optional): Bash command to be used for web containers. Sample: `rails s -b 0.0.0.0`
|
|
73
73
|
- `deployment.liveness_path` (String, Optional): Relative path to be used for readiness and liveness checker of the web app. Sample: `/check_liveness`
|
|
74
|
-
- `deployment.custom_volumes` (Hash<name: path>, Optional): Custom volumes to be mounted.
|
|
74
|
+
- `deployment.custom_volumes` (Hash<name: path>, Optional): Custom volumes to be mounted.
|
|
75
|
+
Sample volume: `{ my_volume: { kind: 'hostPath', mount_path: '/', settings: { path: '..', type: 'Directory' } } }`
|
|
76
|
+
Sample secret: `{ pubsub_secret: { kind: 'secret', mount_path: '/secrets/pubsub', settings: { secretName: 'my_secret_name' } } }`
|
|
75
77
|
|
|
76
78
|
- `deployment.job_name` (String, optional): Job deployment name (Note: Underscores are not accepted). Sample: `my-app-job`. Note: This deployment is created only if this value is present
|
|
77
79
|
- `deployment.job_command` (String, optional): Bash command to be used for job container. Sample: `bundle exec sidekiq`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
livenessProbe: &liveness_probe
|
|
4
4
|
exec:
|
|
5
5
|
command: [ /bin/sh, -c,
|
|
6
|
-
'if [ $(ps -ef | grep "<%= deployment.job_services.join("
|
|
6
|
+
'if [ $(ps -ef | grep "<%= deployment.job_services.join("\\|") %>" | grep -v "grep" | wc -l) -lt <%= deployment.job_services.count %> ]; then
|
|
7
7
|
echo "Some required services are not running"; exit 1;
|
|
8
8
|
fi' ]
|
|
9
9
|
initialDelaySeconds: 120
|
data/lib/templates/_volumes.yml
CHANGED
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.11.
|
|
4
|
+
version: 1.11.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- owen2345
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: erb
|