File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1818 data : |
1919 my super secret password is abc123
2020 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
2134 ---
2235apiVersion : troubleshoot.replicated.com/v1beta1
2336kind : Redactor
3245 - name : all files # as no file is specified, this redactor will run against all files
3346 regex :
3447 - (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