uffizzi_core 2.4.5 → 2.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/forms/uffizzi_core/api/cli/v1/cluster/create_form.rb +1 -1
- data/app/lib/uffizzi_core/concerns/models/cluster.rb +1 -0
- data/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb +1 -1
- data/db/migrate/20240301200235_add_node_selector_to_cluster.rb +7 -0
- data/lib/uffizzi_core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca81fe5baa2ec11cfe60f3bbc228c149c5a8b224a347f0d1d115919c983ceed
|
4
|
+
data.tar.gz: '00912619bff74d0cec59da6579259ab18ccc7ac2f9aff4c4f012f5a00423856a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17f8d0f99ea5e5f06a6d333e8f31aacabf4e03eaaa44cf9037a83996f0ac3a066618defa9739a568c5f525b620be1247c1eb70a17aa938b72bf0afd982ac6d6b
|
7
|
+
data.tar.gz: 47890bb31ab4321c9b8342d64228755e2919339055ad96adb305d3d8dc9658812df3ccddf93714662dc2711a9701fe535a31a2fa99f76c5ba7563cf898b9f960
|
@@ -3,7 +3,7 @@
|
|
3
3
|
class UffizziCore::Api::Cli::V1::Cluster::CreateForm < UffizziCore::Cluster
|
4
4
|
include UffizziCore::ApplicationForm
|
5
5
|
|
6
|
-
permit :name, :manifest, :creation_source
|
6
|
+
permit :name, :manifest, :creation_source, :node_selector
|
7
7
|
|
8
8
|
validate :check_manifest, if: -> { manifest.present? }
|
9
9
|
|
@@ -19,6 +19,7 @@ module UffizziCore::Concerns::Models::Cluster
|
|
19
19
|
validates :name, presence: true, format: { with: /\A[a-zA-Z0-9-]*\z/ }
|
20
20
|
|
21
21
|
enumerize :creation_source, in: UffizziCore.cluster_creation_sources, scope: true, predicates: true
|
22
|
+
enumerize :node_selector, in: [:gvisor, :vanilla]
|
22
23
|
attribute :creation_source, :string, default: :manual
|
23
24
|
validates :creation_source, presence: true
|
24
25
|
belongs_to :kubernetes_distribution, optional: true
|
@@ -4,7 +4,7 @@ class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::B
|
|
4
4
|
include UffizziCore::DependencyInjectionConcern
|
5
5
|
include_module_if_exists('UffizziCore::Controller::CreateCluster::ClusterSerializerModule')
|
6
6
|
|
7
|
-
attributes :name, :manifest, :base_ingress_host, :distro, :image
|
7
|
+
attributes :name, :manifest, :base_ingress_host, :distro, :image, :node_selector
|
8
8
|
|
9
9
|
def base_ingress_host
|
10
10
|
managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone
|
data/lib/uffizzi_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uffizzi_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Thurman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-02
|
12
|
+
date: 2024-03-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
@@ -1103,6 +1103,7 @@ files:
|
|
1103
1103
|
- db/migrate/20230824150022_update_name_constraint_to_projects.rb
|
1104
1104
|
- db/migrate/20231009162719_create_uffizzi_core_kubernetes_distributions.rb
|
1105
1105
|
- db/migrate/20231009182412_add_kubernetes_distribution_id_to_uffizzi_core_clusters.rb
|
1106
|
+
- db/migrate/20240301200235_add_node_selector_to_cluster.rb
|
1106
1107
|
- db/seeds.rb
|
1107
1108
|
- lib/tasks/uffizzi_core_tasks.rake
|
1108
1109
|
- lib/uffizzi_core.rb
|