kube_schema 1.9.1 → 1.10.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: 651ce0da8cfdeb3d0811b98c5740647fbb745730696ce780b4f12886ca86c60f
4
- data.tar.gz: 46dbc8243c5c1702ea6d8a2dada15a6716369acf80e6f77a7c7edd44e789ec44
3
+ metadata.gz: 95c2a3f8aa906bd8a40d43eedf4b209a4cdc83754c0ffe6a1b74a5c4aeab14c0
4
+ data.tar.gz: 0f14d9a60d65d003dd11b0f0f0f344f5f1ac9e3b8c5bf44fde3b489b8828bebc
5
5
  SHA512:
6
- metadata.gz: b1d2bd00725e5ec1f732fb9b5251db0463ba78a91957f8d6f657b9617472b215a1f86469d69c14c8fd9a0b1bd29b274059f70d28954091e8c59e74731d7c6ad7
7
- data.tar.gz: 3a641891343ff4ca5b11e6c9b7ab41d0e7d746f6f9e08d37cfa8844a8fc0272d0d25f3830a7b9f254d280568d957ad8ba595cda9f443c9d06891659c101bffbd
6
+ metadata.gz: 1ae77de844bff9919b8a429202648f85c97ac6ad2c2f522be9602008cf2cec518bd1544bd6ab4de98f29dc7a76262293138286a33ec89e4a4d2063fbdcb769cf
7
+ data.tar.gz: 1ba74962b756416d428b793c3afb51847b1e3ce1b5366e4a089f0eac4614949fd1a1c8976c219b1e0adccda5ed3ae9da364b5d3848a7ca51bf27a68645fc6332
data/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here.
4
+
5
+ This file starts at 1.10.0; for earlier releases see the git history.
6
+
7
+ ## [1.10.0]
8
+
9
+ ### Added
10
+
11
+ - JuiceFS Operator schemas (`juicefs.io/v1`), from
12
+ [juicedata/juicefs-operator](https://github.com/juicedata/juicefs-operator)
13
+ v0.8.5: `CacheGroup`, `CronSync`, `Sync`, `WarmUp`.
14
+ - Agent Sandbox schemas, picked up from upstream drift on an already-tracked
15
+ source: `Sandbox` (`agents.x-k8s.io/v1alpha1`), plus `SandboxClaim`,
16
+ `SandboxTemplate` and `SandboxWarmPool`
17
+ (`extensions.agents.x-k8s.io/v1alpha1`).
18
+ - VictoriaMetrics `VLDistributed` (`operator.victoriametrics.com/v1alpha1`),
19
+ also from upstream drift.
20
+
21
+ ### Fixed
22
+
23
+ - Pinned the Gateway API Inference CRD sources to v1.5.0. Upstream removed
24
+ `inferenceobjectives.yaml` and `inferencemodelrewrites.yaml` from `main`,
25
+ which broke schema generation and would otherwise have dropped those kinds.
26
+ - Preserved the `metrics.k8s.io/v1beta1` definitions (`PodMetrics`,
27
+ `NodeMetrics`, their list types and `ContainerMetrics`) along with
28
+ `meta.v1.Duration`. Newer k3s images no longer surface the metrics-server
29
+ types in `/openapi/v2`, so regenerating the schemas silently dropped them.
30
+
31
+ No definitions were removed in this release.
data/Gemfile.lock CHANGED
@@ -1,14 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kube_schema (1.9.0)
4
+ kube_schema (1.10.0)
5
5
  json_schemer (~> 2.5.0)
6
6
  rubyshell (~> 1.5.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.3)
12
11
  async (2.39.0)
13
12
  console (~> 1.29)
14
13
  fiber-annotation
@@ -106,8 +105,7 @@ GEM
106
105
  hana (~> 1.3)
107
106
  regexp_parser (~> 2.0)
108
107
  simpleidn (~> 0.2)
109
- language_server-protocol (3.17.0.5)
110
- lint_roller (1.1.0)
108
+ lefthook (2.1.10)
111
109
  localhost (1.7.0)
112
110
  logger (1.7.0)
113
111
  mail (2.9.0)
@@ -135,10 +133,6 @@ GEM
135
133
  net-smtp (0.5.1)
136
134
  net-protocol
137
135
  openssl (4.0.1)
138
- parallel (2.0.1)
139
- parser (3.3.11.1)
140
- ast (~> 2.4.1)
141
- racc
142
136
  pp (0.6.3)
143
137
  prettyprint
144
138
  prettyprint (0.2.0)
@@ -158,13 +152,11 @@ GEM
158
152
  psych (5.3.1)
159
153
  date
160
154
  stringio
161
- racc (1.8.1)
162
155
  rack (3.2.6)
163
156
  rackula (1.4.1)
164
157
  falcon (~> 0.46)
165
158
  samovar (~> 2.1)
166
159
  variant
167
- rainbow (3.1.1)
168
160
  rake (13.4.2)
169
161
  rbs (4.0.2)
170
162
  logger
@@ -190,21 +182,6 @@ GEM
190
182
  diff-lcs (>= 1.2.0, < 2.0)
191
183
  rspec-support (~> 3.13.0)
192
184
  rspec-support (3.13.7)
193
- rubocop (1.86.1)
194
- json (~> 2.3)
195
- language_server-protocol (~> 3.17.0.2)
196
- lint_roller (~> 1.1.0)
197
- parallel (>= 1.10)
198
- parser (>= 3.3.0.2)
199
- rainbow (>= 2.2.2, < 4.0)
200
- regexp_parser (>= 2.9.3, < 3.0)
201
- rubocop-ast (>= 1.49.0, < 2.0)
202
- ruby-progressbar (~> 1.7)
203
- unicode-display_width (>= 2.4.0, < 4.0)
204
- rubocop-ast (1.49.1)
205
- parser (>= 3.3.7.2)
206
- prism (~> 1.7)
207
- ruby-progressbar (1.13.0)
208
185
  rubyshell (1.5.0)
209
186
  rugged (1.9.0)
210
187
  samovar (2.4.1)
@@ -217,9 +194,6 @@ GEM
217
194
  timeout (0.6.1)
218
195
  traces (0.18.2)
219
196
  tsort (0.2.0)
220
- unicode-display_width (3.2.0)
221
- unicode-emoji (~> 4.1)
222
- unicode-emoji (4.2.0)
223
197
  utopia (2.32.1)
224
198
  bake (~> 0.20)
225
199
  concurrent-ruby (~> 1.2)
@@ -256,9 +230,9 @@ DEPENDENCIES
256
230
  bake-modernize
257
231
  bake-releases
258
232
  kube_schema!
233
+ lefthook (~> 2.1)
259
234
  rake (~> 13.0)
260
235
  rspec (~> 3.13)
261
- rubocop (~> 1.21)
262
236
  utopia-project
263
237
 
264
238
  BUNDLED WITH
data/flake.nix CHANGED
@@ -18,18 +18,20 @@
18
18
  ];
