Code Review
/
iec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upstream IEC type1 info about Macbin
[iec.git]
/
src
/
foundation
/
scripts
/
setup-cni.sh
diff --git
a/src/foundation/scripts/setup-cni.sh
b/src/foundation/scripts/setup-cni.sh
index
30bc841
..
55953a2
100755
(executable)
--- a/
src/foundation/scripts/setup-cni.sh
+++ b/
src/foundation/scripts/setup-cni.sh
@@
-16,11
+16,7
@@
SCRIPTS_DIR=$(dirname "${BASH_SOURCE[0]}")
install_calico(){
# Install the Etcd Database
install_calico(){
# Install the Etcd Database
- if [ "$(uname -m)" == 'aarch64' ]; then
- ETCD_YAML=etcd-arm64.yaml
- else
- ETCD_YAML=etcd-amd64.yaml
- fi
+ ETCD_YAML=etcd.yaml
sed -i "s/10.96.232.136/${CLUSTER_IP}/" "${SCRIPTS_DIR}/cni/calico/${ETCD_YAML}"
kubectl apply -f "${SCRIPTS_DIR}/cni/calico/${ETCD_YAML}"
sed -i "s/10.96.232.136/${CLUSTER_IP}/" "${SCRIPTS_DIR}/cni/calico/${ETCD_YAML}"
kubectl apply -f "${SCRIPTS_DIR}/cni/calico/${ETCD_YAML}"