blob: 9ae6b60626505764a088a76138939b9ad26c782e [file] [log] [blame]
Lathish818ee5d2020-08-26 13:45:03 +01001################################################################################
2# Copyright (c) 2020 Nordix Foundation. #
Konrad Bańka52c38b92020-10-28 16:49:19 +01003# Copyright © 2020 Samsung Electronics, Modifications #
Lathish818ee5d2020-08-26 13:45:03 +01004# #
5# Licensed under the Apache License, Version 2.0 (the "License"); #
6# you may not use this file except in compliance with the License. #
7# You may obtain a copy of the License at #
8# #
9# http://www.apache.org/licenses/LICENSE-2.0 #
10# #
11# Unless required by applicable law or agreed to in writing, software #
12# distributed under the License is distributed on an "AS IS" BASIS, #
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14# See the License for the specific language governing permissions and #
15# limitations under the License. #
16################################################################################
17# Default values for Policy Management Service.
18# This is a YAML-formatted file.
19# Declare variables to be passed into your templates.
20
21global:
Sylvain Desbureauxd4a6afd2020-11-21 22:01:15 +010022 nodePortPrefix: 302
PatrikBuhr746ff372021-04-30 15:12:51 +020023 persistence: {}
guillaume.lambert30ec3902021-09-14 12:32:24 +020024
Lathish818ee5d2020-08-26 13:45:03 +010025secrets:
26 - uid: controller-secret
27 type: basicAuth
28 externalSecret: '{{ tpl (default "" .Values.a1controller.credsExternalSecret) . }}'
29 login: '{{ .Values.a1controller.user }}'
30 password: '{{ .Values.a1controller.password }}'
31 passwordPolicy: required
32
Dan Timoneyc6144822023-04-27 10:17:20 -040033image: onap/ccsdk-oran-a1policymanagementservice:1.5.0
Konrad Bańka52c38b92020-10-28 16:49:19 +010034userID: 1000 #Should match with image-defined user ID
35groupID: 999 #Should match with image-defined group ID
Lathish818ee5d2020-08-26 13:45:03 +010036pullPolicy: IfNotPresent
37replicaCount: 1
38
39service:
40 type: NodePort
41 name: a1policymanagement
Lathish818ee5d2020-08-26 13:45:03 +010042 ports:
43 - name: api
Andreas Geissler353a8c92023-03-15 16:15:11 +010044 port: 8081
Lathish818ee5d2020-08-26 13:45:03 +010045 port_protocol: http
46 nodePort: '94'
47
Andreas Geissler353a8c92023-03-15 16:15:11 +010048ingress:
49 enabled: false
50 service:
51 - baseaddr: 'a1policymanagement-api'
52 name: 'a1policymanagement'
53 port: 8081
54
Lathish818ee5d2020-08-26 13:45:03 +010055# SDNC Credentials are used here
56a1controller:
57 user: admin
58 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
59
Andreas Geissler353a8c92023-03-15 16:15:11 +010060sdncLink: http://sdnc.onap:8282
RehanRazae30f9b92021-03-25 14:36:53 +010061# The information about A1-Mediator/RICs can be added here.
62# The A1 policy management service supports both STD & OSC versions.
63# Alternatively, the A1 simulator from ORAN-SC can also be used. It provides STD & OSC versions for A1 termination.
Lathish818ee5d2020-08-26 13:45:03 +010064# Refer source code & run in docker container : https://gerrit.o-ran-sc.org/r/admin/repos/sim/a1-interface
RehanRazae30f9b92021-03-25 14:36:53 +010065# Refer it/dep repo for k8s deployment: https://gerrit.o-ran-sc.org/r/admin/repos/it/dep
66# Example configuration:
67#rics:
68# - name: ric1
69# link: http://ric1url.url.com:1111/
70# managedElementIds:
71# - kista1
72# - kista2
73# - name: ric2
74# link: http://ric2url.url.com:2222/
75# managedElementIds:
76# - kista3
77# - kista4
78rics:
Lathish818ee5d2020-08-26 13:45:03 +010079
80liveness:
81 port: api
82 initialDelaySeconds: 60
83 periodSeconds: 10
84readiness:
85 port: api
86 initialDelaySeconds: 60
87 periodSeconds: 10
88
89#Resource Limit flavor -By Default using small
90flavor: small
91
92resources:
93 small:
94 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010095 cpu: "2"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010096 memory: "600Mi"
Lathish818ee5d2020-08-26 13:45:03 +010097 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010098 cpu: "1"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010099 memory: "300Mi"
Lathish818ee5d2020-08-26 13:45:03 +0100100 large:
101 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100102 cpu: "4"
103 memory: "8Gi"
Lathish818ee5d2020-08-26 13:45:03 +0100104 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100105 cpu: "2"
106 memory: "4Gi"
Lathish818ee5d2020-08-26 13:45:03 +0100107 unlimited: {}
PatrikBuhr27c94362021-04-09 10:58:58 +0200108
109## Persist data to a persistent volume
110persistence:
111 enabled: true
112
113 ## A manually managed Persistent Volume and Claim
114 ## Requires persistence.enabled: true
115 ## If defined, PVC must be created manually before volume will be bound
116 # existingClaim:
117 volumeReclaimPolicy: Retain
118
119 ## database data Persistent Volume Storage Class
120 ## If defined, storageClassName: <storageClass>
121 ## If set to "-", storageClassName: "", which disables dynamic provisioning
122 ## If undefined (the default) or set to null, no storageClassName spec is
123 ## set, choosing the default provisioner. (gp2 on AWS, standard on
124 ## GKE, AWS & OpenStack)
125 ##
126 # storageClass: "-"
127 accessMode: ReadWriteOnce
128 size: 2Gi
129 mountPath: /dockerdata-nfs
130 mountSubPath: nonrtric/policymanagementservice
131
farida azmy7fe88972021-09-27 20:57:13 +0200132#Pods Service Account
133serviceAccount:
134 nameOverride: a1policymanagement
135 roles:
136 - read