uffizzi_core 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceb35692b2d83b6cbe1a375fa2ecba94eddf9ab3f650d73f98d41d85ee88d4f6
4
- data.tar.gz: ab3bb8750a6a4ec89363b00d46f03f88fa93bbbcadabb3beb8bde3f3411a751c
3
+ metadata.gz: dbe95387d820ac425ad0e22777c819f16d4585bc68447303acdea82e035211f0
4
+ data.tar.gz: be6df718ea508614af3f8ec13b91ed676e7efb1497ba0c86c24be29582f56d5f
5
5
  SHA512:
6
- metadata.gz: 92008b2cc1658e26ab3cd0d79f51a105fcc738d5d0a99b06ba849af266df1e1639411f1468a1fc1e58d62a97059c734989cba39aa22d389aa1e143513baa3a92
7
- data.tar.gz: caab7d65941a15ad71bc111ed5ca566132ec3dc65159e97bed8cb0ba0f7c92762b8808723bb3fac01b0c9fa6a28c1430be6457ac3a1f19ccbdb38400a092424b
6
+ metadata.gz: a56c2b2e674534c8774706192ff2f279ee9b755694f92bebed476a8717f4b7f976e267e563aa0189a4ecf9f6c56f4dd0b70f75279ccec7b7a13db614c20dc231
7
+ data.tar.gz: a9e490414365f05c52147fc17d322c2e52257d20a2a955c9f1a61c159e2fe112a69eb6741c846f772ead653a03dd5689aa1d722f6de957ac50c0754a20f032b3
@@ -4,6 +4,8 @@ module UffizziCore::Concerns::Models::Cluster
4
4
  extend ActiveSupport::Concern
5
5
  include UffizziCore::ClusterRepo
6
6
 
7
+ NAMESPACE_PREFIX = 'cluster'
8
+
7
9
  included do
8
10
  include AASM
9
11
 
@@ -48,7 +50,7 @@ module UffizziCore::Concerns::Models::Cluster
48
50
  end
49
51
 
50
52
  def namespace
51
- "cluster-#{id}"
53
+ [NAMESPACE_PREFIX, id].join('-')
52
54
  end
53
55
  end
54
56
  end
@@ -4,6 +4,6 @@ class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::B
4
4
  attributes :name, :manifest, :base_ingress_host
5
5
 
6
6
  def base_ingress_host
7
- Settings.app.vcluster_managed_dns_zone
7
+ [object.namespace, Settings.app.vcluster_managed_dns_zone].join('.')
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.2.1'
4
+ VERSION = '2.2.2'
5
5
  end
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.2.1
4
+ version: 2.2.2
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: 2023-07-05 00:00:00.000000000 Z
12
+ date: 2023-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm