apiVersion: v2 # NOT A CHART THIS REPOSITORY PUBLISHES. It is a YAML parser, and Helm is the # only one the runners have. # # ci/run-selector-match-test.sh has to read label selectors out of rendered # manifests, and the runners carry neither pyyaml nor yq - measured, and the # same constraint ci/run-trivy-config.sh and ci/run-quantity-render-test.sh # work under. The alternative to this chart is a YAML parser written in awk or # sed, and the failure mode of that is the one this repository removes rather # than adds: a parser that quietly reads nothing finds no selector, reports no # mismatch, and the test is green for a chart it never looked at. # # So the manifest fragment is handed to Helm as a VALUES FILE, and the one # template below prints it back as JSON, which python3 reads with its standard # library. A fragment Helm cannot parse makes helm exit 1, which is loud. # # It lives under ci/ and therefore has no publish workflow, no version-bump # requirement and no entry in change-app-version.yml: the chart-discovery loops # in this repository look for a Chart.yaml one level below the repo root, and # "ci" has none. The version below is meaningless for the same reason. name: yaml2json description: Internal CI helper - reprints a values file as JSON so python3 can read YAML without pyyaml type: application version: 0.0.0