kubernetes_helper 1.12.6 → 1.12.7

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: bf87f6d177cb37e15c19d46f4a4441499d2626343fd37ca723e6145ec2d28129
4
- data.tar.gz: 6460afab6ef2fbc33c928ff22844520e0996f5782b1f5d53b3e615dfeed154ff
3
+ metadata.gz: 386faaa431a2175aef58d35449263616ceaa27eb50c7eed09e4b2f2273321e62
4
+ data.tar.gz: 9a34b266ab98773d7453c28aec664f37dbf49d21d87e6b6f8d919ef9079bded5
5
5
  SHA512:
6
- metadata.gz: 816d757cc8ce84fb99cd8036a7f9aea425b47c012a7740f1ea1c158196d66dc94d806c158203a37562c5157ae89dfbb7f3820d5ec5405088db40ef623522b25c
7
- data.tar.gz: a967a0be0baa0dc7c8f5706a709fe4e4e3e944a74d09c4007f6e8ba93ff979262126ad5ebe44725705c8df462344b401590651787ed77d177173d2f5304076ea
6
+ metadata.gz: 8e328d4a95e718f3815abd517cd8e1bb0ade62b80fbd25770eb6fb2e3730a7993098940e61bc65c56aa5538f94d707517a4ad5867be2189825734a812162c641
7
+ data.tar.gz: e807a576fae8a3402dba6fd6f3dd964dc75cfe55b3afde6df16ae2c8584f319194c8da2c637c97576b07ef17e766d4440866d296eb8f1f9e353401c4bf7f7fab
data/README.md CHANGED
@@ -88,8 +88,8 @@ Below settings are used when configuring the application in the k8s environment
88
88
  - `secrets.name` (String): K8s secrets name where env vars will be saved and fetched from. Sample: `my-app-secrets`
89
89
 
90
90
  - `service.name`: K8s service name. Sample: `my-app-service`
91
- - `service.port_name`: Http port name to connect between k8s ingress and service. Sample: `http-port`. Note: max 15 characters
92
- - `service.backend_port_name` (String): Web backend port name to be connected between k8s service and web deployments. Sample: `b-port`. Note: max 15 characters
91
+ - `service.port_name` (String, default `http-port`): Http port name to connect between k8s ingress and service. Sample: `http-port`. Note: max 15 characters
92
+ - `service.backend_port_name` (String, default `b-port`): Web backend port name to be connected between k8s service and web deployments. Sample: `b-port`. Note: max 15 characters
93
93
 
94
94
  - `ingress.name`: Name of k8s ingress for the app: Sample: `my-app-ingress`
95
95
  - `ingress.ip_name` (Optional): Static ip address is not created nor assigned if empty value. Sample: `my-app-static-ip`
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesHelper
4
- VERSION = '1.12.6'
4
+ VERSION = '1.12.7'
5
5
  end
@@ -25,7 +25,10 @@ module KubernetesHelper
25
25
  deployment: {
26
26
  log_container: true
27
27
  },
28
- service: {},
28
+ service: {
29
+ port_name: 'http-port',
30
+ backend_port_name: 'b-port'
31
+ },
29
32
  secrets: {},
30
33
  continuous_deployment: {},
31
34
  ingress: {}
@@ -37,8 +37,6 @@ settings = {
37
37
  },
38
38
  service: {
39
39
  name: app_name,
40
- port_name: 'http-port', # max 15 characters
41
- backend_port_name: 'b-port' # max 15 characters
42
40
  }
43
41
  }
44
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.6
4
+ version: 1.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - owen2345