oci-logging-analytics-kubernetes-discovery 1.2.0 → 1.4.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/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/README.md +6 -6
- data/bin/oci-loganalytics-kubernetes-discovery +19 -10
- data/lib/enum/auth_type_enum.rb +1 -1
- data/lib/oci_loganalytics_resources_discovery.rb +1 -1
- data/lib/util/oci_clients.rb +57 -4
- data/lib/util/service_logs.rb +3 -1
- data/lib/version.rb +1 -1
- data/oci-logging-analytics-kubernetes-discovery.gemspec +2 -2
- data/ocibuild.conf +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbe8ec23d60bcc04c315d7961b841fd7f0ccd7ba3c2133e1fd7db537dcbc4e3c
|
|
4
|
+
data.tar.gz: a02f9f5241b9ab760b9f9c6cf6eb8a29f8667c3dbfd23ae0a761195e9eee69b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d086d772a3f91bddd8f85d1627cbb825cb2373aff0e55cbef28a9d28dabded567170df1a778f176682812f693a6baf49067631f510eace5e2de5a44500b119f2
|
|
7
|
+
data.tar.gz: 1dcd772179a5c037c23924f685d23716f788cd78db2d254c64b77ccacd2528b87132ab726e95c109ddd33d6d7e3ce94c5ef825f7aa8f918ece96880d5a5fada6
|
data/.ruby-gemset
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
logan-kubernetes-discovery
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-3.1.5
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# OCI
|
|
1
|
+
# OCI Log Analytics Kubernetes Discovery
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
A rubygem for discovering Kubernetes resources and send it to OCI
|
|
5
|
+
A rubygem for discovering Kubernetes resources and send it to OCI Log Analytics.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -31,9 +31,9 @@ Usage: oci-loganalytics-kubernetes-discovery [options]
|
|
|
31
31
|
--oci_la_namespace OCI_LA_NAMESPACE
|
|
32
32
|
OCI Tenancy Namespace to which the collected log data is to be uploaded
|
|
33
33
|
--oci_la_log_group_id OCI_LA_LOG_GROUP_ID
|
|
34
|
-
OCID of
|
|
34
|
+
OCID of Log Analytics Log Group to which the uploaded data is to be associated with
|
|
35
35
|
--oci_la_cluster_entity_id KUBERNETES_CLUSTER_ENTITY_ID
|
|
36
|
-
OCID of
|
|
36
|
+
OCID of Log Analytics Kubernetes Cluster entity
|
|
37
37
|
--kubernetes_cluster_name KUBERNETES_CLUSTER_NAME
|
|
38
38
|
A unique name for each kubernetes cluster must be provided
|
|
39
39
|
--kubernetes_cluster_namespace KUBERNETES_CLUSTER_NAMESPACE
|
|
@@ -42,7 +42,7 @@ Usage: oci-loganalytics-kubernetes-discovery [options]
|
|
|
42
42
|
Kubernetes cluster resourcename prefix. Defaults to oci-onm
|
|
43
43
|
--kubernetes_cluster_id KUBERNETES_CLUSTER_ID
|
|
44
44
|
Unique identifier for Kubernetes cluster
|
|
45
|
-
--endpoint ENDPOINT
|
|
45
|
+
--endpoint ENDPOINT Log Analytics Ingestion API endpoint to ingest your application logs
|
|
46
46
|
--profile_name PROFILE_NAME OCI Config Profile Name to be used from the configuration file
|
|
47
47
|
--config_file_location CONFIG_FILE_LOCATION
|
|
48
48
|
The location of the configuration file containing OCI authentication details
|
|
@@ -59,7 +59,7 @@ Usage: oci-loganalytics-kubernetes-discovery [options]
|
|
|
59
59
|
--secret_dir SECRET_DIR Path to Kubernetes service account token file to access Kubernetes API
|
|
60
60
|
--discovery DISCOVERY_MODE Discovery mode to be used: {infra|object}
|
|
61
61
|
--chunk_limit CHUNK_SIZE Max number of objects that can be fetched via K8s GET API call. Default: 1000
|
|
62
|
-
--skip_upload Flag to skip uploading data to OCI
|
|
62
|
+
--skip_upload Flag to skip uploading data to OCI Log Analytics [ONLY FOR INTERNAL TESTING]
|
|
63
63
|
--collect_warning_events_only
|
|
64
64
|
Flag to collect only warning event logs
|
|
65
65
|
--log_format LOG_FORMAT Log format to be used: {text|json}
|
|
@@ -29,8 +29,8 @@ optparse = OptionParser.new do |param|
|
|
|
29
29
|
|
|
30
30
|
# Mandatory Fields
|
|
31
31
|
param.on('--oci_la_namespace OCI_LA_NAMESPACE', 'OCI Tenancy Namespace to which the collected log data is to be uploaded') { |o| cluster_config[:oci_la_namespace] = o }
|
|
32
|
-
param.on('--oci_la_log_group_id OCI_LA_LOG_GROUP_ID', 'OCID of
|
|
33
|
-
param.on('--oci_la_cluster_entity_id KUBERNETES_CLUSTER_ENTITY_ID', 'OCID of
|
|
32
|
+
param.on('--oci_la_log_group_id OCI_LA_LOG_GROUP_ID', 'OCID of Log Analytics Log Group to which the uploaded data is to be associated with') { |o| cluster_config[:oci_la_log_group_id] = o }
|
|
33
|
+
param.on('--oci_la_cluster_entity_id KUBERNETES_CLUSTER_ENTITY_ID', 'OCID of Log Analytics Kubernetes Cluster entity') { |o| cluster_config[:oci_la_cluster_entity_id] = o }
|
|
34
34
|
param.on('--kubernetes_cluster_name KUBERNETES_CLUSTER_NAME', 'A unique name for each kubernetes cluster must be provided') { |o| cluster_config[:kubernetes_cluster_name] = o }
|
|
35
35
|
param.on('--kubernetes_cluster_namespace KUBERNETES_CLUSTER_NAMESPACE', 'Kubernetes namespace in which the discovery job is configured') { |o| cluster_config[:kubernetes_cluster_namespace] = o }
|
|
36
36
|
param.on('--kubernetes_resourcename_prefix PREFIX', 'Kubernetes cluster resourcename prefix. Defaults to oci-onm') { |o| cluster_config[:kubernetes_resourcename_prefix] = o }
|
|
@@ -44,8 +44,8 @@ optparse = OptionParser.new do |param|
|
|
|
44
44
|
param.on('--profile_name PROFILE_NAME', 'OCI Config Profile Name to be used from the configuration file') { |o| auth_config[:profile_name] = o }
|
|
45
45
|
param.on('--config_file_location CONFIG_FILE_LOCATION', 'The location of the configuration file containing OCI authentication details') { |o| auth_config[:config_file_location] = o }
|
|
46
46
|
|
|
47
|
-
# OCI
|
|
48
|
-
param.on('--endpoint ENDPOINT', '
|
|
47
|
+
# OCI Log Analytics custom endpoints
|
|
48
|
+
param.on('--endpoint ENDPOINT', 'Log Analytics Ingestion API endpoint to ingest your application logs') { |o| auth_config[:endpoint] = o }
|
|
49
49
|
|
|
50
50
|
# Kubernetes Cluster
|
|
51
51
|
# For AuthNAuth when the job is outside the cluster.
|
|
@@ -63,7 +63,7 @@ optparse = OptionParser.new do |param|
|
|
|
63
63
|
# Discovery
|
|
64
64
|
param.on('--discovery DISCOVERY_MODE', "[Deprecated] Discovery mode to be used: #{format_option_selections(DISCOVERY_OPTIONS)}") { |o| app_config[:mode] = o.downcase }
|
|
65
65
|
param.on('--chunk_limit CHUNK_SIZE', Integer, "Max number of objects that can be fetched via K8s GET API call. Default: #{CHUNK_LIMIT_DEFAULT}") { |o| app_config[:chunk_limit] = o }
|
|
66
|
-
param.on('--skip_upload', 'Flag to skip uploading data to OCI
|
|
66
|
+
param.on('--skip_upload', 'Flag to skip uploading data to OCI Log Analytics [ONLY FOR INTERNAL TESTING]') { |_o| app_config[:skip_upload] = true }
|
|
67
67
|
param.on('--collect_warning_events_only', 'Flag to collect only warning event logs') { |_o| app_config[:collect_warning_events_only] = true }
|
|
68
68
|
param.on('--tenancy_ocid TENANCY_OCID', 'Tenancy OCID') { |o| app_config[:tenancy_ocid] = o }
|
|
69
69
|
|
|
@@ -115,6 +115,13 @@ begin
|
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
# Valid oci_domain format check
|
|
119
|
+
unless auth_config[:oci_domain].nil?
|
|
120
|
+
unless auth_config[:oci_domain].match?(/^[a-z0-9-]+\.oci\.[a-z0-9.]+[a-z0-9]$/i)
|
|
121
|
+
raise OptionParser::InvalidOption, "--oci_domain '#{auth_config[:oci_domain]}' | " \
|
|
122
|
+
"expected format: <region>.oci.<domain> (e.g., us-ashburn-1.oci.oraclecloud.com)"
|
|
123
|
+
end
|
|
124
|
+
end
|
|
118
125
|
# If threads are enabled, thread count and queue size should be provided as arguments.
|
|
119
126
|
if app_config[:enable_threading] && app_config[:thread_count].nil?
|
|
120
127
|
raise OptionParser::MissingArgument, '--thread_count'
|
|
@@ -164,10 +171,12 @@ cluster_config[:oci_la_cluster_entity_id] = cluster_config[:oci_la_cluster_entit
|
|
|
164
171
|
cluster_config[:kubernetes_resourcename_prefix] = cluster_config[:kubernetes_resourcename_prefix] ||= 'oci-onm'
|
|
165
172
|
|
|
166
173
|
# OCI Auth Type
|
|
167
|
-
if
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
174
|
+
if auth_config[:auth_type].nil?
|
|
175
|
+
if !auth_config[:config_file_location].nil?
|
|
176
|
+
auth_config[:auth_type] = Enum::AuthTypeEnum::CONFIG
|
|
177
|
+
else
|
|
178
|
+
auth_config[:auth_type] = Enum::AuthTypeEnum::INSTANCE_PRINCIPAL
|
|
179
|
+
end
|
|
171
180
|
end
|
|
172
181
|
|
|
173
182
|
# OCI Domain
|
|
@@ -177,7 +186,7 @@ auth_config[:oci_domain] = auth_config[:oci_domain] ||= nil
|
|
|
177
186
|
auth_config[:profile_name] = auth_config[:profile_name] ||= 'DEFAULT'
|
|
178
187
|
auth_config[:config_file_location] = auth_config[:config_file_location] ||= nil
|
|
179
188
|
|
|
180
|
-
# OCI
|
|
189
|
+
# OCI Log Analytics custom endpoints
|
|
181
190
|
auth_config[:endpoint] = auth_config[:endpoint] ||= nil
|
|
182
191
|
|
|
183
192
|
# Kubernetes cluster related
|
data/lib/enum/auth_type_enum.rb
CHANGED
|
@@ -123,7 +123,7 @@ module OciLogAnalyticsResourcesDiscovery
|
|
|
123
123
|
|
|
124
124
|
# Send collected data
|
|
125
125
|
if @app_config_hash[:skip_upload]
|
|
126
|
-
logger.warn('--skip_upload Flag is set: Skipping payload upload to OCI
|
|
126
|
+
logger.warn('--skip_upload Flag is set: Skipping payload upload to OCI Log Analytics.')
|
|
127
127
|
else
|
|
128
128
|
upload_failure = false
|
|
129
129
|
|
data/lib/util/oci_clients.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Util
|
|
|
14
14
|
module_function
|
|
15
15
|
|
|
16
16
|
attr_accessor :oci_clients, :ce_client, :id_client, :lb_client, :la_client, :rs_client,
|
|
17
|
-
:vcn_client, :oci_config, :instance_principals_signer, :la_endpoint,
|
|
17
|
+
:vcn_client, :oci_config, :instance_principals_signer, :workload_identity_signer , :la_endpoint,
|
|
18
18
|
:auth_type, :auth_config_object, :oci_domain, :oci_retry_config, :oci_region
|
|
19
19
|
|
|
20
20
|
# This must be the first method called before any other method
|
|
@@ -56,8 +56,38 @@ module Util
|
|
|
56
56
|
)
|
|
57
57
|
end
|
|
58
58
|
@oci_region = @instance_principals_signer.region
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
elsif @auth_type == Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
60
|
+
@oci_config = OCI::Config.new
|
|
61
|
+
@workload_identity_signer = OCI::Auth::Signers.oke_workload_resource_principal_signer
|
|
62
|
+
if !@oci_domain.nil?
|
|
63
|
+
region_match = @oci_domain.match(/^([a-z0-9-]+)\.oci\./i)
|
|
64
|
+
if region_match
|
|
65
|
+
@oci_region = region_match[1]
|
|
66
|
+
logger.info("Extracted region from domain: #{@oci_region}")
|
|
67
|
+
else
|
|
68
|
+
raise StandardError, "Invalid oci_domain format: '#{@oci_domain}'. " \
|
|
69
|
+
"Expected: <region>.oci.<domain> (e.g., us-ashburn-1.oci.oraclecloud.com)"
|
|
70
|
+
end
|
|
71
|
+
else
|
|
72
|
+
begin
|
|
73
|
+
tmp_signer = OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner.new
|
|
74
|
+
if tmp_signer.region
|
|
75
|
+
@oci_region = tmp_signer.region
|
|
76
|
+
logger.info("extracted region from IMDS: #{@oci_region}")
|
|
77
|
+
else
|
|
78
|
+
raise StandardError, "IMDS returned nil region. " \
|
|
79
|
+
"Provide --oci_domain parameter (e.g., us-ashburn-1.oci.oraclecloud.com)."
|
|
80
|
+
end
|
|
81
|
+
rescue StandardError => e
|
|
82
|
+
raise
|
|
83
|
+
rescue => e
|
|
84
|
+
raise StandardError, "Unable to determine region. " \
|
|
85
|
+
"IMDS not available: #{e.message}. " \
|
|
86
|
+
"Provide --oci_domain parameter (e.g., us-ashburn-1.oci.oraclecloud.com)."
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
@oci_config.region = @oci_region
|
|
90
|
+
|
|
61
91
|
elsif @auth_type == Enum::AuthTypeEnum::CONFIG
|
|
62
92
|
@oci_config = OCI::ConfigFileLoader.load_config(config_file_location: auth_config_hash[:config_file_location],
|
|
63
93
|
profile_name: auth_config_hash[:profile_name])
|
|
@@ -132,6 +162,11 @@ module Util
|
|
|
132
162
|
config: @oci_config, endpoint: endpoint,
|
|
133
163
|
signer: @instance_principals_signer,
|
|
134
164
|
retry_config: retry_config)
|
|
165
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
166
|
+
client = OCI::ContainerEngine::ContainerEngineClient.new(
|
|
167
|
+
config: @oci_config, endpoint: endpoint,
|
|
168
|
+
signer: @workload_identity_signer,
|
|
169
|
+
retry_config: retry_config)
|
|
135
170
|
else
|
|
136
171
|
logger.warn("Unknown auth_type '#{@auth_type}' provided for container engine client.")
|
|
137
172
|
end
|
|
@@ -159,6 +194,8 @@ module Util
|
|
|
159
194
|
client = OCI::Identity::IdentityClient.new(config: @oci_config, endpoint: endpoint, retry_config: retry_config)
|
|
160
195
|
when Enum::AuthTypeEnum::INSTANCE_PRINCIPAL
|
|
161
196
|
client = OCI::Identity::IdentityClient.new(config: @oci_config, endpoint: endpoint, signer: @instance_principals_signer, retry_config: retry_config)
|
|
197
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
198
|
+
client = OCI::Identity::IdentityClient.new(config: @oci_config, endpoint: endpoint, signer: @workload_identity_signer, retry_config: retry_config)
|
|
162
199
|
else
|
|
163
200
|
logger.warn("Unknown auth_type '#{@auth_type}' provided for identity client.")
|
|
164
201
|
end
|
|
@@ -186,6 +223,8 @@ module Util
|
|
|
186
223
|
client = OCI::LoadBalancer::LoadBalancerClient.new(config: @oci_config, endpoint: endpoint, retry_config: retry_config)
|
|
187
224
|
when Enum::AuthTypeEnum::INSTANCE_PRINCIPAL
|
|
188
225
|
client = OCI::LoadBalancer::LoadBalancerClient.new(config: @oci_config, endpoint: endpoint, signer: @instance_principals_signer, retry_config: retry_config)
|
|
226
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
227
|
+
client = OCI::LoadBalancer::LoadBalancerClient.new(config: @oci_config, endpoint: endpoint, signer: @workload_identity_signer, retry_config: retry_config)
|
|
189
228
|
else
|
|
190
229
|
logger.warn("Unknown auth_type '#{@auth_type}' provided for load balancer client.")
|
|
191
230
|
end
|
|
@@ -221,6 +260,11 @@ module Util
|
|
|
221
260
|
endpoint: endpoint,
|
|
222
261
|
signer: @instance_principals_signer,
|
|
223
262
|
retry_config: retry_config)
|
|
263
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
264
|
+
client = OCI::LogAnalytics::LogAnalyticsClient.new(config: @oci_config,
|
|
265
|
+
endpoint: endpoint,
|
|
266
|
+
signer: @workload_identity_signer,
|
|
267
|
+
retry_config: retry_config)
|
|
224
268
|
else
|
|
225
269
|
logger.warn("Unknown auth_type while creating log analytics client: #{@auth_type}")
|
|
226
270
|
raise StandardError, 'Unknown auth_type for log analytics client.'
|
|
@@ -252,6 +296,8 @@ module Util
|
|
|
252
296
|
client = OCI::ResourceSearch::ResourceSearchClient.new(config: @oci_config, endpoint: endpoint, retry_config: retry_config)
|
|
253
297
|
when Enum::AuthTypeEnum::INSTANCE_PRINCIPAL
|
|
254
298
|
client = OCI::ResourceSearch::ResourceSearchClient.new(config: @oci_config, endpoint: endpoint, signer: @instance_principals_signer, retry_config: retry_config)
|
|
299
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
300
|
+
client = OCI::ResourceSearch::ResourceSearchClient.new(config: @oci_config, endpoint: endpoint, signer: @workload_identity_signer, retry_config: retry_config)
|
|
255
301
|
else
|
|
256
302
|
logger.warn("Unknown auth_type '#{@auth_type}' provided for resource search client.")
|
|
257
303
|
end
|
|
@@ -284,6 +330,8 @@ module Util
|
|
|
284
330
|
client = OCI::Core::VirtualNetworkClient.new(config: @oci_config, endpoint: endpoint, retry_config: retry_config)
|
|
285
331
|
when Enum::AuthTypeEnum::INSTANCE_PRINCIPAL
|
|
286
332
|
client = OCI::Core::VirtualNetworkClient.new(config: @oci_config, endpoint: endpoint, signer: @instance_principals_signer, retry_config: retry_config)
|
|
333
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
334
|
+
client = OCI::Core::VirtualNetworkClient.new(config: @oci_config, endpoint: endpoint, signer: @workload_identity_signer, retry_config: retry_config)
|
|
287
335
|
else
|
|
288
336
|
logger.warn("Unknown auth_type '#{@auth_type}' provided for virtual network client.")
|
|
289
337
|
end
|
|
@@ -317,6 +365,11 @@ module Util
|
|
|
317
365
|
endpoint: endpoint,
|
|
318
366
|
signer: @instance_principals_signer,
|
|
319
367
|
retry_config: retry_config)
|
|
368
|
+
when Enum::AuthTypeEnum::OKE_WORKLOAD_IDENTITY
|
|
369
|
+
client = OCI::ResourceManager::ResourceManagerClient.new(config: @oci_config,
|
|
370
|
+
endpoint: endpoint,
|
|
371
|
+
signer: @workload_identity_signer,
|
|
372
|
+
retry_config: retry_config)
|
|
320
373
|
else
|
|
321
374
|
logger.warn("Unknown auth_type '#{auth_object[:auth_type]}' provided for resource manager client.")
|
|
322
375
|
end
|
|
@@ -338,7 +391,7 @@ module Util
|
|
|
338
391
|
oci_config: @oci_config,
|
|
339
392
|
la_endpoint: @la_endpoint,
|
|
340
393
|
instance_principals_signer: @instance_principals_signer,
|
|
341
|
-
|
|
394
|
+
workload_identity_signer: @workload_identity_signer,
|
|
342
395
|
auth_type: @auth_type,
|
|
343
396
|
oci_domain: @oci_domain
|
|
344
397
|
}.compact
|
data/lib/util/service_logs.rb
CHANGED
|
@@ -20,6 +20,7 @@ module Util
|
|
|
20
20
|
|
|
21
21
|
# Prefix of resource manager stack (to be created via API)
|
|
22
22
|
RESOURCE_MANAGER_STACK_PREFIX = 'oci-kubernetes-monitoring-service-logs'.freeze
|
|
23
|
+
STACK_TF_VERSION_STRING = '1.5.x'.freeze
|
|
23
24
|
|
|
24
25
|
def invoke_resource_manager_stack(infra_objects_payload, app_config_hash,
|
|
25
26
|
oci_la_log_group_id, onm_compartment_id, oci_region, oci_domain)
|
|
@@ -397,7 +398,7 @@ module Util
|
|
|
397
398
|
client.create_stack(
|
|
398
399
|
OCI::ResourceManager::Models::CreateStackDetails.new(
|
|
399
400
|
compartment_id: compartment_id,
|
|
400
|
-
terraform_version:
|
|
401
|
+
terraform_version: STACK_TF_VERSION_STRING,
|
|
401
402
|
display_name: stack_unique_identifier,
|
|
402
403
|
description: stack_unique_identifier,
|
|
403
404
|
config_source:
|
|
@@ -521,6 +522,7 @@ module Util
|
|
|
521
522
|
response = client.update_stack(stack_ocid,
|
|
522
523
|
OCI::ResourceManager::Models::UpdateStackDetails.new(
|
|
523
524
|
variables: rms_input_variables,
|
|
525
|
+
terraform_version: STACK_TF_VERSION_STRING,
|
|
524
526
|
config_source: OCI::ResourceManager::Models::UpdateZipUploadConfigSourceDetails.new(zip_file_base64_encoded: rms_template_base64_encoded)
|
|
525
527
|
)
|
|
526
528
|
)
|
data/lib/version.rb
CHANGED
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ['Oracle', 'OCI Observability: Logging Analytics']
|
|
10
10
|
spec.email = ['oci_la_plugins_grp@oracle.com']
|
|
11
11
|
|
|
12
|
-
spec.summary = 'A rubygem for discovering Kubernetes resources and send it to OCI
|
|
13
|
-
spec.description = 'A rubygem for discovering Kubernetes resources and send it to OCI
|
|
12
|
+
spec.summary = 'A rubygem for discovering Kubernetes resources and send it to OCI Log Analytics.'
|
|
13
|
+
spec.description = 'A rubygem for discovering Kubernetes resources and send it to OCI Log Analytics.'
|
|
14
14
|
spec.homepage = 'https://rubygems.org/gems/oci-logging-analytics-kubernetes-discovery'
|
|
15
15
|
spec.license = 'UPL-1.0'
|
|
16
16
|
|
data/ocibuild.conf
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
runnerTag: latest
|
|
2
2
|
name: logan-kubernetes-discovery
|
|
3
3
|
team: LOGAN
|
|
4
|
-
description: Build config to build
|
|
4
|
+
description: Build config to build Log Analytics Kubernetes Discovery gem.
|
|
5
5
|
phoneBookId: logan
|
|
6
6
|
version: ${BLD_NUMBER}
|
|
7
7
|
authCompartmentOcid: ocid1.tenancy.oc1..aaaaaaaauj75yrhg54zor44qlc3chockspqc6e5c7nxlxjlcnunxo2hbs6ca
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oci-logging-analytics-kubernetes-discovery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oracle
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-10-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -261,7 +261,7 @@ dependencies:
|
|
|
261
261
|
- - "~>"
|
|
262
262
|
- !ruby/object:Gem::Version
|
|
263
263
|
version: '1.0'
|
|
264
|
-
description: A rubygem for discovering Kubernetes resources and send it to OCI
|
|
264
|
+
description: A rubygem for discovering Kubernetes resources and send it to OCI Log
|
|
265
265
|
Analytics.
|
|
266
266
|
email:
|
|
267
267
|
- oci_la_plugins_grp@oracle.com
|
|
@@ -271,6 +271,8 @@ extensions: []
|
|
|
271
271
|
extra_rdoc_files: []
|
|
272
272
|
files:
|
|
273
273
|
- ".gitignore"
|
|
274
|
+
- ".ruby-gemset"
|
|
275
|
+
- ".ruby-version"
|
|
274
276
|
- ".travis.yml"
|
|
275
277
|
- Gemfile
|
|
276
278
|
- LICENSE.txt
|
|
@@ -335,6 +337,5 @@ requirements: []
|
|
|
335
337
|
rubygems_version: 3.3.27
|
|
336
338
|
signing_key:
|
|
337
339
|
specification_version: 4
|
|
338
|
-
summary: A rubygem for discovering Kubernetes resources and send it to OCI
|
|
339
|
-
Analytics.
|
|
340
|
+
summary: A rubygem for discovering Kubernetes resources and send it to OCI Log Analytics.
|
|
340
341
|
test_files: []
|