kubes 0.6.7 → 0.6.8

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: 2a0f5afc7b3beafd9168f700e9607ada98c314a120cd5e73b4c208ef5df41d8e
4
- data.tar.gz: c0e7ebb8ce109a5c289398c4d667d2d8514ce8808ebf8dcb73f07c7413cdcd3a
3
+ metadata.gz: 18a7d3b8deec0ae4cd5d7e8ba2be00309e8fbfe1be70b063c452335c7278c96d
4
+ data.tar.gz: a0d70be2e034c42a7cc916f919f1de42cd50af7941dc7058875825d0d9cd95d9
5
5
  SHA512:
6
- metadata.gz: 24e451e47931af0e0c0ba51ec37d3da01030b88b48cc2054856a9b01a837c46428ebe9ea4eb55002bfa3584dcf6cecf9ee2bb67847831f39539598642b738892
7
- data.tar.gz: aa1760c56955f2afb2f71c17fa26479a8f11ac6b021d4f2e269d21ea4e23c0d80a6a032b1e6d1e0d85dc271ec222e40e1ae8416c66f86d9c9cc41e4e31a351e8
6
+ metadata.gz: fd2109ea8ab7141bd2c58b4c95a11a352851cf6ff9cf6512aded1236bb58e4344372ba444ce6a21870654113e80f208ee2d9908c6a14f775c6abfee9eaa33c1f
7
+ data.tar.gz: 3215ffdb98eda928dd6bb4975e1b7f309db8a41ca70b6869a77df76cb828589753a8d1d54ad8c3d76195dbc925ee7ebb15337b07ac111c91eed78fedaf6a5080
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.6.8] - 2020-11-14
7
+ - [#40](https://github.com/boltops-tools/kubes/pull/40) fix version check
8
+
6
9
  ## [0.6.7] - 2020-11-12
7
10
  - dependencies version bump: kubes_google
8
11
 
@@ -4,7 +4,7 @@ title: Google Helpers
4
4
 
5
5
  List of Google helpers:
6
6
 
7
- {% assign docs = site.docs | where: "categories","helpers-aws" %}
7
+ {% assign docs = site.docs | where: "categories","helpers-google" %}
8
8
  {% for doc in docs -%}
9
9
  * [{{ doc.nav_text }}]({{ doc.url }})
10
10
  {% endfor %}
@@ -19,14 +19,18 @@ KubesGoogle.configure do |config|
19
19
  config.gke.cluster_name = "dev-cluster"
20
20
  config.gke.google_region = ENV['GOOGLE_REGION']
21
21
  config.gke.google_project = ENV['GOOGLE_PROJECT']
22
- config.gke.enable_get_credentials = true # enable hook to call: gcloud container clusters get-credentials
22
+ config.gke.enable_hooks = KubesGoogle.cloudbuild?
23
+ config.gke.enable_get_credentials = KubesGoogle.cloudbuild? # enable hook to call: gcloud container clusters get-credentials
23
24
  end
24
25
  ```
25
26
 
26
- Note: The use of `KubesGoogle.configure` instead of `Kubes.configure` here.
27
-
28
27
  This enables `kubes apply` before and after hooks to add and remove the current machine IP.
29
28
 
29
+ Notes:
30
+
31
+ * Notice the use of `KubesGoogle.configure` instead of `Kubes.configure` here.
32
+ * The `KubesGoogle.cloudbuild?` checks if kubes is running on a CloudBuild machine. So hooks don't run locally on your machine.
33
+
30
34
  ## Options
31
35
 
32
36
  Here are the `config.gke` settings:
@@ -63,7 +63,7 @@ By default, the values are automatically base64 encoded. You can change the defa
63
63
 
64
64
  ```ruby
65
65
  KubesGoogle.configure do |config|
66
- config.secrets.base64 = true
66
+ config.secrets.base64 = false
67
67
  end
68
68
  ```
69
69
 
@@ -18,3 +18,4 @@ exit_on_fail | Whether or not to continue process if the script returns an faile
18
18
  ## Ruby Hooks
19
19
 
20
20
  Instead of using a script for the hook `execute` option, you can also use a Ruby object. This provides some more control over the current process. See: [Ruby Hooks]({% link _docs/config/hooks/ruby.md %})
21
+
@@ -57,7 +57,7 @@ module Kubes
57
57
  end
58
58
 
59
59
  def check_project!(command_name)
60
- return if %w[-h help init new].include?(command_name)
60
+ return if %w[-h -v completion completion_script help init new version].include?(command_name)
61
61
  Kubes.check_project!
62
62
  end
63
63
 
@@ -1,3 +1,3 @@
1
1
  module Kubes
2
- VERSION = "0.6.7"
2
+ VERSION = "0.6.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2020-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport