prod values
This commit is contained in:
12
bootstrap.sh
12
bootstrap.sh
@@ -2,7 +2,7 @@
|
||||
# in case of $'\r': command not found error, run command below first
|
||||
# sed -i 's/\r$//' ./bootstrap.sh
|
||||
|
||||
CLUSTER="${1:?Usage: ./bootstrap.sh <cluster> (eu|us)}"
|
||||
CLUSTER="${1:?Usage: ./bootstrap.sh <cluster> (upc-dev|upc-prod)}"
|
||||
|
||||
echo "running $0 for cluster: ${CLUSTER}..."
|
||||
|
||||
@@ -17,18 +17,18 @@ echo "Bootstrapping cluster: ${clusterName} (${CLUSTER})..."
|
||||
Bootstrap()
|
||||
{
|
||||
ArgoCd
|
||||
# Github
|
||||
# Gitea
|
||||
}
|
||||
|
||||
|
||||
############################################################
|
||||
# Github #
|
||||
# Gitea #
|
||||
############################################################
|
||||
Github()
|
||||
Gitea()
|
||||
{
|
||||
echo "Installing secret..."
|
||||
kubectl apply -f private/github-${CLUSTER}.yaml
|
||||
kubectl apply -f private/main-${CLUSTER}.key
|
||||
kubectl apply -f private/gitea-repo-main.yaml
|
||||
kubectl apply -f private/main.key
|
||||
}
|
||||
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user