This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
|
||||
if [ "$IMAGE_TAG" == "" ]; then
|
||||
echo "Make sure IMAGE_TAG is set"
|
||||
@@ -18,6 +20,7 @@ kubectl create namespace $NAMESPACE \
|
||||
kubectl -f - apply
|
||||
|
||||
|
||||
sed -i 's,%TAG%,'$IMAGE_TAG','g content/about.md
|
||||
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
|
||||
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
|
||||
kubectl apply -f - -n $NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user