kube_cluster 1.0.0 → 1.0.1
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/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/kube/cluster/standard.rb +13 -0
- data/lib/kube/cluster/version.rb +1 -1
- data/lib/kube/cluster.rb +5 -4
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cff2cff26d95919ba88b763d17c91b4fd48b024e038bf5bcbaba269fbf549f6b
|
|
4
|
+
data.tar.gz: cb2b14a5cc86d623c2871517771f7b4e3ecfad529d8ac48093e573065fc80f9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6333f789ef8a88beaef674cc32752a42a885a300f5d6bb5ab09f14c2dcab973f111e5ccb20f360605177e24beb3eac69769cd2e85269e98907c162d217adf25
|
|
7
|
+
data.tar.gz: 2cf30bce0097d24f98a20691b99a3f47514581dde2642d4ec2d1dd04c0cf4daf5c660befdbf511976728e084a0083ec21eb283edd5b5c43b9f593946cbfb9204
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-07-13
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `require "kube/cluster/standard"` — an aggregator that loads the entire
|
|
12
|
+
Standard tree at once, for projects that use most of it. The tree remains
|
|
13
|
+
opt-in (`require "kube/cluster"` alone does not load it), so resolve overrides
|
|
14
|
+
still take effect. The core auto-require now also skips this aggregator file.
|
|
15
|
+
|
|
8
16
|
## [1.0.0] - 2026-07-13
|
|
9
17
|
|
|
10
18
|
### Added
|
data/Gemfile.lock
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
#
|
|
3
|
+
# Opt-in loader for the whole Standard tree.
|
|
4
|
+
#
|
|
5
|
+
# `require "kube/cluster"` deliberately does NOT auto-load the Standard classes
|
|
6
|
+
# (so resolve overrides can be configured before they bind their superclasses).
|
|
7
|
+
# Requiring this file pulls in every Standard class at once — the convenient
|
|
8
|
+
# "give me all of them" entry point for projects that use most of the tree.
|
|
9
|
+
require "kube/cluster"
|
|
10
|
+
|
|
11
|
+
Dir.glob("#{__dir__}/standard/**/*.rb").sort.each do |path|
|
|
12
|
+
require path
|
|
13
|
+
end
|
data/lib/kube/cluster/version.rb
CHANGED
data/lib/kube/cluster.rb
CHANGED
|
@@ -142,11 +142,12 @@ Kube::Cluster.config do
|
|
|
142
142
|
resolve "PersesGlobalDatasource", to: "perses.dev/v1alpha2/PersesGlobalDatasource"
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
standard_root = "#{__dir__}/cluster/standard"
|
|
146
146
|
Dir.glob("#{__dir__}/cluster/**/*.rb").sort.each do |path|
|
|
147
|
-
# The standard/ tree is opt-in
|
|
148
|
-
#
|
|
149
|
-
|
|
147
|
+
# The standard/ tree is opt-in — via `require "kube/cluster/standard"` or a
|
|
148
|
+
# specific class — so that resolve overrides can be configured beforehand.
|
|
149
|
+
# Skip both the tree and its aggregator loader (cluster/standard.rb).
|
|
150
|
+
next if path == "#{standard_root}.rb" || path.start_with?("#{standard_root}/")
|
|
150
151
|
|
|
151
152
|
require path
|
|
152
153
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kube_cluster
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan K
|
|
@@ -198,6 +198,7 @@ files:
|
|
|
198
198
|
- lib/kube/cluster/resource/extensions/custom_resource_definition.rb
|
|
199
199
|
- lib/kube/cluster/resource/persistence.rb
|
|
200
200
|
- lib/kube/cluster/script_command.rb
|
|
201
|
+
- lib/kube/cluster/standard.rb
|
|
201
202
|
- lib/kube/cluster/standard/cdi/data_volume.rb
|
|
202
203
|
- lib/kube/cluster/standard/cloud_native_pg/cluster.rb
|
|
203
204
|
- lib/kube/cluster/standard/cloud_native_pg/database_with_external_secret.rb
|