helm repo remove local
$ROOT_DIR/prepare-common-templates
-COMPONENTS="controlpanel a1controller a1simulator policymanagementservice informationservice rappcatalogueservice nonrtricgateway dmaapadapterservice dmaapmediatorservice helmmanager oruclosedlooprecovery odusliceassurance"
+COMPONENTS="controlpanel a1controller a1simulator policymanagementservice informationservice rappcatalogueservice nonrtricgateway dmaapadapterservice dmaapmediatorservice helmmanager orufhrecovery ransliceassurance"
for component in $COMPONENTS; do
echo "Packaging NONRTRIC component [$component]"
helm dep up $ROOT_DIR/../nonrtric/helm/$component
# This script to undeploy the NONRTRIC
-COMPONENTS="controlpanel a1controller a1simulator policymanagementservice informationservice rappcatalogueservice nonrtricgateway dmaapadapterservice dmaapmediatorservice helmmanager oruclosedlooprecovery odusliceassurance"
+COMPONENTS="controlpanel a1controller a1simulator policymanagementservice informationservice rappcatalogueservice nonrtricgateway dmaapadapterservice dmaapmediatorservice helmmanager orufhrecovery ransliceassurance"
RECIPE_NAMESPACE=$(kubectl get cm --all-namespaces | grep nonrtric-recipe | awk '{print $1}')
kubectl get configmap -n $RECIPE_NAMESPACE nonrtric-recipe -o jsonpath='{.data.recipe}' > /tmp/recipe.yaml
installDmaapadapterservice: true
installDmaapmediatorservice: true
installHelmmanager: true
- installOruclosedlooprecovery: true
- installOdusliceassurance: true
+ installOrufhrecovery: true
+ installRansliceassurance: true
volume1:
# Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
size: 2Gi
imagePullPolicy: Always
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: 'nonrtric-information-coordinator-service'
- tag: 1.2.1
+ name: 'nonrtric-plt-informationcoordinatorservice'
+ tag: 1.3.0
service:
allowHttp: true
httpName: http
imagePullPolicy: Always
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-a1-policy-management-service
- tag: 2.3.1
+ name: nonrtric-plt-a1policymanagementservice
+ tag: 2.4.0
service:
allowHttp: true
httpName: http
ingress:
enabled: true
-# A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
+# A1 Controller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
a1controller:
a1controller:
imagePullPolicy: Always
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
name: a1-simulator
- tag: 2.2.0
+ tag: 2.3.0
service:
allowHttp: true
httpName: http
imagePullPolicy: Always
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-r-app-catalogue
- tag: 1.0.2
+ name: nonrtric-plt-rappcatalogue
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: Always
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: 'nonrtric-dmaap-adaptor'
- tag: 1.0.1
+ name: 'nonrtric-plt-dmaapadapter'
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-dmaap-mediator-producer"
- tag: 1.0.1
+ name: "nonrtric-plt-dmaapmediatorproducer"
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: Always
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-helm-manager"
- tag: 1.1.1
+ name: "nonrtric-plt-helmmanager"
+ tag: 1.2.0
service:
httpName: http
internalPort1: 8112
size: 1Gi
storageClassName: helmmanager-storage
-odusliceassurance:
- odusliceassurance:
+ransliceassurance:
+ ransliceassurance:
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-o-du-slice-assurance"
- tag: 1.0.2
+ name: "nonrtric-rapp-ransliceassurance"
+ tag: 1.1.0
env:
mr_host: "http://onap-dmaap"
mr_port: "3904"
log_level: "Info"
polltime: "10"
-oruclosedlooprecovery:
- oruclosedlooprecovery:
+orufhrecovery:
+ orufhrecovery:
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-o-ru-closed-loop-consumer"
- tag: 1.0.1
+ name: "nonrtric-rapp-orufhrecovery"
+ tag: 1.1.0
env:
consumer_host: "http://mrproducer"
consumer_port: "8095"
sdnr_password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
oru_to_odu_map_file: "o-ru-to-o-du-map.csv"
log_level: "Info"
+
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
name: a1-simulator
- tag: 2.2.0
+ tag: 2.3.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-dmaap-adaptor"
- tag: 1.0.1
+ name: "nonrtric-plt-dmaapadapter"
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-dmaap-mediator-producer"
- tag: 1.0.1
+ name: "nonrtric-plt-dmaapmediatorproducer"
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-helm-manager"
- tag: 1.1.1
+ name: "nonrtric-plt-helmmanager"
+ tag: 1.2.0
service:
httpName: http
internalPort1: 8112
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-information-coordinator-service"
- tag: 1.2.1
+ name: "nonrtric-plt-informationcoordinatorservice"
+ tag: 1.3.0
service:
allowHttp: true
httpName: http
repository: "@local"
condition: nonrtric.installHelmmanager
- - name: odusliceassurance
+ - name: ransliceassurance
version: ~1.0.0
repository: "@local"
- condition: nonrtric.installOdusliceassurance
+ condition: nonrtric.installRansliceassurance
- - name: oruclosedlooprecovery
+ - name: orufhrecovery
version: ~1.0.0
repository: "@local"
- condition: nonrtric.installOruclosedlooprecovery
+ condition: nonrtric.installOrufhrecovery
installDmaapadapterservice: true
installDmaapmediatorservice: true
installHelmmanager: true
- installOruclosedlooprecovery: true
- installOdusliceassurance: true
+ installOrufhrecovery: true
+ installRansliceassurance: true
volume1:
size: 1Gi
apiVersion: v1
appVersion: "2.0.0"
description: A Helm chart for oru closed loop recovery
-name: oruclosedlooprecovery
+name: orufhrecovery
version: 1.0.0
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.name.oruclosedlooprecovery" . }}-configmap-config
+ name: {{ include "common.name.orufhrecovery" . }}-configmap-config
namespace: {{ include "common.namespace.nonrtric" . }}
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
kind: Deployment
apiVersion: apps/v1
metadata:
- name: {{ include "common.name.oruclosedlooprecovery" . }}
+ name: {{ include "common.name.orufhrecovery" . }}
namespace: {{ include "common.namespace.nonrtric" . }}
generation: 1
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
replicas: 1
selector:
matchLabels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
release: {{ .Release.Name }}
spec:
- hostname: {{ include "common.name.oruclosedlooprecovery" . }}
+ hostname: {{ include "common.name.orufhrecovery" . }}
containers:
- - name: {{ include "common.container.oruclosedlooprecovery" . }}
- image: {{ .Values.oruclosedlooprecovery.image.registry }}/{{ .Values.oruclosedlooprecovery.image.name }}:{{ .Values.oruclosedlooprecovery.image.tag }}
- imagePullPolicy: {{ .Values.oruclosedlooprecovery.imagePullPolicy }}
+ - name: {{ include "common.container.orufhrecovery" . }}
+ image: {{ .Values.orufhrecovery.image.registry }}/{{ .Values.orufhrecovery.image.name }}:{{ .Values.orufhrecovery.image.tag }}
+ imagePullPolicy: {{ .Values.orufhrecovery.imagePullPolicy }}
ports:
- containerPort: 80
protocol: TCP
env:
- name: CONSUMER_HOST
- value: "{{ .Values.oruclosedlooprecovery.env.consumer_host }}"
+ value: "{{ .Values.orufhrecovery.env.consumer_host }}"
- name: CONSUMER_PORT
- value: "{{ .Values.oruclosedlooprecovery.env.consumer_port }}"
+ value: "{{ .Values.orufhrecovery.env.consumer_port }}"
- name: CONSUMER_CERT_PATH
- value: "{{ .Values.oruclosedlooprecovery.env.consumer_cert_path }}"
+ value: "{{ .Values.orufhrecovery.env.consumer_cert_path }}"
- name: CONSUMER_KEY_PATH
- value: "{{ .Values.oruclosedlooprecovery.env.consumer_key_path }}"
+ value: "{{ .Values.orufhrecovery.env.consumer_key_path }}"
- name: INFO_COORD_ADDR
- value: "{{ .Values.oruclosedlooprecovery.env.info_coord_addr }}"
+ value: "{{ .Values.orufhrecovery.env.info_coord_addr }}"
- name: SDNR_ADDR
- value: "{{ .Values.oruclosedlooprecovery.env.sdnr_address }}"
+ value: "{{ .Values.orufhrecovery.env.sdnr_address }}"
- name: SDNR_USER
- value: "{{ .Values.oruclosedlooprecovery.env.sdnr_user }}"
+ value: "{{ .Values.orufhrecovery.env.sdnr_user }}"
- name: SDNR_PASSWORD
- value: "{{ .Values.oruclosedlooprecovery.env.sdnr_password }}"
+ value: "{{ .Values.orufhrecovery.env.sdnr_password }}"
- name: ORU_TO_ODU_MAP_FILE
- value: "{{ .Values.oruclosedlooprecovery.env.oru_to_odu_map_file }}"
+ value: "{{ .Values.orufhrecovery.env.oru_to_odu_map_file }}"
- name: LOG_LEVEL
- value: "{{ .Values.oruclosedlooprecovery.env.log_level }}"
+ value: "{{ .Values.orufhrecovery.env.log_level }}"
volumeMounts:
- - name: {{ include "common.name.oruclosedlooprecovery" . }}-oru-config
+ - name: {{ include "common.name.orufhrecovery" . }}-oru-config
mountPath: "/app/o-ru-to-o-du-map.csv"
subPath: "o-ru-to-o-du-map.csv"
volumes:
- - name: {{ include "common.name.oruclosedlooprecovery" . }}-oru-config
+ - name: {{ include "common.name.orufhrecovery" . }}-oru-config
configMap:
- name: {{ include "common.name.oruclosedlooprecovery" . }}-configmap-config
+ name: {{ include "common.name.orufhrecovery" . }}-configmap-config
kind: Service
apiVersion: v1
metadata:
- name: {{ include "common.name.oruclosedlooprecovery" . }}
+ name: {{ include "common.name.orufhrecovery" . }}
namespace: {{ include "common.namespace.nonrtric" . }}
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
ports:
- {{if eq .Values.oruclosedlooprecovery.service.allowHttp true -}}
- - name: {{ index .Values.oruclosedlooprecovery.service.httpName }}
- port: {{ .Values.oruclosedlooprecovery.service.port }}
+ {{if eq .Values.orufhrecovery.service.allowHttp true -}}
+ - name: {{ index .Values.orufhrecovery.service.httpName }}
+ port: {{ .Values.orufhrecovery.service.port }}
protocol: TCP
{{- end }}
selector:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.oruclosedlooprecovery" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.orufhrecovery" . }}
release: {{ .Release.Name }}
type: ClusterIP
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
-oruclosedlooprecovery:
+orufhrecovery:
imagePullPolicy: IfNotPresent
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-o-ru-closed-loop-consumer
- tag: 1.0.1
+ name: nonrtric-rapp-orufhrecovery-consumer
+ tag: 1.1.0
service:
httpName: web
allowHttp: true
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: nonrtric-a1-policy-management-service
- tag: 2.3.1
+ name: nonrtric-plt-a1policymanagementservice
+ tag: 2.4.0
service:
allowHttp: true
httpName: http
apiVersion: v1
appVersion: "2.0.0"
description: A Helm chart for odu slice assurance
-name: odusliceassurance
+name: ransliceassurance
version: 1.0.0
kind: Deployment
apiVersion: apps/v1
metadata:
- name: {{ include "common.name.odusliceassurance" . }}
+ name: {{ include "common.name.ransliceassurance" . }}
namespace: {{ include "common.namespace.nonrtric" . }}
generation: 1
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.odusliceassurance" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.ransliceassurance" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
replicas: 1
selector:
matchLabels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.odusliceassurance" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.ransliceassurance" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.odusliceassurance" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.ransliceassurance" . }}
release: {{ .Release.Name }}
spec:
- hostname: {{ include "common.name.odusliceassurance" . }}
+ hostname: {{ include "common.name.ransliceassurance" . }}
containers:
- - name: {{ include "common.container.odusliceassurance" . }}
- image: {{ .Values.odusliceassurance.image.registry }}/{{ .Values.odusliceassurance.image.name }}:{{ .Values.odusliceassurance.image.tag }}
- imagePullPolicy: {{ .Values.odusliceassurance.imagePullPolicy }}
+ - name: {{ include "common.container.ransliceassurance" . }}
+ image: {{ .Values.ransliceassurance.image.registry }}/{{ .Values.ransliceassurance.image.name }}:{{ .Values.ransliceassurance.image.tag }}
+ imagePullPolicy: {{ .Values.ransliceassurance.imagePullPolicy }}
ports:
- containerPort: 80
protocol: TCP
env:
- name: MR_HOST
- value: "{{ .Values.odusliceassurance.env.mr_host }}"
+ value: "{{ .Values.ransliceassurance.env.mr_host }}"
- name: MR_PORT
- value: "{{ .Values.odusliceassurance.env.mr_port }}"
+ value: "{{ .Values.ransliceassurance.env.mr_port }}"
- name: SDNR_ADDRESS
- value: "{{ .Values.odusliceassurance.env.sdnr_address }}"
+ value: "{{ .Values.ransliceassurance.env.sdnr_address }}"
- name: SDNR_USER
- value: "{{ .Values.odusliceassurance.env.sdnr_user }}"
+ value: "{{ .Values.ransliceassurance.env.sdnr_user }}"
- name: SDNR_PASSWORD
- value: "{{ .Values.odusliceassurance.env.sdnr_password }}"
+ value: "{{ .Values.ransliceassurance.env.sdnr_password }}"
- name: LOG_LEVEL
- value: "{{ .Values.odusliceassurance.env.log_level }}"
+ value: "{{ .Values.ransliceassurance.env.log_level }}"
- name: POLLTIME
- value: "{{ .Values.odusliceassurance.env.polltime }}"
+ value: "{{ .Values.ransliceassurance.env.polltime }}"
kind: Service
apiVersion: v1
metadata:
- name: {{ include "common.name.odusliceassurance" . }}
+ name: {{ include "common.name.ransliceassurance" . }}
namespace: {{ include "common.namespace.nonrtric" . }}
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.odusliceassurance" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.ransliceassurance" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
ports:
- {{if eq .Values.odusliceassurance.service.allowHttp true -}}
- - name: {{ index .Values.odusliceassurance.service.httpName }}
- port: {{ .Values.odusliceassurance.service.port }}
+ {{if eq .Values.ransliceassurance.service.allowHttp true -}}
+ - name: {{ index .Values.ransliceassurance.service.httpName }}
+ port: {{ .Values.ransliceassurance.service.port }}
protocol: TCP
{{- end }}
selector:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.odusliceassurance" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.ransliceassurance" . }}
release: {{ .Release.Name }}
type: ClusterIP
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
-odusliceassurance:
+ransliceassurance:
imagePullPolicy: IfNotPresent
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-o-du-slice-assurance
- tag: 1.0.2
+ name: nonrtric-rapp-ransliceassurance
+ tag: 1.1.0
service:
httpName: web
allowHttp: true
imagePullPolicy: IfNotPresent
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-r-app-catalogue
- tag: 1.0.2
+ name: nonrtric-plt-rappcatalogue
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
# limitations under the License. #
################################################################################
-{{- define "common.name.oruclosedlooprecovery" -}}
- {{- printf "oruclosedlooprecovery" -}}
+{{- define "common.name.orufhrecovery" -}}
+ {{- printf "orufhrecovery" -}}
{{- end -}}
-{{- define "common.container.oruclosedlooprecovery" -}}
- {{- $name := ( include "common.name.oruclosedlooprecovery" . ) -}}
+{{- define "common.container.orufhrecovery" -}}
+ {{- $name := ( include "common.name.orufhrecovery" . ) -}}
{{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
# limitations under the License. #
################################################################################
-{{- define "common.name.odusliceassurance" -}}
- {{- printf "odusliceassurance" -}}
+{{- define "common.name.ransliceassurance" -}}
+ {{- printf "ransliceassurance" -}}
{{- end -}}
-{{- define "common.container.odusliceassurance" -}}
- {{- $name := ( include "common.name.odusliceassurance" . ) -}}
+{{- define "common.container.ransliceassurance" -}}
+ {{- $name := ( include "common.name.ransliceassurance" . ) -}}
{{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-dmaap-adaptor"
- tag: 1.0.0
+ name: "nonrtric-plt-dmaapadapter"
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-dmaap-mediator-producer"
- tag: 1.0.0
+ name: "nonrtric-plt-dmaapmediatorproducer"
+ tag: 1.1.0
service:
allowHttp: true
httpName: http
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-helm-manager"
- tag: 1.1.0
+ name: "nonrtric-plt-helmmanager"
+ tag: 1.2.0
service:
httpName: http
internalPort1: 8112
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: "nonrtric-information-coordinator-service"
- tag: 1.2.0
+ name: "nonrtric-plt-informationcoordinatorservice"
+ tag: 1.3.0
service:
allowHttp: true
httpName: http
replicaCount: 1
image:
repository: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-o-ru-closed-loop-recovery
- tag: 1.0.0
+ name: nonrtric-rapp-orufhrecovery
+ tag: 1.1.0
pullPolicy: IfNotPresent
global:
imagePullPolicy: IfNotPresent
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
- name: nonrtric-a1-policy-management-service
- tag: 2.3.0
+ name: nonrtric-plt-a1policymanagementservice
+ tag: 2.4.0
service:
type: NodePort
allowHttp: true
imagePullPolicy: IfNotPresent
image:
registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
- name: nonrtric-r-app-catalogue
- tag: 1.0.1
+ name: nonrtric-plt-rappcatalogue
+ tag: 1.1.0
service:
allowHttp: true
httpName: http