forked from cloud-ark/kubeprovenance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-provenance-artifacts.sh
executable file
·22 lines (20 loc) · 1.24 KB
/
deploy-provenance-artifacts.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#kubectl.sh create -f artifacts/example/ns.yaml
#kubectl.sh create configmap -n provenance kind-compositions-config-map --from-file=kind_compositions.yaml
#kubectl.sh create -f artifacts/example/sa.yaml -n provenance
#kubectl.sh create -f artifacts/example/auth-delegator.yaml -n kube-system
#kubectl.sh create -f artifacts/example/auth-reader.yaml -n kube-system
#kubectl.sh create -f artifacts/example/grant-cluster-admin.yaml
#kubectl.sh create -f artifacts/example/rc.yaml -n provenance
#kubectl.sh create -f artifacts/example/service.yaml -n provenance
#kubectl.sh create -f artifacts/example/apiservice.yaml
#FOR MINIKUBE UNCOMMENT THESE: todo: code to automate this
kubectl create -f artifacts/example/ns.yaml
kubectl create configmap -n provenance kind-compositions-config-map --from-file=kind_compositions.yaml
kubectl create -f artifacts/example/sa.yaml -n provenance
kubectl create -f artifacts/example/auth-delegator.yaml -n kube-system
kubectl create -f artifacts/example/auth-reader.yaml -n kube-system
kubectl create -f artifacts/example/grant-cluster-admin.yaml
kubectl create -f artifacts/example/rc.yaml -n provenance
kubectl create -f artifacts/example/service.yaml -n provenance
kubectl create -f artifacts/example/apiservice.yaml