pfab 0.16.0 → 0.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9b74403a3e35834fc91e161a00965bd13444cd6dc5f4189947e7a5e92168a29
4
- data.tar.gz: fbac3572c2f5b0f59b20195fcdd77657b511f6af95d430fc8d71c23e7a079748
3
+ metadata.gz: e0d1ae2ca336b8e351b2ac53c9277ea24c35455ced37d6ecf763a48abbc646d3
4
+ data.tar.gz: 53e793098a80b90dfc79217a946a1db84e945026ed75139979353311855622ee
5
5
  SHA512:
6
- metadata.gz: 01031a7a713ec836556fc3351c92955d46e67a6ed5dbdc73281fdb96b16d6aaa368a34b9fc61590d0f0aaa1cfcf13393e743b98a8cfc72c415f364b0f1e9f6ee
7
- data.tar.gz: cc337ac58b41e94928356bfa846099f29546966da829799dd07d1661da308ca12e606b2ccfef2d9ebb6bfd8cfb98ecd96e65a37e5cf8ef77b0b7a3c49d714e7e
6
+ metadata.gz: e6e6e46e096196424976bef15fbf00ca58ccc25b3223e40792c96e7991962f1fecb0bdd8bc59eb41cf89bcb63c502637c694f62a709780c43088fd3f7aa8a5cc
7
+ data.tar.gz: 0c6d61a87473c7dff05646bb62d9c46780a9a11c47d4a6f3bcacc0479ff5a1d322c89534a1140d5a07f239a2f7b560a0e0f061d15f4d41532a17cbb2c3373103
data/README.markdown CHANGED
@@ -119,7 +119,7 @@ Releasing
119
119
  - ```git commit ```
120
120
  - ```bundle exec rake git:release```
121
121
  - ```bundle exec rake build```
122
- - ```gem push pkg/pfab-0.15.0.gem```
122
+ - ```gem push pkg/pfab-0.12.0.gem```
123
123
 
124
124
  Copyright
125
125
  ---------
@@ -21,8 +21,7 @@ module Pfab
21
21
  labels: {
22
22
  application: @data['application'],
23
23
  "deployed-name" => @data['deployed_name'],
24
- },
25
- annotations: service_annotations,
24
+ }
26
25
  },
27
26
  spec: {
28
27
  selector: {
@@ -39,12 +38,6 @@ module Pfab
39
38
  }
40
39
  end
41
40
 
42
- def service_annotations
43
- h = {}
44
- h["traefik.ingress.kubernetes.io/service.serversscheme"] = "h2c" if get("protocol") == "h2c"
45
- h
46
- end
47
-
48
41
  def ingress
49
42
  {
50
43
  apiVersion: "networking.k8s.io/v1",
@@ -114,6 +107,7 @@ module Pfab
114
107
  "traefik.ingress.kubernetes.io/router.entrypoints" => "websecure",
115
108
  "traefik.ingress.kubernetes.io/router.tls" => "true"
116
109
  }
110
+ h["ingress.kubernetes.io/protocol"] = "h2c" if get("protocol") == "h2c"
117
111
  h
118
112
  end
119
113
 
data/lib/pfab/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Pfab
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 16
4
+ MINOR = 19
5
5
  PATCH = 0
6
6
  BUILD = nil
7
7
 
data/pfab.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: pfab 0.16.0 ruby lib
5
+ # stub: pfab 0.19.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "pfab".freeze
9
- s.version = "0.16.0"
9
+ s.version = "0.19.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Jeff Dwyer".freeze]
14
- s.date = "2022-01-18"
14
+ s.date = "2022-07-16"
15
15
  s.description = "k8s helper".freeze
16
16
  s.email = "jdwyer@prefab.cloud".freeze
17
17
  s.executables = ["pfab".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dwyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander