kite 0.2.0 → 1.0.0
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 +5 -5
- data/CHANGELOG.md +130 -66
- data/LICENSE.md +202 -0
- data/README.md +35 -11
- data/bin/concourse/out +16 -20
- data/docs/kite-concourse-resource.md +45 -0
- data/kite.gemspec +1 -0
- data/lib/kite.rb +3 -1
- data/lib/kite/cloud.rb +1 -0
- data/lib/kite/core.rb +8 -2
- data/lib/kite/generate.rb +12 -46
- data/lib/kite/helpers.rb +0 -72
- data/lib/kite/helpers/concourse.rb +3 -2
- data/lib/kite/module.rb +76 -0
- data/lib/kite/terraform.rb +45 -0
- data/lib/kite/version.rb +1 -1
- data/tpl/aws/environment/main.tf.tt +5 -0
- data/tpl/aws/environment/s3.tf.tt +13 -0
- data/tpl/gcp/environment/gcs.tf.tt +18 -0
- data/tpl/gcp/environment/main.tf.tt +5 -0
- data/tpl/gcp/environment/outputs.tf.tt +5 -0
- data/tpl/service/%output_path%/pipelines/review.yml.tt +55 -37
- data/tpl/service/%output_path%/pipelines/tasks/create-pull-requests-tag.yml.tt +1 -1
- data/tpl/service/%output_path%/pipelines/tasks/create-repository-tag.yml.tt +1 -1
- data/tpl/service/%output_path%/pipelines/tasks/run-unit.yml.tt +7 -0
- data/tpl/service/Makefile.tt +11 -7
- data/tpl/service/docs/getting-started.md +73 -0
- data/tpl/service/docs/service.md +101 -0
- data/tpl/skel/Gemfile.tt +0 -9
- data/tpl/skel/config/cloud.yml +11 -66
- metadata +29 -88
- data/lib/kite/render.rb +0 -116
- data/tpl/aws/README.md +0 -52
- data/tpl/aws/bin/base/bootstrap.sh +0 -35
- data/tpl/aws/bin/base/cleanup.sh.tt +0 -19
- data/tpl/aws/bin/base/set-env.sh.tt +0 -7
- data/tpl/aws/bin/base/setup-tunnel.sh.tt +0 -4
- data/tpl/aws/bin/bosh-install.sh.tt +0 -23
- data/tpl/aws/bin/concourse-deploy.sh.tt +0 -14
- data/tpl/aws/bin/ingress-deploy.sh.tt +0 -7
- data/tpl/aws/bin/ingress-update.sh.tt +0 -7
- data/tpl/aws/bin/kops-delete.sh.erb +0 -5
- data/tpl/aws/bin/kops-deploy.sh.erb +0 -11
- data/tpl/aws/bin/oauth-deploy.sh.tt +0 -17
- data/tpl/aws/bin/prometheus-deploy.sh.tt +0 -23
- data/tpl/aws/bin/vault-deploy.sh.tt +0 -10
- data/tpl/aws/bosh-vars.yml.erb +0 -12
- data/tpl/aws/config/oauth.yml +0 -59
- data/tpl/aws/deployments/bosh/bosh.yml +0 -144
- data/tpl/aws/deployments/bosh/cloud-config.yml.tt +0 -86
- data/tpl/aws/deployments/bosh/cpi.yml +0 -98
- data/tpl/aws/deployments/bosh/jumpbox-user.yml +0 -27
- data/tpl/aws/deployments/concourse/concourse.yml.tt +0 -98
- data/tpl/aws/deployments/ingress/ingress.yml.erb +0 -78
- data/tpl/aws/deployments/oauth/oauth.yml.tt +0 -95
- data/tpl/aws/deployments/prometheus/monitor-bosh.yml +0 -518
- data/tpl/aws/deployments/prometheus/monitor-kubernetes.yml +0 -30
- data/tpl/aws/deployments/prometheus/prometheus.yml.tt +0 -184
- data/tpl/aws/deployments/vault/vault.yml.erb +0 -38
- data/tpl/aws/docs/bosh.md +0 -31
- data/tpl/aws/docs/concourse.md +0 -41
- data/tpl/aws/docs/ingress.md +0 -14
- data/tpl/aws/docs/kops.md +0 -35
- data/tpl/aws/docs/oauth.md +0 -24
- data/tpl/aws/docs/prometheus.md +0 -31
- data/tpl/aws/docs/vault.md +0 -35
- data/tpl/aws/terraform/kite_bucket.tf +0 -8
- data/tpl/aws/terraform/main.tf.tt +0 -36
- data/tpl/aws/terraform/network.tf.tt +0 -252
- data/tpl/aws/terraform/outputs.tf +0 -19
- data/tpl/aws/terraform/terraform.tfvars.tt +0 -21
- data/tpl/aws/terraform/variables.tf +0 -73
- data/tpl/gcp/README.md +0 -54
- data/tpl/gcp/bin/base/bootstrap.sh +0 -35
- data/tpl/gcp/bin/base/cleanup.sh.tt +0 -20
- data/tpl/gcp/bin/base/set-env.sh.tt +0 -10
- data/tpl/gcp/bin/base/setup-tunnel.sh.tt +0 -13
- data/tpl/gcp/bin/bosh-install.sh.tt +0 -22
- data/tpl/gcp/bin/concourse-deploy.sh.tt +0 -14
- data/tpl/gcp/bin/ingress-deploy.sh.tt +0 -7
- data/tpl/gcp/bin/ingress-update.sh.tt +0 -7
- data/tpl/gcp/bin/oauth-deploy.sh.tt +0 -19
- data/tpl/gcp/bin/prometheus-deploy.sh.tt +0 -23
- data/tpl/gcp/bin/vault-deploy.sh.tt +0 -10
- data/tpl/gcp/bosh-vars.yml.erb +0 -9
- data/tpl/gcp/config/oauth.yml +0 -59
- data/tpl/gcp/deployments/bosh/bosh.yml +0 -144
- data/tpl/gcp/deployments/bosh/cloud-config.yml.tt +0 -73
- data/tpl/gcp/deployments/bosh/cpi.yml +0 -69
- data/tpl/gcp/deployments/bosh/jumpbox-user.yml +0 -27
- data/tpl/gcp/deployments/concourse/concourse.yml.tt +0 -104
- data/tpl/gcp/deployments/concourse/test/test-credentials.yml +0 -3
- data/tpl/gcp/deployments/concourse/test/test-pipeline.yml +0 -24
- data/tpl/gcp/deployments/ingress/ingress.yml.erb +0 -111
- data/tpl/gcp/deployments/oauth/oauth.yml.tt +0 -95
- data/tpl/gcp/deployments/prometheus/monitor-bosh.yml +0 -518
- data/tpl/gcp/deployments/prometheus/monitor-kubernetes.yml +0 -30
- data/tpl/gcp/deployments/prometheus/prometheus.yml +0 -183
- data/tpl/gcp/deployments/vault/vault.yml.erb +0 -37
- data/tpl/gcp/docs/bosh.md +0 -36
- data/tpl/gcp/docs/concourse.md +0 -41
- data/tpl/gcp/docs/ingress.md +0 -12
- data/tpl/gcp/docs/oauth.md +0 -24
- data/tpl/gcp/docs/prometheus.md +0 -27
- data/tpl/gcp/docs/vault.md +0 -36
- data/tpl/gcp/terraform/gcs.tf.tt +0 -18
- data/tpl/gcp/terraform/main.tf +0 -70
- data/tpl/gcp/terraform/network.tf +0 -52
- data/tpl/gcp/terraform/outputs.tf +0 -7
- data/tpl/gcp/terraform/terraform.tfvars.tt +0 -15
- data/tpl/gcp/terraform/variables.tf +0 -37
- data/tpl/service/%output_path%/pipelines/tasks/helm-deploy.yml.tt +0 -22
- data/tpl/service/%output_path%/pipelines/tasks/run-master-tests.yml.tt +0 -12
- data/tpl/service/%output_path%/pipelines/tasks/run-pr-tests.yml.tt +0 -12
- data/tpl/skel/docs/index.md.tt +0 -0
- data/tpl/skel/docs/quickstart.md.tt +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0b7323b59d7734c7e069e4b4e65c09478cd7ccd06a534c51ec4bc8a180a35b76
|
|
4
|
+
data.tar.gz: 5cbe1f168c46238652c3fd68ff2dec7d476a948a113847c1311b0f29323ba3b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22eccb63efaff2853c88a0cd17f435d9d67e997b4cc1f7d79131bc13995b1974ad30fca8e0b5d180df583a484bac9eeeaa2fd808d9b2d64ed60ca2350c3a9840
|
|
7
|
+
data.tar.gz: ad71dae0938da4ee31a72468cac3e699a287c94dcbc399a57d3e6e10a0ffa43abd5ee850e6134ded2a8ca3c4d377a907258095dc07f0816dd2512c4f684c75c9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,102 +1,166 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [
|
|
4
|
-
[Full Changelog](https://github.com/
|
|
3
|
+
## [1.0.0](https://github.com/rubykube/kite/tree/1.0.0) (2018-02-19)
|
|
4
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.2.2...1.0.0)
|
|
5
5
|
|
|
6
6
|
**Closed issues:**
|
|
7
7
|
|
|
8
|
-
-
|
|
9
|
-
- Remove credentials from manifest [\#48](https://github.com/helios-technologies/kite/issues/48)
|
|
8
|
+
- Make all kite commands which require --env automatically fetch value from KITE\_ENV [\#112](https://github.com/rubykube/kite/issues/112)
|
|
10
9
|
|
|
11
10
|
**Merged pull requests:**
|
|
12
11
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
- Added no-ip + platform-internal tag for GCP instances [\#56](https://github.com/helios-technologies/kite/pull/56) ([vshatravenko](https://github.com/vshatravenko))
|
|
16
|
-
- Added instructions for kops cluster creation [\#55](https://github.com/helios-technologies/kite/pull/55) ([vshatravenko](https://github.com/vshatravenko))
|
|
17
|
-
- Added manifest credentials interpolation; updated docs [\#54](https://github.com/helios-technologies/kite/pull/54) ([vshatravenko](https://github.com/vshatravenko))
|
|
18
|
-
- Added functional tests [\#53](https://github.com/helios-technologies/kite/pull/53) ([vshatravenko](https://github.com/vshatravenko))
|
|
19
|
-
- Fixed docs and setup-tunnel mode [\#51](https://github.com/helios-technologies/kite/pull/51) ([vshatravenko](https://github.com/vshatravenko))
|
|
12
|
+
- Change the license to Apache 2.0 [\#109](https://github.com/rubykube/kite/pull/109) ([calj](https://github.com/calj))
|
|
13
|
+
- Kite-2 Release [\#107](https://github.com/rubykube/kite/pull/107) ([mod](https://github.com/mod))
|
|
20
14
|
|
|
21
|
-
## [v0.
|
|
22
|
-
[Full Changelog](https://github.com/
|
|
15
|
+
## [v0.2.2](https://github.com/rubykube/kite/tree/v0.2.2) (2017-12-14)
|
|
16
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.2.1...v0.2.2)
|
|
17
|
+
|
|
18
|
+
## [v0.2.1](https://github.com/rubykube/kite/tree/v0.2.1) (2017-12-14)
|
|
19
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.2.0...v0.2.1)
|
|
20
|
+
|
|
21
|
+
**Merged pull requests:**
|
|
22
|
+
|
|
23
|
+
- Added environment dependency to service generated Makefile [\#103](https://github.com/rubykube/kite/pull/103) ([ashanaakh](https://github.com/ashanaakh))
|
|
24
|
+
- Updated AWS README [\#102](https://github.com/rubykube/kite/pull/102) ([vshatravenko](https://github.com/vshatravenko))
|
|
25
|
+
- Added kubernetes token support [\#101](https://github.com/rubykube/kite/pull/101) ([ashanaakh](https://github.com/ashanaakh))
|
|
26
|
+
- Added "Getting started" docs to kite generate service [\#100](https://github.com/rubykube/kite/pull/100) ([vshatravenko](https://github.com/vshatravenko))
|
|
27
|
+
- Upgrade Bosh AWS CPI to fix issue: Ruby 2.3.x and older are not compa… [\#98](https://github.com/rubykube/kite/pull/98) ([calj](https://github.com/calj))
|
|
28
|
+
- Ability to overwrite the VERSION when running make [\#97](https://github.com/rubykube/kite/pull/97) ([calj](https://github.com/calj))
|
|
29
|
+
- Added Updated Concourse 3.8.0 BOSH manifest [\#96](https://github.com/rubykube/kite/pull/96) ([vshatravenko](https://github.com/vshatravenko))
|
|
30
|
+
- helm deploy in concourse pipeline using kite resource [\#95](https://github.com/rubykube/kite/pull/95) ([calj](https://github.com/calj))
|
|
31
|
+
|
|
32
|
+
## [v0.2.0](https://github.com/rubykube/kite/tree/v0.2.0) (2017-11-07)
|
|
33
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.1.0...v0.2.0)
|
|
34
|
+
|
|
35
|
+
**Merged pull requests:**
|
|
36
|
+
|
|
37
|
+
- Add OAuth \(UAA\) manifest for AWS and GCP [\#94](https://github.com/rubykube/kite/pull/94) ([vshatravenko](https://github.com/vshatravenko))
|
|
38
|
+
- Change the ingress configuration to have a SSL proxy for concourse [\#93](https://github.com/rubykube/kite/pull/93) ([calj](https://github.com/calj))
|
|
39
|
+
- Fix concourse for kite [\#92](https://github.com/rubykube/kite/pull/92) ([ashanaakh](https://github.com/ashanaakh))
|
|
40
|
+
- Add github link to slack notification on pull-request [\#91](https://github.com/rubykube/kite/pull/91) ([ashanaakh](https://github.com/ashanaakh))
|
|
41
|
+
- Add concourse kite resource [\#89](https://github.com/rubykube/kite/pull/89) ([dkkoval](https://github.com/dkkoval))
|
|
42
|
+
- bugfix review pipeline [\#88](https://github.com/rubykube/kite/pull/88) ([calj](https://github.com/calj))
|
|
43
|
+
- Added Slack notifications after tests [\#85](https://github.com/rubykube/kite/pull/85) ([vshatravenko](https://github.com/vshatravenko))
|
|
44
|
+
- Added Helm-deploy job template [\#84](https://github.com/rubykube/kite/pull/84) ([vshatravenko](https://github.com/vshatravenko))
|
|
45
|
+
- Implement the git-ref tag workflow in default concourse pipeline [\#83](https://github.com/rubykube/kite/pull/83) ([calj](https://github.com/calj))
|
|
46
|
+
- Added slack as parameter to kite generate service [\#82](https://github.com/rubykube/kite/pull/82) ([ashanaakh](https://github.com/ashanaakh))
|
|
47
|
+
- Fixes [\#81](https://github.com/rubykube/kite/pull/81) ([ashanaakh](https://github.com/ashanaakh))
|
|
48
|
+
- Added pipeline for kite; refined pipeline template [\#80](https://github.com/rubykube/kite/pull/80) ([vshatravenko](https://github.com/vshatravenko))
|
|
49
|
+
- Added Slack alerts and image tagging to pipeline; fixed tests [\#79](https://github.com/rubykube/kite/pull/79) ([vshatravenko](https://github.com/vshatravenko))
|
|
50
|
+
- describe pipeline [\#78](https://github.com/rubykube/kite/pull/78) ([ashanaakh](https://github.com/ashanaakh))
|
|
51
|
+
- Improve concourse review pipeline and documentation [\#77](https://github.com/rubykube/kite/pull/77) ([calj](https://github.com/calj))
|
|
52
|
+
- Generate service fix pipeline template [\#76](https://github.com/rubykube/kite/pull/76) ([ashanaakh](https://github.com/ashanaakh))
|
|
53
|
+
- Added pr hook and unit tests to pipeline template [\#75](https://github.com/rubykube/kite/pull/75) ([vshatravenko](https://github.com/vshatravenko))
|
|
54
|
+
- Hotfixes [\#73](https://github.com/rubykube/kite/pull/73) ([calj](https://github.com/calj))
|
|
55
|
+
- Improve generate service outputs [\#72](https://github.com/rubykube/kite/pull/72) ([calj](https://github.com/calj))
|
|
56
|
+
- Added ingress-update script [\#70](https://github.com/rubykube/kite/pull/70) ([vshatravenko](https://github.com/vshatravenko))
|
|
57
|
+
- Add docker registry and git repository required parameters [\#69](https://github.com/rubykube/kite/pull/69) ([calj](https://github.com/calj))
|
|
58
|
+
- Added Prometheus with k8s metrics support to GCP [\#67](https://github.com/rubykube/kite/pull/67) ([vshatravenko](https://github.com/vshatravenko))
|
|
59
|
+
- Added Prometheus manifest with Kubernetes monitor support [\#66](https://github.com/rubykube/kite/pull/66) ([vshatravenko](https://github.com/vshatravenko))
|
|
60
|
+
- Added pipeline to generator Makefile [\#65](https://github.com/rubykube/kite/pull/65) ([vshatravenko](https://github.com/vshatravenko))
|
|
61
|
+
- Allocate VIP with terraform for GCP platform [\#64](https://github.com/rubykube/kite/pull/64) ([calj](https://github.com/calj))
|
|
62
|
+
- Add service generator [\#63](https://github.com/rubykube/kite/pull/63) ([dkkoval](https://github.com/dkkoval))
|
|
63
|
+
- Add a HTTPS proxy for concourse on GCP [\#62](https://github.com/rubykube/kite/pull/62) ([calj](https://github.com/calj))
|
|
64
|
+
- Added kops deploy and delete scripts + S3 bucket IaC [\#61](https://github.com/rubykube/kite/pull/61) ([vshatravenko](https://github.com/vshatravenko))
|
|
65
|
+
- Added BOSH password generation for Concourse [\#60](https://github.com/rubykube/kite/pull/60) ([vshatravenko](https://github.com/vshatravenko))
|
|
66
|
+
|
|
67
|
+
## [v0.1.0](https://github.com/rubykube/kite/tree/v0.1.0) (2017-10-09)
|
|
68
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.9...v0.1.0)
|
|
69
|
+
|
|
70
|
+
**Closed issues:**
|
|
71
|
+
|
|
72
|
+
- Use read-only Vault token for Concourse [\#49](https://github.com/rubykube/kite/issues/49)
|
|
73
|
+
- Remove credentials from manifest [\#48](https://github.com/rubykube/kite/issues/48)
|
|
74
|
+
|
|
75
|
+
**Merged pull requests:**
|
|
76
|
+
|
|
77
|
+
- Replaced rendering db and auth passwords with BOSH interpolation [\#59](https://github.com/rubykube/kite/pull/59) ([vshatravenko](https://github.com/vshatravenko))
|
|
78
|
+
- Updated kops instructions [\#58](https://github.com/rubykube/kite/pull/58) ([vshatravenko](https://github.com/vshatravenko))
|
|
79
|
+
- Added no-ip + platform-internal tag for GCP instances [\#56](https://github.com/rubykube/kite/pull/56) ([vshatravenko](https://github.com/vshatravenko))
|
|
80
|
+
- Added instructions for kops cluster creation [\#55](https://github.com/rubykube/kite/pull/55) ([vshatravenko](https://github.com/vshatravenko))
|
|
81
|
+
- Added manifest credentials interpolation; updated docs [\#54](https://github.com/rubykube/kite/pull/54) ([vshatravenko](https://github.com/vshatravenko))
|
|
82
|
+
- Added functional tests [\#53](https://github.com/rubykube/kite/pull/53) ([vshatravenko](https://github.com/vshatravenko))
|
|
83
|
+
- Fixed docs and setup-tunnel mode [\#51](https://github.com/rubykube/kite/pull/51) ([vshatravenko](https://github.com/vshatravenko))
|
|
84
|
+
|
|
85
|
+
## [v0.0.9](https://github.com/rubykube/kite/tree/v0.0.9) (2017-09-29)
|
|
86
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.8...v0.0.9)
|
|
23
87
|
|
|
24
88
|
**Closed issues:**
|
|
25
89
|
|
|
26
|
-
- Move bosh\_vars into config/ [\#31](https://github.com/
|
|
90
|
+
- Move bosh\_vars into config/ [\#31](https://github.com/rubykube/kite/issues/31)
|
|
27
91
|
|
|
28
92
|
**Merged pull requests:**
|
|
29
93
|
|
|
30
|
-
- Improved documentation and kite render flow [\#47](https://github.com/
|
|
31
|
-
- Added Vault manifest for AWS [\#46](https://github.com/
|
|
32
|
-
- Added nginx manifest for GCP [\#45](https://github.com/
|
|
33
|
-
- Removed public IPs from GCP BOSH deployments [\#44](https://github.com/
|
|
34
|
-
- Add codecov report [\#42](https://github.com/
|
|
35
|
-
- Add coverage report [\#41](https://github.com/
|
|
36
|
-
- Fixes for GCP provider [\#40](https://github.com/
|
|
37
|
-
- Conditional terraform network resources [\#39](https://github.com/
|
|
38
|
-
- Fixed moving scripts to tpl/bin [\#38](https://github.com/
|
|
39
|
-
- Add task generate command [\#37](https://github.com/
|
|
40
|
-
- Added bootstrap and cleanup scripts [\#34](https://github.com/
|
|
41
|
-
- Fixed AWS terraform.tfvars rendering [\#33](https://github.com/
|
|
42
|
-
- Moved things in proper places [\#32](https://github.com/
|
|
43
|
-
- Connected Vault to Concourse [\#23](https://github.com/
|
|
44
|
-
|
|
45
|
-
## [v0.0.8](https://github.com/
|
|
46
|
-
[Full Changelog](https://github.com/
|
|
94
|
+
- Improved documentation and kite render flow [\#47](https://github.com/rubykube/kite/pull/47) ([vshatravenko](https://github.com/vshatravenko))
|
|
95
|
+
- Added Vault manifest for AWS [\#46](https://github.com/rubykube/kite/pull/46) ([vshatravenko](https://github.com/vshatravenko))
|
|
96
|
+
- Added nginx manifest for GCP [\#45](https://github.com/rubykube/kite/pull/45) ([vshatravenko](https://github.com/vshatravenko))
|
|
97
|
+
- Removed public IPs from GCP BOSH deployments [\#44](https://github.com/rubykube/kite/pull/44) ([vshatravenko](https://github.com/vshatravenko))
|
|
98
|
+
- Add codecov report [\#42](https://github.com/rubykube/kite/pull/42) ([calj](https://github.com/calj))
|
|
99
|
+
- Add coverage report [\#41](https://github.com/rubykube/kite/pull/41) ([calj](https://github.com/calj))
|
|
100
|
+
- Fixes for GCP provider [\#40](https://github.com/rubykube/kite/pull/40) ([vshatravenko](https://github.com/vshatravenko))
|
|
101
|
+
- Conditional terraform network resources [\#39](https://github.com/rubykube/kite/pull/39) ([vshatravenko](https://github.com/vshatravenko))
|
|
102
|
+
- Fixed moving scripts to tpl/bin [\#38](https://github.com/rubykube/kite/pull/38) ([vshatravenko](https://github.com/vshatravenko))
|
|
103
|
+
- Add task generate command [\#37](https://github.com/rubykube/kite/pull/37) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
104
|
+
- Added bootstrap and cleanup scripts [\#34](https://github.com/rubykube/kite/pull/34) ([vshatravenko](https://github.com/vshatravenko))
|
|
105
|
+
- Fixed AWS terraform.tfvars rendering [\#33](https://github.com/rubykube/kite/pull/33) ([vshatravenko](https://github.com/vshatravenko))
|
|
106
|
+
- Moved things in proper places [\#32](https://github.com/rubykube/kite/pull/32) ([vshatravenko](https://github.com/vshatravenko))
|
|
107
|
+
- Connected Vault to Concourse [\#23](https://github.com/rubykube/kite/pull/23) ([vshatravenko](https://github.com/vshatravenko))
|
|
108
|
+
|
|
109
|
+
## [v0.0.8](https://github.com/rubykube/kite/tree/v0.0.8) (2017-09-22)
|
|
110
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.7...v0.0.8)
|
|
47
111
|
|
|
48
112
|
**Closed issues:**
|
|
49
113
|
|
|
50
|
-
- GCP Reserved ip problem [\#27](https://github.com/
|
|
114
|
+
- GCP Reserved ip problem [\#27](https://github.com/rubykube/kite/issues/27)
|
|
51
115
|
|
|
52
116
|
**Merged pull requests:**
|
|
53
117
|
|
|
54
|
-
- Added GCS backend for remote .tfstate storage [\#30](https://github.com/
|
|
55
|
-
- Fixed reserved ip problem for GCP [\#29](https://github.com/
|
|
56
|
-
- Fixed reserved ip range rendering for AWS [\#26](https://github.com/
|
|
57
|
-
- Added subnet\_name render in terraform.tfvars [\#25](https://github.com/
|
|
58
|
-
- Added Vault manifest [\#24](https://github.com/
|
|
59
|
-
- Fix in shell skript template for concourse deployment [\#22](https://github.com/
|
|
118
|
+
- Added GCS backend for remote .tfstate storage [\#30](https://github.com/rubykube/kite/pull/30) ([vshatravenko](https://github.com/vshatravenko))
|
|
119
|
+
- Fixed reserved ip problem for GCP [\#29](https://github.com/rubykube/kite/pull/29) ([vshatravenko](https://github.com/vshatravenko))
|
|
120
|
+
- Fixed reserved ip range rendering for AWS [\#26](https://github.com/rubykube/kite/pull/26) ([vshatravenko](https://github.com/vshatravenko))
|
|
121
|
+
- Added subnet\_name render in terraform.tfvars [\#25](https://github.com/rubykube/kite/pull/25) ([vshatravenko](https://github.com/vshatravenko))
|
|
122
|
+
- Added Vault manifest [\#24](https://github.com/rubykube/kite/pull/24) ([vshatravenko](https://github.com/vshatravenko))
|
|
123
|
+
- Fix in shell skript template for concourse deployment [\#22](https://github.com/rubykube/kite/pull/22) ([n-trace](https://github.com/n-trace))
|
|
60
124
|
|
|
61
|
-
## [v0.0.7](https://github.com/
|
|
62
|
-
[Full Changelog](https://github.com/
|
|
125
|
+
## [v0.0.7](https://github.com/rubykube/kite/tree/v0.0.7) (2017-09-15)
|
|
126
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.6...v0.0.7)
|
|
63
127
|
|
|
64
128
|
**Merged pull requests:**
|
|
65
129
|
|
|
66
|
-
- Updated Concourse manifest for AWS [\#21](https://github.com/
|
|
67
|
-
- Fix setup-tunnel.sh on GCP platform [\#20](https://github.com/
|
|
68
|
-
- Added Dockerfile for kitebox [\#19](https://github.com/
|
|
69
|
-
- NAT Gateway for AWS [\#18](https://github.com/
|
|
70
|
-
- Updated docs for RDoc [\#17](https://github.com/
|
|
71
|
-
- Moved kite render to subcommand [\#16](https://github.com/
|
|
72
|
-
- Bugfixes for v0.0.6 [\#14](https://github.com/
|
|
73
|
-
- Add cloud config, concourse [\#12](https://github.com/
|
|
130
|
+
- Updated Concourse manifest for AWS [\#21](https://github.com/rubykube/kite/pull/21) ([vshatravenko](https://github.com/vshatravenko))
|
|
131
|
+
- Fix setup-tunnel.sh on GCP platform [\#20](https://github.com/rubykube/kite/pull/20) ([calj](https://github.com/calj))
|
|
132
|
+
- Added Dockerfile for kitebox [\#19](https://github.com/rubykube/kite/pull/19) ([vshatravenko](https://github.com/vshatravenko))
|
|
133
|
+
- NAT Gateway for AWS [\#18](https://github.com/rubykube/kite/pull/18) ([mod](https://github.com/mod))
|
|
134
|
+
- Updated docs for RDoc [\#17](https://github.com/rubykube/kite/pull/17) ([vshatravenko](https://github.com/vshatravenko))
|
|
135
|
+
- Moved kite render to subcommand [\#16](https://github.com/rubykube/kite/pull/16) ([vshatravenko](https://github.com/vshatravenko))
|
|
136
|
+
- Bugfixes for v0.0.6 [\#14](https://github.com/rubykube/kite/pull/14) ([vshatravenko](https://github.com/vshatravenko))
|
|
137
|
+
- Add cloud config, concourse [\#12](https://github.com/rubykube/kite/pull/12) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
74
138
|
|
|
75
|
-
## [v0.0.6](https://github.com/
|
|
76
|
-
[Full Changelog](https://github.com/
|
|
139
|
+
## [v0.0.6](https://github.com/rubykube/kite/tree/v0.0.6) (2017-09-13)
|
|
140
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.5...v0.0.6)
|
|
77
141
|
|
|
78
142
|
**Merged pull requests:**
|
|
79
143
|
|
|
80
|
-
- Lib improvements; simplified kite errors [\#11](https://github.com/
|
|
81
|
-
- Added BOSH CLI v2 support for AWS [\#10](https://github.com/
|
|
82
|
-
- Lib improvements [\#9](https://github.com/
|
|
83
|
-
- Extract bosh vars into a config file [\#8](https://github.com/
|
|
84
|
-
- Add GCP readme [\#7](https://github.com/
|
|
144
|
+
- Lib improvements; simplified kite errors [\#11](https://github.com/rubykube/kite/pull/11) ([vshatravenko](https://github.com/vshatravenko))
|
|
145
|
+
- Added BOSH CLI v2 support for AWS [\#10](https://github.com/rubykube/kite/pull/10) ([vshatravenko](https://github.com/vshatravenko))
|
|
146
|
+
- Lib improvements [\#9](https://github.com/rubykube/kite/pull/9) ([vshatravenko](https://github.com/vshatravenko))
|
|
147
|
+
- Extract bosh vars into a config file [\#8](https://github.com/rubykube/kite/pull/8) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
148
|
+
- Add GCP readme [\#7](https://github.com/rubykube/kite/pull/7) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
85
149
|
|
|
86
|
-
## [v0.0.5](https://github.com/
|
|
87
|
-
[Full Changelog](https://github.com/
|
|
150
|
+
## [v0.0.5](https://github.com/rubykube/kite/tree/v0.0.5) (2017-09-01)
|
|
151
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.4...v0.0.5)
|
|
88
152
|
|
|
89
153
|
**Merged pull requests:**
|
|
90
154
|
|
|
91
|
-
- Refactor terraform config [\#5](https://github.com/
|
|
92
|
-
- Add bosh jumpbox [\#4](https://github.com/
|
|
93
|
-
- Update bootstrap.sh; Removed .env; Fixed .tfvars [\#3](https://github.com/
|
|
94
|
-
- Reorganized templates [\#1](https://github.com/
|
|
155
|
+
- Refactor terraform config [\#5](https://github.com/rubykube/kite/pull/5) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
156
|
+
- Add bosh jumpbox [\#4](https://github.com/rubykube/kite/pull/4) ([nmuzychuk](https://github.com/nmuzychuk))
|
|
157
|
+
- Update bootstrap.sh; Removed .env; Fixed .tfvars [\#3](https://github.com/rubykube/kite/pull/3) ([vshatravenko](https://github.com/vshatravenko))
|
|
158
|
+
- Reorganized templates [\#1](https://github.com/rubykube/kite/pull/1) ([vshatravenko](https://github.com/vshatravenko))
|
|
95
159
|
|
|
96
|
-
## [v0.0.4](https://github.com/
|
|
97
|
-
[Full Changelog](https://github.com/
|
|
160
|
+
## [v0.0.4](https://github.com/rubykube/kite/tree/v0.0.4) (2017-08-25)
|
|
161
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.3...v0.0.4)
|
|
98
162
|
|
|
99
|
-
## [v0.0.3](https://github.com/
|
|
100
|
-
[Full Changelog](https://github.com/
|
|
163
|
+
## [v0.0.3](https://github.com/rubykube/kite/tree/v0.0.3) (2017-08-24)
|
|
164
|
+
[Full Changelog](https://github.com/rubykube/kite/compare/v0.0.2...v0.0.3)
|
|
101
165
|
|
|
102
|
-
## [v0.0.2](https://github.com/
|
|
166
|
+
## [v0.0.2](https://github.com/rubykube/kite/tree/v0.0.2) (2017-08-24)
|
data/LICENSE.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
### 1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
### 2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
### 3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
### 4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
### 5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
### 6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
### 7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
### 8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
### 9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2018 Helios Technologies SAS
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Kite is a CLI for scaffolding and managing devops modules
|
|
9
9
|
The main purpose is templating of various tools for devops around terraform, bosh, ansible
|
|
10
|
-
Currently Kite
|
|
10
|
+
Currently Kite supports modular stacks(Kite modules) on both AWS and GCP.
|
|
11
11
|
|
|
12
12
|
We plan in adding community stack using a simple template repository structure.
|
|
13
13
|
|
|
@@ -30,7 +30,8 @@ Or install it yourself as:
|
|
|
30
30
|
## Usage
|
|
31
31
|
|
|
32
32
|
To start using kite for bootstraping your infrastructure
|
|
33
|
-
follow the steps below
|
|
33
|
+
follow the steps below.
|
|
34
|
+
[Note] Most kite commands can be referred by their first letter(for example kite generate environment test == kite g e test)
|
|
34
35
|
|
|
35
36
|
### Create your Infrastructure as Code base repository
|
|
36
37
|
|
|
@@ -40,24 +41,47 @@ Create a new kite project using:
|
|
|
40
41
|
$ kite new PROJECT_NAME
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
###
|
|
44
|
+
### Generate an environment(e.g. development/test/production)
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
- For BOSH you'll need an SSH key, to generate one, use `ssh-keygen -f *path_to_key*`
|
|
46
|
+
Kite environments are separated workspaces with their own credentials, variables and modules.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Generate an environment
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
```
|
|
51
|
+
$ kite generate environment *env_name* --provider=aws|gcp
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
If you want to change the credentials for an environment, edit `config/cloud.yml` and regenerate environment with the same command.
|
|
55
|
+
|
|
56
|
+
Now the environment should be generated at `config/environments/*env_name*`
|
|
57
|
+
|
|
58
|
+
### Add a module to your environment
|
|
59
|
+
|
|
60
|
+
To add a Kite module to your environment, you should first initialize it:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
kite module init https://url.for/your/module --env *env_name*
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
This should clone module's source files into `modules/*module_name*` and create a `vars.*module_name*.yml` file with all variables needed by the module.
|
|
67
|
+
|
|
68
|
+
Fill in `vars.*module_name*.yml` with correct values and render the module:
|
|
51
69
|
|
|
52
70
|
```
|
|
53
|
-
|
|
71
|
+
kite module render modules/*module_name* --env *env_name*
|
|
54
72
|
```
|
|
55
73
|
|
|
56
|
-
|
|
74
|
+
### Apply Terraform configuration from the environment
|
|
75
|
+
|
|
76
|
+
Set your default gcloud credentials using
|
|
57
77
|
|
|
58
|
-
|
|
78
|
+
```
|
|
79
|
+
gcloud auth application-default login
|
|
80
|
+
```
|
|
59
81
|
|
|
60
|
-
|
|
82
|
+
```
|
|
83
|
+
kite terraform apply --env *env_name*
|
|
84
|
+
```
|
|
61
85
|
|
|
62
86
|
## Getting help
|
|
63
87
|
|