configgin 0.16.3 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/configgin/version.rb +1 -1
- data/lib/kube_link_generator.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa8713f79b21460455aa6549b7058438b92e8d58
|
4
|
+
data.tar.gz: fc456cd39b9983f7c03bf3ab3190de6df98f5ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5ea0526b57743572c06ac2ced4a24973daacd1c12e4fefc2d2a3d446b762875a6af8c81f704ba1a10a00423bd96aeea1efd0ecf277b78b53442a66f618f7da7
|
7
|
+
data.tar.gz: f3b3cff5cb6698e8a84bbd7db304fc1d16b837d9fed62dc34c9adc623713602220d26efb35671c8defb8ffe9340e7f488f98d8802dfdbfa8580e7fe465d6f802
|
data/Gemfile.lock
CHANGED
data/lib/configgin/version.rb
CHANGED
data/lib/kube_link_generator.rb
CHANGED
@@ -169,8 +169,11 @@ class KubeLinkSpecs
|
|
169
169
|
instances = get_statefulset_instance_info(provider['role'], provider['job'])
|
170
170
|
end
|
171
171
|
|
172
|
+
# Underscores aren't valid hostnames, so jobs are transformed in fissile to use dashes
|
173
|
+
job_name = provider['job'].gsub('_', '-')
|
174
|
+
|
172
175
|
@links[key] = {
|
173
|
-
'address' => "#{provider['role']}.#{ENV['KUBERNETES_NAMESPACE']}.svc.#{ENV['KUBERNETES_CLUSTER_DOMAIN']}",
|
176
|
+
'address' => "#{provider['role']}-#{job_name}.#{ENV['KUBERNETES_NAMESPACE']}.svc.#{ENV['KUBERNETES_CLUSTER_DOMAIN']}",
|
174
177
|
'instance_group' => '', # This is probably the role name from the manifest
|
175
178
|
'default_network' => '',
|
176
179
|
'deployment_name' => namespace,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configgin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SUSE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|