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