Skip to content

Instantly share code, notes, and snippets.

@nak3
Last active September 2, 2019 02:31
Show Gist options
  • Save nak3/993c4d46f1c53e5511ed02c362cb2f73 to your computer and use it in GitHub Desktop.
Save nak3/993c4d46f1c53e5511ed02c362cb2f73 to your computer and use it in GitHub Desktop.
#!/bin/bash
function foo(){
cat | kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
name: config-mako
data:
# This should only be used by our performance automation.
environment: prod
additionalTags: "istio=$istio_version_escaped"
EOF
}
foo
echo "Finish script"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment