strongdm 13.1.0 → 13.2.0
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/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-e0bf0cbde213191e62cc873fbace772f521a5558.idx → pack-0923a9f957d28143d775f999868bf07efbc9b283.idx} +0 -0
- data/.git/objects/pack/{pack-e0bf0cbde213191e62cc873fbace772f521a5558.pack → pack-0923a9f957d28143d775f999868bf07efbc9b283.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +17 -0
- data/lib/grpc/plumbing.rb +64 -0
- data/lib/models/porcelain.rb +68 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc9f3ee2d31a3da47674d692fda3db6f15590e4c6a8bbe3d6b3cd256bef0601c
|
4
|
+
data.tar.gz: e411a2b674e3df05b7d09387b4dd5b4fc77fde509e544a16c27fb951b0ec3ca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd3b01d10dd14e3a8f7c1b168c1ac9ffdbe939daa0f2c027c7048c5893ecf5a9e8d753b7c17e5a979c779cbca8a2b24ff61e1dddaa7218c2bfff41827bb4e905
|
7
|
+
data.tar.gz: f4ab4e6befd64a08b2d4f3d99ce9aad3451ca2d07e7676cdb7567661e41180b9ddcce39f08168c0a8bd9783eb77c9f4a1137fa00f8fb51178615d4aa11ed55f6
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
d2332b223f397155e757daed36263d569cc623e9
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2332b223f397155e757daed36263d569cc623e9 root <root@066618afa5b6.(none)> 1741225284 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2332b223f397155e757daed36263d569cc623e9 d2332b223f397155e757daed36263d569cc623e9 root <root@066618afa5b6.(none)> 1741225284 +0000 checkout: moving from master to master
|
3
|
+
d2332b223f397155e757daed36263d569cc623e9 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@066618afa5b6.(none)> 1741225284 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2332b223f397155e757daed36263d569cc623e9 root <root@066618afa5b6.(none)> 1741225284 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2332b223f397155e757daed36263d569cc623e9 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@066618afa5b6.(none)> 1741225284 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 d2332b223f397155e757daed36263d569cc623e9 root <root@066618afa5b6.(none)> 1741225284 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 refs/remotes/origin/development
|
3
|
+
d2332b223f397155e757daed36263d569cc623e9 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -69,6 +69,7 @@ b68a30b7513dbbdada47704bd34510560b4ee8ca refs/tags/v12.8.0
|
|
69
69
|
8fd657047e6c4668fb718fa296a6901e0b2d9188 refs/tags/v12.9.0
|
70
70
|
76b1957fe731ca91ce70123ec943bde26ea9e0ec refs/tags/v12.9.1
|
71
71
|
7b3f19015f0280427b602d2b8c5371dddacd8299 refs/tags/v13.0.0
|
72
|
+
d2332b223f397155e757daed36263d569cc623e9 refs/tags/v13.1.0
|
72
73
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
73
74
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
74
75
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -82,6 +82,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
82
|
optional :http_no_auth, :message, 701, "v1.HTTPNoAuth"
|
83
83
|
optional :kubernetes, :message, 800, "v1.Kubernetes"
|
84
84
|
optional :kubernetes_basic_auth, :message, 801, "v1.KubernetesBasicAuth"
|
85
|
+
optional :kubernetes_pod_identity, :message, 819, "v1.KubernetesPodIdentity"
|
85
86
|
optional :kubernetes_service_account, :message, 804, "v1.KubernetesServiceAccount"
|
86
87
|
optional :kubernetes_service_account_user_impersonation, :message, 808, "v1.KubernetesServiceAccountUserImpersonation"
|
87
88
|
optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
|
@@ -1163,6 +1164,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1163
1164
|
optional :port_override, :int32, 6
|
1164
1165
|
optional :username, :string, 3
|
1165
1166
|
end
|
1167
|
+
add_message "v1.KubernetesPodIdentity" do
|
1168
|
+
optional :id, :string, 32768
|
1169
|
+
optional :name, :string, 32769
|
1170
|
+
optional :healthy, :bool, 32770
|
1171
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1172
|
+
optional :secret_store_id, :string, 32772
|
1173
|
+
optional :egress_filter, :string, 32773
|
1174
|
+
optional :bind_interface, :string, 32774
|
1175
|
+
optional :proxy_cluster_id, :string, 32776
|
1176
|
+
optional :subdomain, :string, 32775
|
1177
|
+
optional :allow_resource_role_bypass, :bool, 15
|
1178
|
+
optional :certificate_authority, :string, 4
|
1179
|
+
optional :healthcheck_namespace, :string, 6
|
1180
|
+
optional :port_override, :int32, 9
|
1181
|
+
end
|
1166
1182
|
add_message "v1.KubernetesServiceAccount" do
|
1167
1183
|
optional :id, :string, 32768
|
1168
1184
|
optional :name, :string, 32769
|
@@ -1952,6 +1968,7 @@ module V1
|
|
1952
1968
|
HTTPNoAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.HTTPNoAuth").msgclass
|
1953
1969
|
Kubernetes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Kubernetes").msgclass
|
1954
1970
|
KubernetesBasicAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesBasicAuth").msgclass
|
1971
|
+
KubernetesPodIdentity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesPodIdentity").msgclass
|
1955
1972
|
KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
|
1956
1973
|
KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
|
1957
1974
|
KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -7179,6 +7179,64 @@ module SDM
|
|
7179
7179
|
end
|
7180
7180
|
items
|
7181
7181
|
end
|
7182
|
+
def self.convert_kubernetes_pod_identity_to_porcelain(plumbing)
|
7183
|
+
if plumbing == nil
|
7184
|
+
return nil
|
7185
|
+
end
|
7186
|
+
porcelain = KubernetesPodIdentity.new()
|
7187
|
+
porcelain.allow_resource_role_bypass = (plumbing.allow_resource_role_bypass)
|
7188
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
7189
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
7190
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
7191
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
7192
|
+
porcelain.healthy = (plumbing.healthy)
|
7193
|
+
porcelain.id = (plumbing.id)
|
7194
|
+
porcelain.name = (plumbing.name)
|
7195
|
+
porcelain.port_override = (plumbing.port_override)
|
7196
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
7197
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
7198
|
+
porcelain.subdomain = (plumbing.subdomain)
|
7199
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
7200
|
+
porcelain
|
7201
|
+
end
|
7202
|
+
|
7203
|
+
def self.convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
7204
|
+
if porcelain == nil
|
7205
|
+
return nil
|
7206
|
+
end
|
7207
|
+
plumbing = V1::KubernetesPodIdentity.new()
|
7208
|
+
plumbing.allow_resource_role_bypass = (porcelain.allow_resource_role_bypass)
|
7209
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
7210
|
+
plumbing.certificate_authority = (porcelain.certificate_authority)
|
7211
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
7212
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
7213
|
+
plumbing.healthy = (porcelain.healthy)
|
7214
|
+
plumbing.id = (porcelain.id)
|
7215
|
+
plumbing.name = (porcelain.name)
|
7216
|
+
plumbing.port_override = (porcelain.port_override)
|
7217
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
7218
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
7219
|
+
plumbing.subdomain = (porcelain.subdomain)
|
7220
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
7221
|
+
plumbing
|
7222
|
+
end
|
7223
|
+
def self.convert_repeated_kubernetes_pod_identity_to_plumbing(porcelains)
|
7224
|
+
items = Array.new
|
7225
|
+
porcelains.each do |porcelain|
|
7226
|
+
plumbing = convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
7227
|
+
items.append(plumbing)
|
7228
|
+
end
|
7229
|
+
items
|
7230
|
+
end
|
7231
|
+
|
7232
|
+
def self.convert_repeated_kubernetes_pod_identity_to_porcelain(plumbings)
|
7233
|
+
items = Array.new
|
7234
|
+
plumbings.each do |plumbing|
|
7235
|
+
porcelain = convert_kubernetes_pod_identity_to_porcelain(plumbing)
|
7236
|
+
items.append(porcelain)
|
7237
|
+
end
|
7238
|
+
items
|
7239
|
+
end
|
7182
7240
|
def self.convert_kubernetes_service_account_to_porcelain(plumbing)
|
7183
7241
|
if plumbing == nil
|
7184
7242
|
return nil
|
@@ -11191,6 +11249,9 @@ module SDM
|
|
11191
11249
|
if porcelain.instance_of? KubernetesBasicAuth
|
11192
11250
|
plumbing.kubernetes_basic_auth = convert_kubernetes_basic_auth_to_plumbing(porcelain)
|
11193
11251
|
end
|
11252
|
+
if porcelain.instance_of? KubernetesPodIdentity
|
11253
|
+
plumbing.kubernetes_pod_identity = convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
11254
|
+
end
|
11194
11255
|
if porcelain.instance_of? KubernetesServiceAccount
|
11195
11256
|
plumbing.kubernetes_service_account = convert_kubernetes_service_account_to_plumbing(porcelain)
|
11196
11257
|
end
|
@@ -11492,6 +11553,9 @@ module SDM
|
|
11492
11553
|
if plumbing.kubernetes_basic_auth != nil
|
11493
11554
|
return convert_kubernetes_basic_auth_to_porcelain(plumbing.kubernetes_basic_auth)
|
11494
11555
|
end
|
11556
|
+
if plumbing.kubernetes_pod_identity != nil
|
11557
|
+
return convert_kubernetes_pod_identity_to_porcelain(plumbing.kubernetes_pod_identity)
|
11558
|
+
end
|
11495
11559
|
if plumbing.kubernetes_service_account != nil
|
11496
11560
|
return convert_kubernetes_service_account_to_porcelain(plumbing.kubernetes_service_account)
|
11497
11561
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -7213,6 +7213,74 @@ module SDM
|
|
7213
7213
|
end
|
7214
7214
|
end
|
7215
7215
|
|
7216
|
+
class KubernetesPodIdentity
|
7217
|
+
# If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
|
7218
|
+
# when a resource role is not provided.
|
7219
|
+
attr_accessor :allow_resource_role_bypass
|
7220
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
7221
|
+
attr_accessor :bind_interface
|
7222
|
+
# The CA to authenticate TLS connections with.
|
7223
|
+
attr_accessor :certificate_authority
|
7224
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
7225
|
+
attr_accessor :egress_filter
|
7226
|
+
# The path used to check the health of your connection. Defaults to `default`.
|
7227
|
+
attr_accessor :healthcheck_namespace
|
7228
|
+
# True if the datasource is reachable and the credentials are valid.
|
7229
|
+
attr_accessor :healthy
|
7230
|
+
# Unique identifier of the Resource.
|
7231
|
+
attr_accessor :id
|
7232
|
+
# Unique human-readable name of the Resource.
|
7233
|
+
attr_accessor :name
|
7234
|
+
# The local port used by clients to connect to this resource.
|
7235
|
+
attr_accessor :port_override
|
7236
|
+
# ID of the proxy cluster for this resource, if any.
|
7237
|
+
attr_accessor :proxy_cluster_id
|
7238
|
+
# ID of the secret store containing credentials for this resource, if any.
|
7239
|
+
attr_accessor :secret_store_id
|
7240
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
7241
|
+
attr_accessor :subdomain
|
7242
|
+
# Tags is a map of key, value pairs.
|
7243
|
+
attr_accessor :tags
|
7244
|
+
|
7245
|
+
def initialize(
|
7246
|
+
allow_resource_role_bypass: nil,
|
7247
|
+
bind_interface: nil,
|
7248
|
+
certificate_authority: nil,
|
7249
|
+
egress_filter: nil,
|
7250
|
+
healthcheck_namespace: nil,
|
7251
|
+
healthy: nil,
|
7252
|
+
id: nil,
|
7253
|
+
name: nil,
|
7254
|
+
port_override: nil,
|
7255
|
+
proxy_cluster_id: nil,
|
7256
|
+
secret_store_id: nil,
|
7257
|
+
subdomain: nil,
|
7258
|
+
tags: nil
|
7259
|
+
)
|
7260
|
+
@allow_resource_role_bypass = allow_resource_role_bypass == nil ? false : allow_resource_role_bypass
|
7261
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
7262
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
7263
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
7264
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
7265
|
+
@healthy = healthy == nil ? false : healthy
|
7266
|
+
@id = id == nil ? "" : id
|
7267
|
+
@name = name == nil ? "" : name
|
7268
|
+
@port_override = port_override == nil ? 0 : port_override
|
7269
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
7270
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
7271
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
7272
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7273
|
+
end
|
7274
|
+
|
7275
|
+
def to_json(options = {})
|
7276
|
+
hash = {}
|
7277
|
+
self.instance_variables.each do |var|
|
7278
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7279
|
+
end
|
7280
|
+
hash.to_json
|
7281
|
+
end
|
7282
|
+
end
|
7283
|
+
|
7216
7284
|
class KubernetesServiceAccount
|
7217
7285
|
# If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
|
7218
7286
|
# when a resource role is not provided.
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/13.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/13.2.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
4
|
+
version: 13.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-0923a9f957d28143d775f999868bf07efbc9b283.idx"
|
85
|
+
- "./.git/objects/pack/pack-0923a9f957d28143d775f999868bf07efbc9b283.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|