Merge "[DCAEMOD] Uses new tpls for repos / images"
[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
24 secrets:
25   - uid: controller-secret
26     type: basicAuth
27     externalSecret: '{{ tpl (default "" .Values.a1controller.credsExternalSecret) . }}'
28     login: '{{ .Values.a1controller.user }}'
29     password: '{{ .Values.a1controller.password }}'
30     passwordPolicy: required
31
32 image: onap/ccsdk-oran-a1policymanagementservice:1.0.1
33 userID: 1000 #Should match with image-defined user ID
34 groupID: 999 #Should match with image-defined group ID
35 pullPolicy: IfNotPresent
36 replicaCount: 1
37
38 service:
39   type: NodePort
40   name: a1policymanagement
41   both_tls_and_plain: true
42   ports:
43     - name: api
44       port: 8433
45       plain_port: 8081
46       port_protocol: http
47       nodePort: '94'
48
49 # SDNC Credentials are used here
50 a1controller:
51   user: admin
52   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
53
54 sdncLink: https://sdnc.onap:8443
55 # Add your own A1 Mediator link. Supports both STD & OSC Version. ex. http://<ip>:<port>
56 # Alternatively you can also use the A1 simulator available in ORAN. It provides STD  & OSC Version for A1 termination.
57 # Refer source code & run in docker container : https://gerrit.o-ran-sc.org/r/admin/repos/sim/a1-interface
58 # Refer it/dep repo for k8's deployment: https://gerrit.o-ran-sc.org/r/admin/repos/it/dep
59 ricLink:
60 streamPublish: http://message-router:3904/events/A1-POLICY-AGENT-WRITE
61 streamSubscribe: http://message-router:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100
62
63 liveness:
64   port: api
65   initialDelaySeconds: 60
66   periodSeconds: 10
67 readiness:
68   port: api
69   initialDelaySeconds: 60
70   periodSeconds: 10
71
72 #Resource Limit flavor -By Default using small
73 flavor: small
74
75 resources:
76   small:
77     limits:
78       cpu: 2
79       memory: 4Gi
80     requests:
81       cpu: 1
82       memory: 2Gi
83   large:
84     limits:
85       cpu: 4
86       memory: 8Gi
87     requests:
88       cpu: 2
89       memory: 4Gi
90   unlimited: {}