#!/bin/bash set -ueo pipefail readonly main_conf=$(cat conf/main.conf | base64 -w0) readonly http_conf=$(cat conf/http.conf | base64 -w0) readonly stream_conf=$(cat conf/stream.conf | base64 -w0) echo "Replacing nginx configuration ..." kubectl replace --force -f - <