#!/bin/bash # this kustomize transformer plugin modifies resources with yq expressions. # the plugin accepts the following manifest structure: # ```yaml # targets: # - # expression: # ``` # where each `target filter` is a partial resource manifest. the `yq expression` # is applied to any resources that match *all attributes* in any target filter. set -euo pipefail # collect inputs resource_list="$(