19
19
 
20
20
  buildInputs = [
21
+ pkgs.trufflehog
21
22
  ruby
22
23
  pkgs.libyaml # psych gem
23
24
  pkgs.openssl # openssl gem
24
25
  ];
25
26
 
26
27
  shellHook = ''
27
- export GEM_HOME="$HOME/.gem"
28
- export GEM_PATH="$GEM_HOME"
29
- export PATH="$GEM_HOME/bin:$PATH"
30
- export BUNDLE_PATH="$GEM_HOME"
31
- export BUNDLE_BIN="$GEM_HOME/bin"
32
- '';
28
+ export GEM_HOME="$HOME/.gem-${ruby.version}"
29
+ export GEM_PATH="$GEM_HOME"
30
+ export PATH="$GEM_HOME/bin:$PATH"
31
+ export BUNDLE_GEMFILE="$PWD/Gemfile"
32
+ export BUNDLE_PATH="$GEM_HOME"
33
+ export BUNDLE_BIN="$GEM_HOME/bin"
34
+ '';
33
35
  };
34
36
  }
35
37
  );
data/kube_schema.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_development_dependency "rspec", "~> 3.13"
32
32
  spec.add_development_dependency "rake", "~> 13.0"
33
- spec.add_development_dependency "rubocop", "~> 1.21"
33
+ spec.add_development_dependency "lefthook", "~> 2.1"
34
34
 
35
35
  spec.add_dependency "rubyshell", "~> 1.5.0"
36
36
  spec.add_dependency "json_schemer", "~> 2.5.0"
data/lefthook.yml ADDED
@@ -0,0 +1,11 @@
1
+ # Git hooks (managed by lefthook). Install with `bundle exec lefthook install`.
2
+ #
3
+ # pre-commit: scan for secrets (trufflehog) and run the test suite (bin/test).
4
+ # Both are wrapped in `nix develop --command` because the hook fires outside the
5
+ # flake devshell, so trufflehog / bundler / scampi wouldn't otherwise be on PATH.
6
+ pre-commit:
7
+ commands:
8
+ secrets:
9
+ run: nix develop --command trufflehog git file://. --since-commit HEAD --only-verified --fail
10
+ tests:
11
+ run: nix develop --command bin/test
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kube
4
4
  module Schema
5
- VERSION = "1.9.1"
5
+ VERSION = "1.10.0"
6
6
  end
7
7
  end