X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Finstallation-guide.rst;fp=docs%2Finstallation-guide.rst;h=0f07760ee616719dd35a8a6a23013dab6876b12e;hb=4f9eafd85b51688708f6bf24e9334c532a331d8f;hp=af661a96b6c02a0951b5ace4e19494cca22de3b4;hpb=c34ab47848138150a1456be2fa9f82d7260e37b8;p=pti%2Fo2.git diff --git a/docs/installation-guide.rst b/docs/installation-guide.rst index af661a9..0f07760 100644 --- a/docs/installation-guide.rst +++ b/docs/installation-guide.rst @@ -179,7 +179,8 @@ The following instruction should be done outside of INF platform controller host kubectl apply -f smo-serviceaccount.yaml #export the smo account token data - export SMO_TOKEN_DATA=$(kubectl -n default describe secret $(kubectl -n default get secret | grep ${SMO_SERVICEACCOUNT} | awk '{print $1}') | grep "token:" | awk '{print $2}') + export SMO_SECRET=$(kubectl -n default get serviceaccounts $SMO_SERVICEACCOUNT -o jsonpath='{.secrets[0].name}') + export SMO_TOKEN_DATA=$(kubectl -n default get secrets $SMO_SECRET -o jsonpath='{.data.token}') #prepare the application config file cat <app.conf @@ -234,12 +235,14 @@ The following instruction should be done outside of INF platform controller host applicationconfig=`base64 app.conf -w 0` - caconfig=`base64 imsserver.crt -w 0` - serverkeyconfig=`base64 imsserver.key -w 0` + servercrt=`base64 imsserver.crt -w 0` + serverkey=`base64 imsserver.key -w 0` + smocacrt=`base64 smoca.crt -w 0` echo $applicationconfig - echo $caconfig - echo $serverkeyconfig + echo $servercrt + echo $serverkey + echo $smocacrt cat <o2service-override.yaml @@ -258,8 +261,9 @@ The following instruction should be done outside of INF platform controller host API_HOST_EXTERNAL_FLOATING: "${API_HOST_EXTERNAL_FLOATING}" applicationconfig: ${applicationconfig} - caconfig: ${caconfig} - serverkeyconfig: ${serverkeyconfig} + servercrt: ${servercrt} + serverkey: ${serverkey} + smocacrt: ${smocacrt} EOF