Decode gzip compressed base64 encoded data from MachineConfig
Issue
- Getting garbage values when
gzip
compressedsource
data fromMachineConfig
is decoded usingbase64 -d
.
# echo 'H4sIAAAAAAAC/0zMMU7EMBCF4d6nSEN<..>bn+gVJcpvAfAAD//wnBcCDhAAAA' | base64 -d
<..>
<Random unreadable garbage data in the output>
<..>
- How to decode
gzip
compressedbase64
encoded data fromMachineConfig
?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.