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=9854ef67cc1d4fa28041bb781602e4f7080b9d26;hb=51aeaa3c3808c2288ab29d0b227fb04759f17aca;hp=1e0a465559193e719a1ac0c5c112fd7c48c0926e;hpb=94e6f93c3434e5f9a9529246d97d2666a2479299;p=pti%2Fo2.git diff --git a/docs/installation-guide.rst b/docs/installation-guide.rst index 1e0a465..9854ef6 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