From: Zhe Huang Date: Wed, 6 May 2020 17:24:58 +0000 (-0400) Subject: Add RBAC roles, fix DANM network bugs X-Git-Tag: f-release~112 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=e2139a072cdf20d1919414d8a64d51e6f3e9fc50;p=it%2Fdep.git Add RBAC roles, fix DANM network bugs Signed-off-by: Zhe Huang Change-Id: I49a7745ded13c248bdfc704d7c1d169c817b1482 --- diff --git a/ric-aux/bin/install b/ric-aux/bin/install index 917c9420..8a1e8494 100755 --- a/ric-aux/bin/install +++ b/ric-aux/bin/install @@ -86,10 +86,11 @@ for f in $NODENAME; do LABEL=$(kubectl describe node $f | grep "local-storage=enable") if [ ! -z "$LABEL" ]; then LABELFOUND=true + echo "Found lable \"local-storage=enable\" at node $f" fi done -FOUND_STORAGECLASS=$(grep storageclass $OVERRIDEYAML) +FOUND_STORAGECLASS=$(grep -w storageclass $OVERRIDEYAML) if ! $LABELFOUND && [ -z "$FOUND_STORAGECLASS" ]; then @@ -138,6 +139,7 @@ for f in $NODENAME; do LABEL=$(kubectl describe node $f | grep "portal-storage=enable") if [ ! -z "$LABEL" ]; then LABELFOUND=true + echo "Found lable \"portal-storage=enable\" at node $f" fi done @@ -167,6 +169,7 @@ fi + echo Add cluster roles cat >ricaux-role.yaml <