uffizzi_core 2.4.6 → 2.4.7
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 +0 -1
- data/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb +1 -1
- data/db/migrate/20240314170113_delete_node_selector_from_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: 45772656b8d1558ce90ec2de1169e2d0f7c2a042158cfc15a8eb6485ac8dbcb5
|
4
|
+
data.tar.gz: f7a478bfe6e285033c4a47c895b3f0966f8d1dc4ce69f8a440e5c059b823de40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6587ba4c9f12f21dd0d179bd754a2cb0b75955d57284af7dc12d07cf1c65bc181d65ee7de941a525c86cd340738f29000f2fdfe65dda09fba537d9eb9cf5901f
|
7
|
+
data.tar.gz: e1733ef55c7ebed0883eeaaa44a398333cd6933671a498d70ee9f98eead0bf46ef2ae30e1a37a80746e9ffcd7a561f56e46f20caba49de4eee4fe78a14a49b21
|
@@ -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
|
7
7
|
|
8
8
|
validate :check_manifest, if: -> { manifest.present? }
|
9
9
|
|
@@ -19,7 +19,6 @@ 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]
|
23
22
|
attribute :creation_source, :string, default: :manual
|
24
23
|
validates :creation_source, presence: true
|
25
24
|
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
|
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.7
|
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-03-
|
12
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
@@ -1104,6 +1104,7 @@ files:
|
|
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
1106
|
- db/migrate/20240301200235_add_node_selector_to_cluster.rb
|
1107
|
+
- db/migrate/20240314170113_delete_node_selector_from_cluster.rb
|
1107
1108
|
- db/seeds.rb
|
1108
1109
|
- lib/tasks/uffizzi_core_tasks.rake
|
1109
1110
|
- lib/uffizzi_core.rb
|