...
Code Block |
---|
language | yml |
---|
theme | Midnight |
---|
title | Requirementsvalues.yaml |
---|
|
imagePullPolicy: IfNotPresent
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
name: nonrtric-a1-controller
tag: 1.7.4
replicaCount: 1
service:
internalPort: 8181
externalPort: 8282 |
Packaging & Repo update
All the logic behind the helm packaging & repo update are kept under deploy-nonrtric.sh file. This script crawls through the nonrtric directory and packages all the dependencies charts & copy it to the helm local repo.
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | deploy-nonrtric |
---|
|
# Package nonrtric-common and serve it using Helm local repo
HELM_HOME=$(helm home)
COMMON_CHART_VERSION=$(cat $ROOT_DIR/../ric-common/Common-Template/helm/nonrtric-common/Chart.yaml | grep version | awk '{print $2}')
helm package -d /tmp $ROOT_DIR/../ric-common/Common-Template/helm/nonrtric-common
cp /tmp/nonrtric-common-$COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/ |