-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·23 lines (19 loc) · 920 Bytes
/
install.sh
File metadata and controls
executable file
·23 lines (19 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set -x
kubectl create namespace sscs
kubectl -n sscs apply -f ./infrastructure/rbac/admin-role.yaml \
-f ./infrastructure/rbac/clusterrolebinding.yaml
kubectl -n sscs apply -f ./infrastructure/rbac/webhook-role.yaml
kubectl -n sscs apply -f ./ci/pipeline.yaml
kubectl -n sscs apply -f ./ci/triggers.yaml
# expose ingress for webhook
kubectl -n sscs apply -f ./infrastructure/create-ingress.yaml
kubectl -n sscs apply -f ./infrastructure/create-webhook.yaml
# replate external dns
# kubectl -n sscs apply -f ./infrastructure/ingress-run.yaml
kubectl -n sscs apply -f ./infrastructure/ingress-nginx.yaml
# replace github token
kubectl -n sscs apply -f ./infrastructure/secret.yaml
# replace github org, user, external domain
kubectl -n sscs apply -f ./infrastructure/webhook-run.yaml
kubectl create namespace sscs-app
kubectl label namespaces sscs-app securesystemsengineering.connaisseur/webhook=validate