fluent-plugin-nais 0.16.0 → 0.16.1
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: 3ec76bbfad23a0aa37df11f8d00cf77d978ee304
|
4
|
+
data.tar.gz: 7ce6e2de426d918e8b4fa5ce16addd0d33a6d90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a0465bf3bdc0cce0ec2847ebecb6507b59d5ebea6fc98429a954f38359487ecaf6fd8103502dfa3784db8abb39304712662fb1a7e608c9cd76380dfa3602f4
|
7
|
+
data.tar.gz: daa449b5a99a25cad4126ad8348f719c754f1c3562773fee311fe002f813f041f7d6e850dc0a912be5c97c8d93026c09b61bf60af6392d15549e5bce08c7ff1e
|
@@ -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]{8,})
|
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'
|