fluent-plugin-nais 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/filter_nais_kubewatch.rb +1 -1
- data/lib/fluent/plugin/nais/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 229d65b652aa2a72b34f2799b142197624acfa74
|
4
|
+
data.tar.gz: 397c7eeef252226f4d231c1887765ad4abd924c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f234b25590dc933e8282de62b420cc42cc80a54a32cb2f078de1854f0ce231ca43699ff600852fb0ccd795450761f64e44726b5863fbe1fa8555c753bfeeff25
|
7
|
+
data.tar.gz: dc04e9d476b9436b50a690b11784d28e88cfe904f6c19defa0f5518ee8e11678847f137a19801a2c055d5b0583c303a01db13d54919a1cf8dc1636380c561897
|
@@ -24,7 +24,7 @@ module Fluent
|
|
24
24
|
end
|
25
25
|
if record.has_key?('involvedObject')
|
26
26
|
if (record['involvedObject']['fieldPath'] =~ /^spec.containers\{([^\}]+)\}$/ ||
|
27
|
-
record['involvedObject']['name'] =~ /^(.+?)(?:-[0-9a-f]
|
27
|
+
record['involvedObject']['name'] =~ /^(.+?)(?:-[0-9a-f]{8,})?(?:-[0-9a-z]{5})?$/)
|
28
28
|
record['application'] = $1
|
29
29
|
record['namespace'] = record['involvedObject']['namespace']
|
30
30
|
if record['involvedObject']['kind'] == 'Pod'
|