configgin 0.20.1.1 → 0.20.2
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/Gemfile.lock +1 -1
- data/lib/configgin.rb +0 -8
- data/lib/configgin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2849fafd3d479fc07500d69f1b7ad589a1e8012284a7bc7752c448ec83f9dba3
|
|
4
|
+
data.tar.gz: 23cd15d9d0a87daeff0e1f343767894db2e8844ab5d39e48cdae5ec2ac007b2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cb1851f34b05095abfad78eb9a1c1508dc85fe2cf414165170f52367221a04c50ef490eccb053af230d689bc94c51478f90b06b9cf7e791e6ef8f585248e21e
|
|
7
|
+
data.tar.gz: b2ce3326c785d766652b9cc292cd4d11294664c3ad40843d9afa8372f8c54d7a01b1d88d0c9f3f67a2950103de89b29492c46cb6b0b55447b8e796dab2e5c94a
|
data/Gemfile.lock
CHANGED
data/lib/configgin.rb
CHANGED
|
@@ -118,7 +118,6 @@ class Configgin
|
|
|
118
118
|
encoded_digest = Base64.strict_encode64(digests[name])
|
|
119
119
|
if new_tag
|
|
120
120
|
secret.data["skiff-initial-digest-#{name}"] = encoded_digest
|
|
121
|
-
secret.data["skiff-initial-properties-#{name}"] = secret.data["skiff-exported-properties-#{name}"]
|
|
122
121
|
end
|
|
123
122
|
if secret.data["skiff-initial-digest-#{name}"] == encoded_digest
|
|
124
123
|
digests[name] = nil
|
|
@@ -126,11 +125,6 @@ class Configgin
|
|
|
126
125
|
end
|
|
127
126
|
kube_client.update_secret(secret)
|
|
128
127
|
|
|
129
|
-
warn "new_tag=#{new_tag}"
|
|
130
|
-
secret.data.to_h.each_pair do |key, value|
|
|
131
|
-
warn "secret.data[#{key}]=#{value}"
|
|
132
|
-
end
|
|
133
|
-
|
|
134
128
|
# Some pods might depend on the properties exported by this pod; add annotations
|
|
135
129
|
# to the template spec of the stateful sets so that the pods will be restarted if
|
|
136
130
|
# the exported values have changed from the initial values.
|
|
@@ -161,11 +155,9 @@ class Configgin
|
|
|
161
155
|
# only restarts pods when the checksum of the pod spec changes, so no-op "updates" are ok.
|
|
162
156
|
annotations = {}
|
|
163
157
|
sts.spec.template.metadata.annotations.each_pair do |key, value|
|
|
164
|
-
warn "Copying old annotation #{key}=#{value}"
|
|
165
158
|
annotations[key] = value
|
|
166
159
|
end
|
|
167
160
|
digests.each_pair do |key, value|
|
|
168
|
-
warn "Setting new annotation #{key}=#{value}"
|
|
169
161
|
annotations[key] = value
|
|
170
162
|
end
|
|
171
163
|
|
data/lib/configgin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: configgin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.
|
|
4
|
+
version: 0.20.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SUSE
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|