Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # Copyright (c) 2020 Nordix Foundation. # |
Konrad Bańka | 52c38b9 | 2020-10-28 16:49:19 +0100 | [diff] [blame] | 3 | # Copyright © 2020 Samsung Electronics, Modifications # |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 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: |
Sylvain Desbureaux | d4a6afd | 2020-11-21 22:01:15 +0100 | [diff] [blame] | 22 | nodePortPrefix: 302 |
PatrikBuhr | 746ff37 | 2021-04-30 15:12:51 +0200 | [diff] [blame] | 23 | persistence: {} |
guillaume.lambert | 30ec390 | 2021-09-14 12:32:24 +0200 | [diff] [blame] | 24 | |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 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 | |
Dan Timoney | c614482 | 2023-04-27 10:17:20 -0400 | [diff] [blame] | 33 | image: onap/ccsdk-oran-a1policymanagementservice:1.5.0 |
Konrad Bańka | 52c38b9 | 2020-10-28 16:49:19 +0100 | [diff] [blame] | 34 | userID: 1000 #Should match with image-defined user ID |
| 35 | groupID: 999 #Should match with image-defined group ID |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 36 | pullPolicy: IfNotPresent |
| 37 | replicaCount: 1 |
| 38 | |
| 39 | service: |
| 40 | type: NodePort |
| 41 | name: a1policymanagement |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 42 | ports: |
| 43 | - name: api |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 44 | port: 8081 |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 45 | port_protocol: http |
| 46 | nodePort: '94' |
| 47 | |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 48 | ingress: |
| 49 | enabled: false |
| 50 | service: |
| 51 | - baseaddr: 'a1policymanagement-api' |
| 52 | name: 'a1policymanagement' |
| 53 | port: 8081 |
| 54 | |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 55 | # SDNC Credentials are used here |
| 56 | a1controller: |
| 57 | user: admin |
| 58 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 59 | |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 60 | sdncLink: http://sdnc.onap:8282 |
RehanRaza | e30f9b9 | 2021-03-25 14:36:53 +0100 | [diff] [blame] | 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. |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 64 | # Refer source code & run in docker container : https://gerrit.o-ran-sc.org/r/admin/repos/sim/a1-interface |
RehanRaza | e30f9b9 | 2021-03-25 14:36:53 +0100 | [diff] [blame] | 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: |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 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: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 95 | cpu: "2" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 96 | memory: "600Mi" |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 97 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 98 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 99 | memory: "300Mi" |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 100 | large: |
| 101 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 102 | cpu: "4" |
| 103 | memory: "8Gi" |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 104 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 105 | cpu: "2" |
| 106 | memory: "4Gi" |
Lathish | 818ee5d | 2020-08-26 13:45:03 +0100 | [diff] [blame] | 107 | unlimited: {} |
PatrikBuhr | 27c9436 | 2021-04-09 10:58:58 +0200 | [diff] [blame] | 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 | |
farida azmy | 7fe8897 | 2021-09-27 20:57:13 +0200 | [diff] [blame] | 132 | #Pods Service Account |
| 133 | serviceAccount: |
| 134 | nameOverride: a1policymanagement |
| 135 | roles: |
| 136 | - read |