Install Uninstall Script
Added the Helm Chart for Policy Management Service.
NONRTRIC-176
Issue-ID: NONRTRIC-178
Change-Id: I65518b733e244a08c09cbfcb5e0ac0ea09b9a0bf
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
diff --git a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml
new file mode 100644
index 0000000..59a08ed
--- /dev/null
+++ b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml
@@ -0,0 +1,50 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+#-------------------------------------------------------------------------
+# Global common setting
+#-------------------------------------------------------------------------
+
+common:
+ releasePrefix: r2
+
+# If a local docker registry is used, please specify it using the following option
+# localregistry: nexus3.o-ran-sc.org:10004
+
+# Change the overall image pull policy using the following option
+# pullpolicy: IfNotPresent
+
+# Change the namespaces using the following options
+ namespace:
+ nonrtric: nonrtric
+
+# Specify the number of NEARRT-RIC instance
+ simulatorinstance:
+ count: 1
+
+a1simulator:
+ imagePullPolicy: IfNotPresent
+ image:
+ registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
+ name: near-rt-ric-simulator
+ tag: 1.0.1
+
+policymanagementservice:
+ imagePullPolicy: IfNotPresent
+ image:
+ registry: "nexus3.o-ran-sc.org:10004/o-ran-sc"
+ name: nonrtric-policy-agent
+ tag: 1.0.0
diff --git a/nonrtric/bin/install b/nonrtric/bin/install
new file mode 100755
index 0000000..56376fa
--- /dev/null
+++ b/nonrtric/bin/install
@@ -0,0 +1,84 @@
+#!/bin/bash
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+
+while [ -n "$1" ]; do # while loop starts
+
+ case "$1" in
+
+ -f) OVERRIDEYAML=$2
+ shift
+ ;;
+ -c) LIST_OF_COMPONENTS=$2
+ shift
+ ;;
+ *) echo "Option $1 not recognized" ;; # In case you typed a different option other than a,b,c
+
+ esac
+
+ shift
+
+done
+
+
+if [ -z "$OVERRIDEYAML" ];then
+ echo "****************************************************************************************************************"
+ echo " ERROR "
+ echo "****************************************************************************************************************"
+ echo "RIC deployment without deployment recipe is currently disabled. Please specify an recipe with the -f option."
+ echo "****************************************************************************************************************"
+ exit 1
+fi
+
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
+COMMON_BLOCK=$(cat $OVERRIDEYAML | awk '/^common:/{getline; while ($0 ~ /^ +.*|^ *$/) {print $0; if (getline == 0) {break}}}')
+NAMESPACE_BLOCK=$(cat $OVERRIDEYAML | awk '/^ namespace:/{getline; while ($0 ~ /^ .*|^ *$/) {print $0; if (getline == 0) {break}}}')
+NONRTRIC_NAMESPACE=$(echo "$NAMESPACE_BLOCK" | awk '/^ *nonrtric:/{print $2}')
+RELEASE_PREFIX=$(echo "$COMMON_BLOCK" | awk '/^ *releasePrefix:/{print $2}')
+SIMULATOR_BLOCK=$(cat $OVERRIDEYAML | awk '/^ simulatorinstance:/{getline; while ($0 ~ /^ +.*|^ *$/) {print $0; if (getline == 0) {break}}}')
+SIMULATOR_COUNT=$(echo "$SIMULATOR_BLOCK" | awk '/^ *count:/{print $2}')
+COMPONENTS=${LIST_OF_COMPONENTS:-"a1simulator policymanagementservice"}
+echo "SIMULATOR_COUNT [$SIMULATOR_COUNT]"
+
+if ! kubectl get ns ${NONRTRIC_NAMESPACE:-nonrtric}> /dev/null 2>&1; then
+ kubectl create ns ${NONRTRIC_NAMESPACE:-nonrtric}
+fi
+if ! kubectl get ns onap > /dev/null 2>&1; then
+ kubectl create ns onap
+fi
+
+kubectl create configmap -n ${NONRTRIC_NAMESPACE:-nonrtric} nonrtric-recipe --from-file=recipe=$OVERRIDEYAML
+
+echo "Deploying NONRTRIC components [$COMPONENTS]"
+
+for component in $COMPONENTS; do
+ helm dep up $DIR/../helm/$component
+ case "$component" in
+ a1simulator)
+ for((i=1;i<=$SIMULATOR_COUNT;i++)) ; do
+ echo "CREATING SIMUALATOR INSTANCE $i"
+ helm install -f $OVERRIDEYAML --namespace "${NONRTRIC_NAMESPACE:-nonrtric}" --name "${RELEASE_PREFIX}-$component-$i" --set a1simulator.instanceName=a1-sim-$i $DIR/../helm/$component
+ done
+ ;;
+ *)
+ helm install -f $OVERRIDEYAML --namespace "${NONRTRIC_NAMESPACE:-nonrtric}" --name "${RELEASE_PREFIX}-$component" $DIR/../helm/$component
+
+ esac
+
+done
diff --git a/nonrtric/bin/uninstall b/nonrtric/bin/uninstall
new file mode 100755
index 0000000..23d2fc3
--- /dev/null
+++ b/nonrtric/bin/uninstall
@@ -0,0 +1,54 @@
+#!/bin/bash
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+
+COMPONENTS="a1simulator policymanagementservice"
+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
+
+if [ ! -s /tmp/recipe.yaml ]; then
+ echo "NONRTRIC recipe is not found. Are you sure it's deployed successfully?"
+ exit 0
+fi
+
+COMMON_BLOCK=$(cat /tmp/recipe.yaml | awk '/^common:/{getline; while ($0 ~ /^ +.*|^ *$/) {print $0; if (getline == 0) {break}}}')
+NAMESPACE_BLOCK=$(cat /tmp/recipe.yaml | awk '/^ namespace:/{getline; while ($0 ~ /^ .*|^ *$/) {print $0; if (getline == 0) {break}}}')
+NONRTRIC_NAMESPACE=$(echo "$NAMESPACE_BLOCK" | awk '/^ *nonrtric:/{print $2}')
+RELEASE_PREFIX=$(echo "$COMMON_BLOCK" | awk '/^ *releasePrefix:/{print $2}')
+SIMULATOR_BLOCK=$(cat /tmp/recipe.yaml | awk '/^ simulatorinstance:/{getline; while ($0 ~ /^ +.*|^ *$/) {print $0; if (getline == 0) {break}}}')
+SIMULATOR_COUNT=$(echo "$SIMULATOR_BLOCK" | awk '/^ *count:/{print $2}')
+
+echo "Undeploying NONRTRIC components [$COMPONENTS]"
+
+
+for component in $COMPONENTS; do
+ case "$component" in
+ a1simulator)
+ for((i=1;i<=$SIMULATOR_COUNT;i++)) ; do
+ echo "Undeploying SIMUALATOR INSTANCE $i"
+ helm delete --purge ${RELEASE_PREFIX}-$component-$i
+ done
+ ;;
+ *)
+ helm delete --purge ${RELEASE_PREFIX}-$component
+
+ esac
+done
+
+kubectl delete cm -n ${NONRTRIC_NAMESPACE:-nonrtric} nonrtric-recipe
+
+kubectl delete ns ${NONRTRIC_NAMESPACE:-nonrtric}
diff --git a/nonrtric/helm/a1simulator/templates/_a1simulator.tpl b/nonrtric/helm/a1simulator/templates/_a1simulator.tpl
index ad1ee97..75a23cd 100644
--- a/nonrtric/helm/a1simulator/templates/_a1simulator.tpl
+++ b/nonrtric/helm/a1simulator/templates/_a1simulator.tpl
@@ -18,6 +18,10 @@
{{- printf "a1simulator" -}}
{{- end -}}
+{{- define "common.namespace.nonrtric" -}}
+ {{- printf "nonrtric" -}}
+{{- end -}}
+
{{- define "common.fullname.a1simulator" -}}
{{- $name := ( include "common.name.a1simulator" . ) -}}
{{- $namespace := "nonrtric" -}}
diff --git a/nonrtric/helm/a1simulator/templates/deployment.yaml b/nonrtric/helm/a1simulator/templates/deployment.yaml
index 998d6bf..2b399ae 100644
--- a/nonrtric/helm/a1simulator/templates/deployment.yaml
+++ b/nonrtric/helm/a1simulator/templates/deployment.yaml
@@ -17,11 +17,11 @@
kind: Deployment
apiVersion: apps/v1
metadata:
- name: deployment-{{ .Values.a1simulator.instanceName }}
- namespace: nonrtric
+ name: {{ .Release.Name }}-{{ .Values.a1simulator.instanceName }}
+ namespace: {{ include "common.namespace.nonrtric" . }}
generation: 1
labels:
- app: nonrtric-{{ include "common.name.a1simulator" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
@@ -31,12 +31,12 @@
replicas: 1
selector:
matchLabels:
- app: nonrtric-{{ include "common.name.a1simulator" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
- app: nonrtric-{{ include "common.name.a1simulator" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
release: {{ .Release.Name }}
spec:
hostname: {{ include "common.name.a1simulator" . }}
diff --git a/nonrtric/helm/a1simulator/templates/service.yaml b/nonrtric/helm/a1simulator/templates/service.yaml
index 3bc1399..4bcde79 100644
--- a/nonrtric/helm/a1simulator/templates/service.yaml
+++ b/nonrtric/helm/a1simulator/templates/service.yaml
@@ -18,9 +18,9 @@
apiVersion: v1
metadata:
name: {{ .Values.a1simulator.instanceName }}
- namespace: nonrtric
+ namespace: {{ include "common.namespace.nonrtric" . }}
labels:
- app: nonrtric-{{ include "common.name.a1simulator" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
@@ -31,6 +31,6 @@
port: {{ include "common.serviceport.a1simulator.http" . }}
targetPort: {{ include "common.serviceport.a1simulator.http" . }}
selector:
- app: nonrtric-{{ include "common.name.a1simulator" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
release: {{ .Release.Name }}
type: ClusterIP
diff --git a/nonrtric/helm/policymanagementservice/.helmignore b/nonrtric/helm/policymanagementservice/.helmignore
new file mode 100644
index 0000000..50af031
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/.helmignore
@@ -0,0 +1,22 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
diff --git a/nonrtric/helm/policymanagementservice/Chart.yaml b/nonrtric/helm/policymanagementservice/Chart.yaml
new file mode 100644
index 0000000..f5aeb03
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/Chart.yaml
@@ -0,0 +1,21 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+apiVersion: v1
+appVersion: "1.0"
+description: A Helm chart for Policy Management Service
+name: policymanagementservice
+version: 1.0.1
diff --git a/nonrtric/helm/policymanagementservice/resources/config/application_configuration.json b/nonrtric/helm/policymanagementservice/resources/config/application_configuration.json
new file mode 100644
index 0000000..7e36881
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/resources/config/application_configuration.json
@@ -0,0 +1,30 @@
+{
+ "config":{
+ "ric":[
+ {
+ "name":"ric1",
+ "baseUrl":"http://a1-sim1:8085/",
+ "managedElementIds":[
+ "kista_1",
+ "kista_2"
+ ]
+ }
+ ],
+ "streams_publishes":{
+ "dmaap_publisher":{
+ "type":"message_router",
+ "dmaap_info":{
+ "topic_url":"http://message-router:3904/events/A1-POLICY-AGENT-WRITE"
+ }
+ }
+ },
+ "streams_subscribes":{
+ "dmaap_subscriber":{
+ "type":"message_router",
+ "dmaap_info":{
+ "topic_url":"http://message-router:3904/events/A1-POLICY-AGENT-READ/users/policy-agent"
+ }
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/nonrtric/helm/policymanagementservice/templates/_policymanagementservice.tpl b/nonrtric/helm/policymanagementservice/templates/_policymanagementservice.tpl
new file mode 100644
index 0000000..44522a3
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/templates/_policymanagementservice.tpl
@@ -0,0 +1,30 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+{{- define "common.name.policymanagementservice" -}}
+ {{- printf "policymanagementservice" -}}
+{{- end -}}
+
+{{- define "common.namespace.nonrtric" -}}
+ {{- printf "nonrtric" -}}
+{{- end -}}
+
+{{- define "common.container.policymanagementservice" -}}
+ {{- $name := ( include "common.name.policymanagementservice" . ) -}}
+ {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+{{- define "common.serviceport.policymanagementservice.http" -}}8081{{- end -}}
diff --git a/nonrtric/helm/policymanagementservice/templates/configmap.yaml b/nonrtric/helm/policymanagementservice/templates/configmap.yaml
new file mode 100644
index 0000000..87e7eda
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/templates/configmap.yaml
@@ -0,0 +1,29 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ .Release.Name }}-policy-configmap
+ namespace: {{ include "common.namespace.nonrtric" . }}
+ labels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
diff --git a/nonrtric/helm/policymanagementservice/templates/deployment.yaml b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
new file mode 100644
index 0000000..3a87aa8
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
@@ -0,0 +1,62 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+kind: Deployment
+apiVersion: apps/v1
+metadata:
+ name: {{ include "common.name.policymanagementservice" . }}
+ namespace: {{ include "common.namespace.nonrtric" . }}
+ generation: 1
+ labels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+ annotations:
+ deployment.kubernetes.io/revision: '1'
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ release: {{ .Release.Name }}
+ template:
+ metadata:
+ labels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ release: {{ .Release.Name }}
+ spec:
+ hostname: {{ include "common.name.policymanagementservice" . }}
+ containers:
+ - name: {{ include "common.container.policymanagementservice" . }}
+ image: {{ .Values.policymanagementservice.image.registry }}/{{ .Values.policymanagementservice.image.name }}:{{ .Values.policymanagementservice.image.tag }}
+ imagePullPolicy: {{ .Values.policymanagementservice.imagePullPolicy }}
+ ports:
+ - containerPort: {{ include "common.serviceport.policymanagementservice.http" . }}
+ protocol: TCP
+ readinessProbe:
+ tcpSocket:
+ port: {{ include "common.serviceport.policymanagementservice.http" . }}
+ initialDelaySeconds: 5
+ periodSeconds: 15
+ volumeMounts:
+ - name: {{ .Release.Name }}-policy-conf
+ mountPath: /opt/app/policy-agent/config/application_configuration.json
+ subPath: application_configuration.json
+ volumes:
+ - name: {{ .Release.Name }}-policy-conf
+ configMap:
+ name: {{ .Release.Name }}-policy-configmap
\ No newline at end of file
diff --git a/nonrtric/helm/policymanagementservice/templates/service.yaml b/nonrtric/helm/policymanagementservice/templates/service.yaml
new file mode 100644
index 0000000..211ffdf
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/templates/service.yaml
@@ -0,0 +1,36 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+kind: Service
+apiVersion: v1
+metadata:
+ name: {{ include "common.name.policymanagementservice" . }}
+ namespace: {{ include "common.namespace.nonrtric" . }}
+ labels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+spec:
+ ports:
+ - name: http
+ protocol: TCP
+ port: {{ include "common.serviceport.policymanagementservice.http" . }}
+ targetPort: {{ include "common.serviceport.policymanagementservice.http" . }}
+ selector:
+ app: nonrtric-{{ include "common.name.policymanagementservice" . }}
+ release: {{ .Release.Name }}
+ type: ClusterIP
diff --git a/nonrtric/helm/policymanagementservice/values.yaml b/nonrtric/helm/policymanagementservice/values.yaml
new file mode 100644
index 0000000..6db476d
--- /dev/null
+++ b/nonrtric/helm/policymanagementservice/values.yaml
@@ -0,0 +1,26 @@
+################################################################################
+# Copyright (c) 2020 Nordix Foundation. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+# Default values for Policy Management Service.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
+policymanagementservice:
+ imagePullPolicy: IfNotPresent
+ image:
+ registry: "nexus3.o-ran-sc.org:10004/o-ran-sc"
+ name: nonrtric-policy-agent
+ tag: 1.0.0