kubernetes-deploy 0.16.0 → 0.17.0

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
  SHA1:
3
- metadata.gz: 6184836f627f154591e094a5d5311614b1a35d71
4
- data.tar.gz: e17050ecc7698c759e9669e0b52327ff67c038c5
3
+ metadata.gz: 9a1b890ee465576a556e459c2d40850f7a8cab77
4
+ data.tar.gz: 20e835abd7b1f437e55217968cd91a84da8c1c32
5
5
  SHA512:
6
- metadata.gz: f43cef2d6cf0aa8454ae2c46f47a9095c65f9faf13c235a0cd29e74d23518cb5575bb927bfba084190af55d9db1e325259ce6bce9596a9218a29ee7b74bee721
7
- data.tar.gz: bdbac63fceea6418db1e30dc12e115782c26ffb17ce04437ec5992d3c3695ad6fc8cca10e7ae33cd22c9f95f91789732b290627446dd3f52be89536fbaf42895
6
+ metadata.gz: 67ccc21a2cacd5376b390b5f130613b3097785d0c474b72825c653f815faa2c4960010c1eadcad9aad7dc4ed71afaeab51cf4a0a23623b817590922a3a41c455
7
+ data.tar.gz: f039b9b67115242243082264c793a74722121407aca2d0f87a114cff4b4b1a33c8d2f8558513722bdb304876f6942a068b6d9a7e4f775ef2b311310977c7fb5a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.17.0
2
+ *Enhancements*
3
+
4
+ - Add the `--cascade` when we force replace a resource. ([#250](https://github.com/Shopify/kubernetes-deploy/pull/250))
5
+
1
6
  ### 0.16.0
2
7
  **Important:** This release changes the officially supported Kubernetes versions to v1.7 through v1.9. Other versions may continue to work, but we are no longer running our test suite against them.
3
8
 
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at kubernetes-deploy@shopify.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
+
45
+ [homepage]: http://contributor-covenant.org
46
+ [version]: http://contributor-covenant.org/version/1/4/
data/README.md CHANGED
@@ -58,6 +58,7 @@ This repo also includes related tools for [running tasks](#kubernetes-run) and [
58
58
 
59
59
  **CONTRIBUTING**
60
60
  * [Contributing](#contributing)
61
+ * [Code of Conduct](#code-of-conduct)
61
62
  * [License](#license)
62
63
 
63
64
 
@@ -434,7 +435,8 @@ This gem uses subclasses of `KubernetesResource` to implement custom success/fai
434
435
  4. Add the a basic example of the type to the hello-cloud [fixture set](https://github.com/Shopify/kubernetes-deploy/tree/master/test/fixtures/hello-cloud) and appropriate assertions to `#assert_all_up` in [`hello_cloud.rb`](https://github.com/Shopify/kubernetes-deploy/blob/master/test/helpers/fixture_sets/hello_cloud.rb). This will get you coverage in several existing tests, such as `test_full_hello_cloud_set_deploy_succeeds`.
435
436
  5. Add tests for any edge cases you foresee.
436
437
 
437
-
438
+ ### Code of Conduct
439
+ Everyone is expected to follow our [Code of Conduct](https://github.com/Shopify/kubernetes-deploy/blob/master/CODE_OF_CONDUCT.md).
438
440
 
439
441
 
440
442
  # License
@@ -338,7 +338,8 @@ module KubernetesDeploy
338
338
  when :replace
339
339
  _, _, replace_st = kubectl.run("replace", "-f", r.file_path, log_failure: false)
340
340
  when :replace_force
341
- _, _, replace_st = kubectl.run("replace", "--force", "-f", r.file_path, log_failure: false)
341
+ _, _, replace_st = kubectl.run("replace", "--force", "--cascade", "-f", r.file_path,
342
+ log_failure: false)
342
343
  else
343
344
  # Fail Fast! This is a programmer mistake.
344
345
  raise ArgumentError, "Unexpected deploy method! (#{r.deploy_method.inspect})"
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module KubernetesDeploy
3
- VERSION = "0.16.0"
3
+ VERSION = "0.17.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Verey
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-02-27 00:00:00.000000000 Z
12
+ date: 2018-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -208,6 +208,7 @@ files:
208
208
  - ".gitignore"
209
209
  - ".rubocop.yml"
210
210
  - CHANGELOG.md
211
+ - CODE_OF_CONDUCT.md
211
212
  - Gemfile
212
213
  - LICENSE.txt
213
214
  - NO-BINAUTH