Skip to content

Add the yq binary to our kubectl images to provide yaml filtering

DJ Mountney requested to merge include-yq-kubectl into master

This version of yq is sourced in go, and is MIT licensed, and has at least 2 years of updates under it's belt.

Adds 2MB to our kubectl packagesize. But allows us to work with yaml templates from within bash.

This lets us do things like extract the value of specific yaml paths from a file. I am trying to use this to help us modify existing secrets with new generated keys in the helm charts. (We recently added a new key to the rails secrets, and want to allow users to upgrade without issues)

Part of: https://gitlab.com/charts/gitlab/issues/1326

Enables: https://gitlab.com/charts/gitlab/merge_requests/786

Edited by DJ Mountney

Merge request reports