Now that we have multi-platform images, we need a way to easily deploy
them. This involves changing the image tag. kustomize edit is often
used to bump image tags, but we can do better providing it directly in
the unified CUE configuration.
This patch modifies the builder to unify user data *.json files
recursively under userdata/ into the #UserData definition of the holos
entrypoint.
This is to support automation that writes simple json files to version
control, executes holos render platform, then commits and pushes the
results for git ops to take over deployment.
Now that we have multi-platform images, we need a way to easily deploy them. This involves changing the image tag. kustomize edit is often used to bump image tags, but we can do better providing it directly in the unified CUE configuration.
This patch modifies the builder to unify user data *.json files recursively under userdata/ into the #UserData definition of the holos entrypoint.
This is to support automation that writes simple json files to version control, executes holos render platform, then commits and pushes the results for git ops to take over deployment.
Closes: #210