Skip to content

Commit

Permalink
[microk8s] Obfuscate token in client.config
Browse files Browse the repository at this point in the history
Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali authored and TurboTurtle committed Nov 4, 2024
1 parent f4cb83e commit f43d0a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sos/report/plugins/microk8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def postproc(self):
"certificate-authority-data",
"client-certificate-data",
"client-key-data",
"token",
]

key_regex = fr'(^\s*({"|".join(protect_keys)})\s*:\s*)(.*)'
Expand Down

0 comments on commit f43d0a0

Please sign in to comment.