Note, much of this is geared for OpenShift clusters, and the OpenShift Virtualization and OpenShift GitOps products. Where possible, I have tried to enable scripted discovery of namespaces and CR names to account for upstream/downstream, but where assumptions must be made, they have been made in favor of OpenShift.
This directory contains the following helpers:
build-resourcecustomizations.sh
Builds and prints on stdout updates to the ArgoCD custom resource to include
health scripts (in Lua) for KubeVirt custom resources. This allows ArgoCD to
better report the sync status of resources like DataVolumes and VMs that do
not immediately become available. Expects *_health.lua
scripts in the current
directory with filenames in the form:
<apiVersion (only the vendor part before the /)>_<Resource Name>_health.lua
install.sh
Runs any customizations required (this has changed as other customizations were worked around via Kubernetes resources instead of external commands)