#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail

chartdir=$1
yq=$2

for f in $chartdir/*.yaml; do
   $yq w --inplace --style=double $f 'metadata.annotations['include.release.openshift.io/self-managed-high-availability']' true
done

#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail

chartdir=$1
yq=$2

for f in $chartdir/*.yaml; do
   $yq w -d'*' --inplace --style=double $f 'metadata.annotations['include.release.openshift.io/self-managed-high-availability']' true
done

Add the release annotation to all documents in all files
Add the release annotation to all documents in all files
