How to convert base64 artifact to json/yaml in spinnaker?

2/7/2020

I'm trying to use the SpEL in Spinnaker pipeline to convert an artifact from base64 to JSON because I want to retrieve some field from that manifest. Any suggestions on how to do that?

-- user11660353
kubernetes-helm
pipeline
spinnaker

1 Answer

2/8/2020

Use #fromBase64(string) and #readJson(string) helpers

-- RocketRaccoon
Source: StackOverflow