Skip to content

Instantly share code, notes, and snippets.

@michalpenka
Last active March 23, 2020 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalpenka/217f3bedb15e7095ab1eeb6cd065162a to your computer and use it in GitHub Desktop.
Save michalpenka/217f3bedb15e7095ab1eeb6cd065162a to your computer and use it in GitHub Desktop.
$url = "https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst.exe.exec"
wget $url -UseBasicParsing -OutFile envsubst.exe
$source = "_build_pipeline\KubernetesDeploymentManifest\kubernetes-deployment.yml"
$dest = "kubernetes-deployment-interpolated.yml"
Get-Content $source | .\envsubst.exe > $dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment