uffizzi_core 2.4.7 → 2.4.10
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/app/controller_modules/uffizzi_core/api/cli/v1/projects/clusters_controller_module.rb +2 -0
- data/app/controller_modules/uffizzi_core/api/cli/v1/projects/deployments_controller_module.rb +2 -0
- data/app/controllers/uffizzi_core/api/cli/v1/projects/clusters_controller.rb +1 -0
- data/app/controllers/uffizzi_core/api/cli/v1/projects/deployments_controller.rb +1 -0
- data/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb +5 -1
- data/lib/uffizzi_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 759ad4f993ee7ec5346034b04b2474b35926a2c28e8cd11cbadc6a1dc825d183
|
4
|
+
data.tar.gz: 94d2065151cfc402dbe1f8e7ecc4579daf7d3eb1f061981b73e5e623937cb27f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce73fbd750ecb8ef6b2ad6240d8c68497443b2ff8d0acf2b64d62ab8b5e72cea0ad197456fe4d6bd612c01abee810c6c50c50f4ef881fbdd8dd8825bc5e1814c
|
7
|
+
data.tar.gz: 86483be57faca92295d75aba801a75a847bd8f67d03ceb54225131c6c066cf32e33b10ee2e600944c9afd19ff17947211ccd1751b25704478f1f96328b6a5a93
|
@@ -5,6 +5,7 @@ class UffizziCore::Api::Cli::V1::Projects::ClustersController < UffizziCore::Api
|
|
5
5
|
|
6
6
|
before_action :authorize_uffizzi_core_api_cli_v1_projects_clusters
|
7
7
|
before_action :check_account_quota, only: [:create]
|
8
|
+
before_action :check_current_plan
|
8
9
|
after_action :update_show_trial_quota_exceeded_warning, only: [:create, :destroy]
|
9
10
|
|
10
11
|
def index
|
@@ -7,6 +7,7 @@ class UffizziCore::Api::Cli::V1::Projects::DeploymentsController < UffizziCore::
|
|
7
7
|
|
8
8
|
before_action :authorize_uffizzi_core_api_cli_v1_projects_deployments
|
9
9
|
before_action :check_account_quota, only: :create
|
10
|
+
before_action :check_current_plan
|
10
11
|
after_action :update_show_trial_quota_exceeded_warning, only: :destroy
|
11
12
|
|
12
13
|
# Get a list of active deployements for a project
|
@@ -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, :account_id
|
8
8
|
|
9
9
|
def base_ingress_host
|
10
10
|
managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone
|
@@ -20,6 +20,10 @@ class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::B
|
|
20
20
|
kubernetes_distribution.distro
|
21
21
|
end
|
22
22
|
|
23
|
+
def account_id
|
24
|
+
object.project.account_id
|
25
|
+
end
|
26
|
+
|
23
27
|
private
|
24
28
|
|
25
29
|
def kubernetes_distribution
|
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.10
|
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-
|
12
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|