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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce88507cf9921fba1b59321f1b5cc777ebe874a1
4
- data.tar.gz: 4752bef9f47dc92651ec4ac8dab3ae2f22841c87
3
+ metadata.gz: aa8713f79b21460455aa6549b7058438b92e8d58
4
+ data.tar.gz: fc456cd39b9983f7c03bf3ab3190de6df98f5ea2
5
5
  SHA512:
6
- metadata.gz: 3073e869b142653a23b8d98cff2bf9e414895093d664a460371ab92827726cd01d5bb294466f58b7b8bd574bdb63e2a73ab4211b7afff85c16bcd6d584f6437b
7
- data.tar.gz: 5797e37cf29d5ec1cce8f3df9b170cc5969d73d11db8ca17fea6520e824f49a114686c7ae17450861b7b4ab1ebcfffeb29dd5ef0a062250f1f840b0f6e66e675
6
+ metadata.gz: f5ea0526b57743572c06ac2ced4a24973daacd1c12e4fefc2d2a3d446b762875a6af8c81f704ba1a10a00423bd96aeea1efd0ecf277b78b53442a66f618f7da7
7
+ data.tar.gz: f3b3cff5cb6698e8a84bbd7db304fc1d16b837d9fed62dc34c9adc623713602220d26efb35671c8defb8ffe9340e7f488f98d8802dfdbfa8580e7fe465d6f802
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- configgin (0.16.3)
4
+ configgin (0.17.0)
5
5
  bosh-template (~> 2.0)
6
6
  deep_merge (~> 1.1)
7
7
  kubeclient (~> 2.0)
@@ -1,3 +1,3 @@
1
1
  module Configgin
2
- VERSION = '0.16.3'.freeze
2
+ VERSION = '0.17.0'.freeze
3
3
  end
@@ -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.16.3
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-10 00:00:00.000000000 Z
11
+ date: 2018-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler