Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / a1policymanagement / values.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #   Copyright © 2020 Samsung Electronics, Modifications                        #
4 #                                                                              #
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
21 global:
22   nodePortPrefix: 302
23   persistence: {}
24
25 secrets:
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
33 image: onap/ccsdk-oran-a1policymanagementservice:1.5.0
34 userID: 1000 #Should match with image-defined user ID
35 groupID: 999 #Should match with image-defined group ID
36 pullPolicy: IfNotPresent
37 replicaCount: 1
38
39 service:
40   type: NodePort
41   name: a1policymanagement
42   ports:
43     - name: api
44       port: 8081
45       port_protocol: http
46       nodePort: '94'
47
48 ingress:
49   enabled: false
50   service:
51     - baseaddr: 'a1policymanagement-api'
52       name: 'a1policymanagement'
53       port: 8081
54
55 # SDNC Credentials are used here
56 a1controller:
57   user: admin
58   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
59
60 sdncLink: http://sdnc.onap:8282
61 # 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.
64 # Refer source code & run in docker container : https://gerrit.o-ran-sc.org/r/admin/repos/sim/a1-interface
65 # 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
78 rics:
79
80 liveness:
81   port: api
82   initialDelaySeconds: 60
83   periodSeconds: 10
84 readiness:
85   port: api
86   initialDelaySeconds: 60
87   periodSeconds: 10
88
89 #Resource Limit flavor -By Default using small
90 flavor: small
91
92 resources:
93   small:
94     limits:
95       cpu: "2"
96       memory: "600Mi"
97     requests:
98       cpu: "1"
99       memory: "300Mi"
100   large:
101     limits:
102       cpu: "4"
103       memory: "8Gi"
104     requests:
105       cpu: "2"
106       memory: "4Gi"
107   unlimited: {}
108
109 ## Persist data to a persistent volume
110 persistence:
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
132 #Pods Service Account
133 serviceAccount:
134   nameOverride: a1policymanagement
135   roles:
136     - read