kubes 0.7.2 → 0.7.6

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: 3a5b3cde73260cb3fdcb98eb32357de95112ebb253ec38c82ee14828253cf704
4
- data.tar.gz: 7251020f3a8c71c09f0cbcb6ed05fa801201a133064a6522df7f6ad439cfef24
3
+ metadata.gz: e73d57fba41a00e9ace349a4b3d9da7815e52a5025fcda97b64cfc185797ba35
4
+ data.tar.gz: a6114d33d48893ed2f748b0720aaf7dca8f71a75b4b3e3f4ae3f690680b35f26
5
5
  SHA512:
6
- metadata.gz: f9ee9fbfcae307f81105f48cdd69a8a86f120d464d5ec7c1b8d02fc54ebac0e9a033fc3da8ecf46d72f1b96f2b0b86da39046392de533321ae385c20e5eb49ae
7
- data.tar.gz: 67434cdf1ea6a0babb94da14369f332950a55394f46b89616fa41e6dc10c8a99fe6562ad25e01b069f31e99411e5e1581fd29fd5021b1a394289670956c5ed15
6
+ metadata.gz: e28f97ff9b675adbce4066afbbde6fa4c853f2172e430659db25b8865409d5fb19aace0a464c809a95ddee6152e8f389cd9e43c6dc9696c9297fd2b8465c5c77
7
+ data.tar.gz: 42c6780d303119bb42d65075043bcaaf38fd1eec20a8b4448695a598ae22e7ab1b28f6d3920116c7cd9c76630be4d332871833f194383e1c05537ac3bab00a73
data/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
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.7.6] - 2021-10-12
7
+ - remove init yaml templates, removed duplication
8
+ - write full.yaml to .kubes/tmp instead
9
+
10
+ ## [0.7.5] - 2021-06-03
11
+ - [#47](https://github.com/boltops-tools/kubes/pull/47) add search
12
+ - [#48](https://github.com/boltops-tools/kubes/pull/48) use deep_merge overwrite_arrays option fixes #45
13
+
14
+ ## [0.7.4] - 2021-03-02
15
+ - [#46](https://github.com/boltops-tools/kubes/pull/46) call run method to respect config.suffix_hash
16
+
17
+ ## [0.7.3] - 2020-12-24
18
+ - [#44](https://github.com/boltops-tools/kubes/pull/44) require singleton
19
+
6
20
  ## [0.7.2] - 2020-12-04
7
21
  - [#43](https://github.com/boltops-tools/kubes/pull/43) store docker image name in env based folder
8
22
  - fix kubes help
data/README.md CHANGED
@@ -8,7 +8,9 @@
8
8
 
9
9
  [![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)
10
10
 
11
- Kubernetes Deployment Tool: build docker image, compile Kubernetes YAML files, and apply them.
11
+ Kubernetes App Deploy Tool: build docker image, compile Kubernetes YAML files, and apply them.
12
+
13
+ Please **watch/star** this repo to help grow and support the project.
12
14
 
13
15
  Official Docs Site: [kubes.guru](https://kubes.guru)
14
16
 
@@ -18,5 +18,5 @@ logger.level | Logger level. Can also be set with `KUBES_LOG_LEVEL` env var | in
18
18
  repo | The Docker repo to use. Required to be set. | nil
19
19
  repo_auto_auth | Whether or not to try to auth authorize docker repo registry if not yet logged in. Can also be set with env var `KUBES_REPO_AUTO_AUTO` | true
20
20
  skip | List of resources to skip. Can also be set with the `KUBES_SKIP` env var. `KUBES_SKIP` should be a list of strings separated by spaces. It adds onto the `config.skip` option. | []
21
- state.path | Where to store the state file with the last build Docker image. | .kubes/state/KUBES_env/data.json
21
+ state.path | Where to store the state file with the last build Docker image. | .kubes/state/KUBES_ENV/data.json
22
22
  suffix_hash | Whether or not to append suffix hash to ConfigMap and Secret | true
@@ -20,6 +20,8 @@ The deploy command simpifily does all 3 steps: build, compile, and apply.
20
20
 
21
21
  kubes deploy
22
22
 
23
+ Kubes is very transparent about it does. It prints out the `kubectl` commands as they are being called.
24
+
23
25
  You can also run the `kubectl apply` only. The `kube apply` command compiles but will skip the docker build stage if it's already been built.
24
26
 
25
27
  kubes apply
@@ -4,7 +4,7 @@ nav_text: Helm
4
4
  categories: vs
5
5
  ---
6
6
 
7
- Though both Kubes and Helm can be used to deploy applications to Kubernetes, they work quite differently. Kubernetes is more focused on deploying your application. Helm is more like a package manager.
7
+ Kubes and Helm are quite different. Helm is a package manager tool. In contrast, Kubernetes is focused on deploying your application. While you can use package manager tools like Helm to deploy your application, application-focused deploy tools are better for the job. For example, apt-get and yum are also package manager tools. But few companies use `apt-get install` or `yum install` to deploy their application code. Instead, people usually use application-specific tools to deploy their web app.
8
8
 
9
9
  {% include vs/article.md %}
10
10
 
@@ -168,7 +168,7 @@ Helm supports a wide variety of hooks for the install, delete, upgrade, and roll
168
168
 
169
169
  Kubes also supports hook as the kubes-level; this is similar to the helm-level. Kubes also provide finer-grain control hooks at the kubectl-level.
170
170
 
171
- Overally, Helm and Kubes hooks work quite differently. We'll take a look at **some** examples:
171
+ Overall, Helm and Kubes hooks work quite differently. We'll take a look at **some** examples:
172
172
 
173
173
  ### Helm Hook Example
174
174
 
@@ -240,4 +240,4 @@ Kubes supports the deployment workflow. It can build the docker image from your
240
240
 
241
241
  ## Summary
242
242
 
243
- Helm and Kubes are quite different. Helm is a full-fledge package management. Kubes is a more focused on deployment. Both tools support templating logic to help keep your code DRY. Additionally, Kubes supports layering to merge YAML files together for DRYness. Kubes also helps you build your Docker images.
243
+ Helm and Kubes are quite different. Helm is a full-fledge package management tool. In contrast, Kubes is more focused on app deployment. Both tools support templating logic to help keep your code DRY. Additionally, Kubes supports layering to merge YAML files together for DRYness. Kubes also helps you build your Docker images.
@@ -2,6 +2,13 @@
2
2
  <nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
3
3
  <a class="navbar-brand" href="/"><img class="navbar-logo" src="/img/logos/kubes-black.png" /></a>
4
4
 
5
+ {% if page.url != '/' %}
6
+ <form class="search-form form-group has-search" method="get" action="/search" data-search-form>
7
+ <span class="fa fa-search form-control-feedback"></span>
8
+ <input type="text" class="form-control" name="q" id="q" placeholder="Search docs" data-search-input />
9
+ </form>
10
+ {% endif %}
11
+
5
12
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
6
13
  <span class="navbar-toggler-icon"></span>
7
14
  </button>
@@ -1,3 +1,3 @@
1
- Kubes is a Kubernetes deployment tool. It automates the deployment process. Kubes will:
1
+ Kubes is a Kubernetes deployment tool. It focuses on deploying your specific application. It is very good at automating the deployment process. Kubes will:
2
2
 
3
3
  {% include kubes-steps.md %}
@@ -315,3 +315,95 @@ ul.toc {
315
315
  height:100%;
316
316
  }
317
317
  }
318
+
319
+
320
+ #search-field {
321
+ // background-color: purple;
322
+
323
+ td {
324
+ padding: 0;
325
+ margin: 0;
326
+ border: none;
327
+ }
328
+
329
+ table {
330
+ // background-color: orange;
331
+ border: none;
332
+ margin: 0;
333
+ }
334
+
335
+ .gsc-input-box td {
336
+ vertical-align: top;
337
+ // padding-top: 15px;
338
+ }
339
+ }
340
+
341
+ .search-result {
342
+ padding-bottom: 24px;
343
+ }
344
+
345
+ .search-tips {
346
+ border: 1px solid gray;
347
+ // background-color: red;
348
+ font-size: 0.9em;
349
+ padding: 10px;
350
+ margin-bottom: 15px;
351
+ p {
352
+ margin: 0;
353
+ }
354
+ }
355
+
356
+ .search-terms {
357
+ background-color: #ffffcb;
358
+ padding: 0.25em;
359
+ }
360
+
361
+ .search-count {
362
+ font-weight: bold;
363
+ }
364
+
365
+
366
+ .top-bar {
367
+ .has-search {
368
+ // mobile
369
+ // without padding-left its centered
370
+ margin: 0;
371
+ padding: 0;
372
+ width: 200px;
373
+ // desktop
374
+ @media (min-width: 500px) {
375
+ // without padding-left its centered
376
+ width: 320px;
377
+ }
378
+ @media (min-width: 600px) {
379
+ // without padding-left its centered
380
+ width: 400px;
381
+ }
382
+ @media (min-width: 768px) {
383
+ padding-left: 64px;
384
+ width: 512px;
385
+ }
386
+
387
+
388
+ .form-control-feedback {
389
+ position: absolute;
390
+ z-index: 2;
391
+ width: 2.375rem;
392
+ height: 2.375rem;
393
+ line-height: 2.375rem;
394
+ text-align: center;
395
+ pointer-events: none;
396
+ color: #aaa;
397
+ }
398
+
399
+ .form-control {
400
+ padding-left: 2.375rem;
401
+ width: 100%;
402
+ display: inline;
403
+ }
404
+
405
+ input {
406
+ width: auto;
407
+ }
408
+ }
409
+ }
data/docs/index.html CHANGED
@@ -9,8 +9,8 @@ sidebar: false
9
9
  <div class="col-sm-8 col-sm-offset-2">
10
10
  <div class="header-content">
11
11
  <div class="header-content-inner">
12
- <h1>Kubes: Kubernetes Deployment Tool</h1>
13
- <h2>Kubes is a Kubernetes Deployment Tool. It builds the docker image, creates the Kubernetes YAML, and runs kubectl apply. It automates the deployment process and saves you precious finger-typing energy.</h2>
12
+ <h1>Kubes: Kubernetes App Deploy Tool</h1>
13
+ <h2>Kubes is a Kubernetes App Deployment Tool. It focuses on deploying your specific application. It builds the docker image, creates the Kubernetes YAML, and runs kubectl apply. It automates the deployment process and saves you precious finger-typing energy.</h2>
14
14
  </div>
15
15
  </div>
16
16
  </div>
@@ -0,0 +1,44 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ {% assign first = true %}
5
+ [
6
+ {% for doc in site.docs %}
7
+ {% if doc.title != null and doc.title != empty %}
8
+ {% unless first %},{% endunless %}{
9
+ "title": {{doc.title | jsonify}},
10
+ "search_title": {{doc.search_title | jsonify}},
11
+ "content": {{doc.content | markdownify | strip_html | replace:'├','' | replace:'└','' | replace:'─','' | replace:'│','' | jsonify}},
12
+ "link": "{{ site.baseurl }}{{ doc.url }}",
13
+ "search_omit": "{{ doc.search_omit }}"
14
+ }
15
+ {% assign first = false %}
16
+ {% endif %}
17
+ {% endfor %}
18
+
19
+ {% for post in site.posts %}
20
+ {% if post.title != null and post.title != empty %}
21
+ {% unless first %},{% endunless %}{
22
+ "title": {{post.title | jsonify}},
23
+ "search_title": {{doc.search_title | jsonify}},
24
+ "content": {{post.content | markdownify | strip_html | jsonify}},
25
+ "link": "{{ site.baseurl }}{{ post.url }}",
26
+ "search_omit": "{{ post.search_omit }}"
27
+ }
28
+ {% assign first = false %}
29
+ {% endif %}
30
+ {% endfor %}
31
+
32
+ {% for page in site.pages %}
33
+ {% if page.title != null and page.title != empty %}
34
+ {% unless first %},{% endunless %}{
35
+ "title": {{page.title | jsonify}},
36
+ "search_title": {{doc.search_title | jsonify}},
37
+ "content": {{page.content | markdownify | strip_html | jsonify}},
38
+ "link": "{{ site.baseurl }}{{ page.url | replace: 'index.html', '' }}",
39
+ "search_omit": "{{ page.search_omit }}"
40
+ }
41
+ {% assign first = false %}
42
+ {% endif %}
43
+ {% endfor %}
44
+ ]
@@ -0,0 +1,30 @@
1
+ ---
2
+ title: Search
3
+ search_omit: true
4
+ ---
5
+
6
+ <div class="search-tips">
7
+ <h3>Search Tips:</h3>
8
+ <p>To OR search terms: "install aws"</p>
9
+ <p>To AND search terms: "+install +aws"</p>
10
+ <p>To filter or reject search terms: "-aws"</p>
11
+ <p>More: <a href="{% link search/tips.md %}">Search Tips</a></p>
12
+ </div>
13
+
14
+ <!-- Search results placeholder -->
15
+ <p class="search-summary" data-search-found>
16
+ <span class="search-count" data-search-found-count></span> <span data-search-found-word>results</span> found for: <span class="search-terms" data-search-found-term></span>
17
+ </p>
18
+ <div data-search-results></div>
19
+
20
+ <!-- Search result template -->
21
+ <script type="text/x-template" id="search-result">
22
+ <div class="search-result">
23
+ <h3><a href="##Url##">##Title##</a></h3>
24
+ <div class="content">##Content##</div>
25
+ </div>
26
+ </script>
27
+
28
+ <!-- Search script - Must appear after template -->
29
+ <script src="/search/lunr.js"></script>
30
+ <script src="/search/search.js"></script>