Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # Copyright (c) 2020 Nordix Foundation. # |
| 3 | # # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); # |
| 5 | # you may not use this file except in compliance with the License. # |
| 6 | # You may obtain a copy of the License at # |
| 7 | # # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 # |
| 9 | # # |
| 10 | # Unless required by applicable law or agreed to in writing, software # |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, # |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # |
| 13 | # See the License for the specific language governing permissions and # |
| 14 | # limitations under the License. # |
| 15 | ################################################################################ |
| 16 | # Default values for Policy Management Service. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | |
| 20 | global: |
| 21 | nodePortPrefix: 300 |
| 22 | envsubstImage: dibi/envsubst |
| 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 | repository: nexus3.onap.org:10001 |
Konrad Bańka | 0892b9d | 2020-10-30 14:19:01 +0100 | [diff] [blame] | 33 | image: onap/ccsdk-oran-a1policymanagementservice:1.0.1 |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 34 | pullPolicy: IfNotPresent |
| 35 | replicaCount: 1 |
| 36 | |
| 37 | service: |
| 38 | type: NodePort |
| 39 | name: a1policymanagement |
| 40 | both_tls_and_plain: true |
| 41 | ports: |
| 42 | - name: api |
| 43 | port: 8433 |
| 44 | plain_port: 8081 |
| 45 | port_protocol: http |
| 46 | nodePort: '94' |
| 47 | |
| 48 | # SDNC Credentials are used here |
| 49 | a1controller: |
| 50 | user: admin |
| 51 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 52 | |
| 53 | sdncLink: https://sdnc.onap:8443 |
| 54 | # Add your own A1 Mediator link. Supports both STD & OSC Version. ex. http://<ip>:<port> |
| 55 | # Alternatively you can also use the A1 simulator available in ORAN. It provides STD & OSC Version for A1 termination. |
| 56 | # Refer source code & run in docker container : https://gerrit.o-ran-sc.org/r/admin/repos/sim/a1-interface |
| 57 | # Refer it/dep repo for k8's deployment: https://gerrit.o-ran-sc.org/r/admin/repos/it/dep |
| 58 | ricLink: |
| 59 | streamPublish: http://message-router:3904/events/A1-POLICY-AGENT-WRITE |
| 60 | streamSubscribe: http://message-router:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100 |
| 61 | |
| 62 | liveness: |
| 63 | port: api |
| 64 | initialDelaySeconds: 60 |
| 65 | periodSeconds: 10 |
| 66 | readiness: |
| 67 | port: api |
| 68 | initialDelaySeconds: 60 |
| 69 | periodSeconds: 10 |
| 70 | |
| 71 | #Resource Limit flavor -By Default using small |
| 72 | flavor: small |
| 73 | |
| 74 | resources: |
| 75 | small: |
| 76 | limits: |
| 77 | cpu: 2 |
| 78 | memory: 4Gi |
| 79 | requests: |
| 80 | cpu: 1 |
| 81 | memory: 2Gi |
| 82 | large: |
| 83 | limits: |
| 84 | cpu: 4 |
| 85 | memory: 8Gi |
| 86 | requests: |
| 87 | cpu: 2 |
| 88 | memory: 4Gi |
| 89 | unlimited: {} |