kubes 0.6.7 → 0.6.8
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/_docs/helpers/google.md +1 -1
- data/docs/_docs/helpers/google/gke.md +7 -3
- data/docs/_docs/helpers/google/secrets.md +1 -1
- data/docs/_includes/config/hooks/options.md +1 -0
- data/lib/kubes/command.rb +1 -1
- data/lib/kubes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18a7d3b8deec0ae4cd5d7e8ba2be00309e8fbfe1be70b063c452335c7278c96d
|
4
|
+
data.tar.gz: a0d70be2e034c42a7cc916f919f1de42cd50af7941dc7058875825d0d9cd95d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd2109ea8ab7141bd2c58b4c95a11a352851cf6ff9cf6512aded1236bb58e4344372ba444ce6a21870654113e80f208ee2d9908c6a14f775c6abfee9eaa33c1f
|
7
|
+
data.tar.gz: 3215ffdb98eda928dd6bb4975e1b7f309db8a41ca70b6869a77df76cb828589753a8d1d54ad8c3d76195dbc925ee7ebb15337b07ac111c91eed78fedaf6a5080
|
data/CHANGELOG.md
CHANGED
@@ -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-
|
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.
|
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:
|
@@ -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
|
+
|
data/lib/kubes/command.rb
CHANGED
data/lib/kubes/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|