File tree 1 file changed +18
-0
lines changed 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 18
18
data : |
19
19
my super secret password is abc123
20
20
another redaction will go here
21
+ - data :
22
+ collectorName : yaml-data.yaml
23
+ name : data
24
+ data : |
25
+ abc:
26
+ xyz:
27
+ - hello
28
+ - world: "these are removed"
29
+ bcd:
30
+ abc:
31
+ xyz:
32
+ - these
33
+ - remain
21
34
---
22
35
apiVersion : troubleshoot.replicated.com/v1beta1
23
36
kind : Redactor
32
45
- name : all files # as no file is specified, this redactor will run against all files
33
46
regex :
34
47
- (another)(?P<mask>.*)(here) # this will replace anything between the strings `another` and `here` with `***HIDDEN***`
48
+ multiLine :
49
+ - selector : ' S3_ENDPOINT' # remove the value in lines following those that contain the string S3_ENDPOINT
50
+ redactor : ' ("value": ").*(")'
51
+ yaml :
52
+ - " abc.xyz.*" # redact all items in the array at key xyz within key abc in yaml documents
You can’t perform that action at this time.
0 commit comments