You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update pattern infrastructure to upstream patternizer
Sync pattern.sh and Makefile-common with upstream reference from:
https://github.com/validatedpatterns/patternizer/tree/main/resources
pattern.sh changes (full replacement):
- Add set -euo pipefail strict mode for fail-fast behavior
- Convert PODMAN_ARGS, PKI_HOST_MOUNT_ARGS, EXTRA_ARGS from strings to bash arrays
- Add :- defaults on all env var checks for set -u compatibility
- Fix KUBECONFIG regex: ^/Users/chbutler* → ^"${HOME}" (was matching wrong char)
- Add error handling fallbacks for podman --version and podman system connection list
- Quote all variable expansions throughout
- Use "$1" instead of "$@" in version() function
Makefile-common changes:
- Change ANSIBLE_STDOUT_CALLBACK default from null to rhvp.cluster_utils.readable
- Change ANSIBLE_RUN from := to ?= to allow environment override
- Replace stub uninstall target with experimental implementation
(calls rhvp.cluster_utils.uninstall playbook)
Improves robustness, maintainability, and alignment with VP framework best practices.
0 commit comments