Decode gzip compressed base64 encoded data from MachineConfig

Solution Verified - Updated -

Issue

  • Getting garbage values when gzip compressed source data from MachineConfig is decoded using base64 -d.
# echo 'H4sIAAAAAAAC/0zMMU7EMBCF4d6nSEN<..>bn+gVJcpvAfAAD//wnBcCDhAAAA' | base64 -d
<..>
<Random unreadable garbage data in the output>
<..>
  • How to decode gzip compressed base64 encoded data from MachineConfig?

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content