-
Notifications
You must be signed in to change notification settings - Fork 136
/
deploy.sh
executable file
·13 lines (11 loc) · 1011 Bytes
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e
KNMSTATE_VERSION="v0.12.0"
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/namespace.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/service_account.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/role.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/role_binding.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/nmstate_v1alpha1_nodenetworkstate_crd.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/nmstate_v1alpha1_nodenetworkconfigurationpolicy_crd.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/scc.yaml
oc create -f https://github.com/nmstate/kubernetes-nmstate/releases/download/${KNMSTATE_VERSION}/operator.yaml