kubernetes_helper 1.11.0 → 1.11.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0b83d896c9cffe12e38bd7c7ed4ecf56ed2eaa45836338c00d387655bd4f451
4
- data.tar.gz: 9b8e19cb71692e6ea90066c3cb5120786a85e6402e0ae9e156bdbf75d0f3de31
3
+ metadata.gz: 284a91c77c6a5aa796e2593eadbdcecd85a5b52e35ae7bb6dbd53cde80ef7067
4
+ data.tar.gz: dfe726e21ba3a03de4ad9cb272922d5f253b306f8a16996954f7efa29595a5f5
5
5
  SHA512:
6
- metadata.gz: 0b60c04186e29c3a729244b669385f7614b6812b2bbf5aeb8418a86f739737e56ee1e19e4de9eb202218e763492a76c14b7128a64f702d4a1288b0d8f1a0ffaa
7
- data.tar.gz: e39bfd0335359f746ad66f5791f636c056f3749c7abe2405c0e17f72475935bc03a3b7fc41faec095f030cfe8e0b8785a6369eea479953de6e02f8795de76061
6
+ metadata.gz: e8ccc2bd6661de602e7eb2f21935fa16a8ddb344d3130f3ee7d8331025552675538cf321236b40360f119a58768700d85b9b80cabbc98fa0093e7d5ce337572f
7
+ data.tar.gz: 4b3185c7eb890ff9acb7e8ecdafbf85176f7a2e2703cd54e8fc1f0f4abe54b9112a00a27c1a2039c5cc5a718b17d1fd3a33eae9212d8b1764c0210babf02be04
data/README.md CHANGED
@@ -90,6 +90,8 @@ Below settings are used when configuring the application in the k8s environment
90
90
  - `ingress.certificate_name` (Optional): Ssl certificate is not created nor assigned if empty value. Sample: `my-app-lets-encrypt`. Note: requires `certificate_domain`
91
91
  - `ingress.certificate_domain` (Optional): Domain name for the certificate. Sample: `myapp.com`. Note: does not support for willcard domains
92
92
 
93
+ - `cloud.name` (String, optional): Cloud service name. Default `gcloud`.
94
+
93
95
  ### Partials
94
96
  - `_container_extra_settings.yml` Partial template to add custom container settings. Receives `pod` as local variable (`web` | `job` | `cloudsql` | `logs`). Sample:
95
97
  ```yaml
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesHelper
4
- VERSION = '1.11.0'
4
+ VERSION = '1.11.1'
5
5
  end
data/lib/templates/cd.sh CHANGED
@@ -37,7 +37,7 @@ then
37
37
  fi
38
38
 
39
39
 
40
- ALREADY_DEPLOYED="$(gcloud container images list-tags --format='get(tags)' $IMAGE_NAME | grep $CI_COMMIT_SHA)"
40
+ ALREADY_DEPLOYED="$(gcloud container images list-tags --format='get(tags)' $IMAGE_NAME | grep $CI_COMMIT_SHA || :;)"
41
41
  if [ -z $ALREADY_DEPLOYED ]
42
42
  then
43
43
  ## Build and push containers
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.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - owen2345