kube_schema 1.9.2 → 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: ff3fedb44c520fb2db66f16b3ae12b6b4fbe3d8a947e636da9c196fa9e80c529
4
- data.tar.gz: ca30582966d7fa750b14ef69d935a24ea2532d1b9b5eb330df9b611d1894a675
3
+ metadata.gz: 95c2a3f8aa906bd8a40d43eedf4b209a4cdc83754c0ffe6a1b74a5c4aeab14c0
4
+ data.tar.gz: 0f14d9a60d65d003dd11b0f0f0f344f5f1ac9e3b8c5bf44fde3b489b8828bebc
5
5
  SHA512:
6
- metadata.gz: 199d71dcee2dc211d5bc06a5d748e1019a2df409d7dbfc086d9b3c397c8f7c72ddc4143739e8418d366799e5ec3c5dafa46e693f09722aaf0c7ca8138633f588
7
- data.tar.gz: cf5ed7f39324cdd202585edc0aa5b52825c746daee4776d2900d9dc4b2b4f353dd854d986100b61b2815c9949f3cedbfaa74696296f320ff07a08c3e7a8c86f4
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,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kube_schema (1.9.2)
4
+ kube_schema (1.10.0)
5
5
  json_schemer (~> 2.5.0)
6
6
  rubyshell (~> 1.5.0)
7
7
 
@@ -105,6 +105,7 @@ GEM
105
105
  hana (~> 1.3)
106
106
  regexp_parser (~> 2.0)
107
107
  simpleidn (~> 0.2)
108
+ lefthook (2.1.10)
108
109
  localhost (1.7.0)
109
110
  logger (1.7.0)
110
111
  mail (2.9.0)
@@ -229,6 +230,7 @@ DEPENDENCIES
229
230
  bake-modernize
230
231
  bake-releases
231
232
  kube_schema!
233
+ lefthook (~> 2.1)
232
234
  rake (~> 13.0)
233
235
  rspec (~> 3.13)
234
236
  utopia-project
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,6 +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 "lefthook", "~> 2.1"
33
34
 
34
35
  spec.add_dependency "rubyshell", "~> 1.5.0"
35
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.2"
5
+ VERSION = "1.10.0"
6
6
  end
7
7
  end