This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@ load("@ytt:data", "data") | |
#@overlay/match by=overlay.all | |
--- | |
routes: | |
#@ for route in data.values.unwanted_routes: | |
#@overlay/match by=overlay.subset(route), expects="1+" | |
#@overlay/remove | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
set -u | |
set -o pipefail | |
# Prompt for GOVC environment variables if not already set | |
: "${GOVC_URL:?Please enter the vSphere URL (e.g., https://your-vsphere-server/sdk): }" | |
: "${GOVC_USERNAME:[email protected]}" | |
: "${GOVC_PASSWORD:=VMware1!}" |