generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b6fa6c
commit 209fd5c
Showing
3 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
|
||
############################################################################## | ||
# NOTE: This script is used in the GitHub Actions workflow. | ||
# Make sure any changes are compatible with the existing workflows. | ||
############################################################################## | ||
|
||
# standard bash error handling | ||
set -o nounset # treat unset variables as an error and exit immediately. | ||
set -o errexit # exit immediately when a command fails. | ||
set -E # needs to be set if we want the ERR trap | ||
set -o pipefail # prevents errors in a pipeline from being masked | ||
|
||
#echo "### Create kyma-system namespace ###" | ||
#kubectl create namespace kyma-system --dry-run=client -o yaml | kubectl apply -f - | ||
|
||
echo "### Deploy Istio ###" | ||
kubectl label namespace kyma-system istio-injection=enabled --overwrite | ||
kubectl apply -f https://github.com/kyma-project/istio/releases/latest/download/istio-manager.yaml | ||
kubectl apply -f https://github.com/kyma-project/istio/releases/latest/download/istio-default-cr.yaml | ||
|
||
echo "### Deploy API Gateway ###" | ||
kubectl apply -f https://github.com/kyma-project/api-gateway/releases/latest/download/api-gateway-manager.yaml | ||
kubectl apply -f https://github.com/kyma-project/api-gateway/releases/latest/download/apigateway-default-cr.yaml | ||
|
||
echo "### Deploy Serverless ###" | ||
kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/serverless-operator.yaml | ||
kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/default-serverless-cr.yaml -n kyma-system | ||
|
||
echo "### Deploy NATS ###" | ||
kubectl apply -f https://github.com/kyma-project/nats-manager/releases/latest/download/nats-manager.yaml | ||
kubectl apply -f https://github.com/kyma-project/nats-manager/releases/latest/download/nats-default-cr.yaml | ||
|
||
echo "### Deploy Eventing ###" | ||
kubectl apply -f https://github.com/kyma-project/eventing-manager/releases/latest/download/eventing-manager.yaml | ||
kubectl apply -f https://github.com/kyma-project/eventing-manager/releases/latest/download/eventing-default-cr.yaml |