kerby 0.1.3 → 0.1.4
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/README.md +6 -1
- data/lib/kerby/cli.rb +3 -3
- data/lib/kerby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0d28beb84c13a3f0a274e13f1b7807457ae1e81c5828c366caf4c2bf205076
|
4
|
+
data.tar.gz: d9a13c4d3685ec2f542a933b07ccbd5fefbe2b6a25895c76173410c9e97407cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45b6ff3bd77d62e9db121b125956bfccd55bd5a35ae5a9e5a91e22c3e64d9d87d6c82cf85fa4b44aa5eaf84833b8f2d3f579df023e05801bd8ee87bea76b9324
|
7
|
+
data.tar.gz: 9e6f2d2d8d18fd1c2a263455f6ca8c56bd5127be85b29d241b001eec782f1da21aab5f9ef05cc0cfe707a0d44d532a0b9e96b8beea5005c1c516d83cb9f78c96
|
data/README.md
CHANGED
@@ -22,6 +22,11 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
$ kerby build [--node-yaml=NODE_YAML] MANIFEST-FILE... | kubectl apply -f -
|
24
24
|
|
25
|
+
## API
|
26
|
+
|
27
|
+
Any ruby method can be embedded in ERB manifest file, as wells as
|
28
|
+
{Kerby::Cli Kerby supporting methods} are also able to be used.
|
29
|
+
|
25
30
|
## Development
|
26
31
|
|
27
32
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -30,7 +35,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
30
35
|
|
31
36
|
## Contributing
|
32
37
|
|
33
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/maedadev/kerby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/maedadev/kerby/blob/master/CODE_OF_CONDUCT.md).
|
34
39
|
|
35
40
|
|
36
41
|
## License
|
data/lib/kerby/cli.rb
CHANGED
@@ -73,17 +73,17 @@ module Kerby
|
|
73
73
|
|
74
74
|
# return node_yaml value for the key.
|
75
75
|
#
|
76
|
-
# For example, command execution:
|
76
|
+
# For example, when command execution is:
|
77
77
|
#
|
78
78
|
# $ kerby build --node_yaml staging-node.yml manifest.yml
|
79
79
|
#
|
80
|
-
# and
|
80
|
+
# and staging-node.yml contains:
|
81
81
|
#
|
82
82
|
# app:
|
83
83
|
# namespace: city-A
|
84
84
|
#
|
85
85
|
# Then, <%= k8s_node('app.namespace') %> in manifest.yml will be
|
86
|
-
#
|
86
|
+
# transformed to 'city-A'.
|
87
87
|
#
|
88
88
|
# @!visibility public
|
89
89
|
def k8s_node(key)
|
data/lib/kerby/version.rb
CHANGED