jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs |
| 2 | # Copyright © 2017, 2021 Bell Canada |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 3 | # Modifications Copyright © 2018-2022 AT&T Intellectual Property |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [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 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | nodePortPrefix: 302 |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 22 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 23 | ################################################################# |
Krzysztof Opasiak | 68b1c92 | 2020-03-26 23:59:36 +0100 | [diff] [blame] | 24 | # Secrets metaconfig |
| 25 | ################################################################# |
| 26 | secrets: |
| 27 | - uid: db-secret |
| 28 | type: basicAuth |
| 29 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 30 | login: '{{ .Values.db.user }}' |
| 31 | password: '{{ .Values.db.password }}' |
| 32 | passwordPolicy: required |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 33 | - uid: telemetry-creds |
| 34 | type: basicAuth |
| 35 | externalSecret: '{{ tpl (default "" .Values.telemetry.credsExternalSecret) . }}' |
| 36 | login: '{{ .Values.telemetry.user }}' |
| 37 | password: '{{ .Values.telemetry.password }}' |
| 38 | passwordPolicy: required |
Krzysztof Opasiak | 68b1c92 | 2020-03-26 23:59:36 +0100 | [diff] [blame] | 39 | |
| 40 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 41 | # Application configuration defaults. |
| 42 | ################################################################# |
| 43 | # application image |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 44 | image: onap/policy-pdpd-cl:1.12.1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 45 | pullPolicy: Always |
| 46 | |
| 47 | # flag to enable debugging - application support required |
| 48 | debugEnabled: false |
| 49 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 50 | # default number of instances |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 51 | replicaCount: 1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 52 | |
| 53 | nodeSelector: {} |
| 54 | |
| 55 | affinity: {} |
| 56 | |
| 57 | # probe configuration parameters |
| 58 | liveness: |
Jorge Hernandez | 432aa31 | 2018-06-04 18:20:43 -0500 | [diff] [blame] | 59 | initialDelaySeconds: 180 |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 60 | periodSeconds: 60 |
| 61 | timeoutSeconds: 10 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 62 | # necessary to disable liveness probe when setting breakpoints |
| 63 | # in debugger so K8s doesn't restart unresponsive container |
Jorge Hernandez | 328eadb | 2018-05-15 07:52:21 -0500 | [diff] [blame] | 64 | enabled: true |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 65 | |
| 66 | readiness: |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 67 | initialDelaySeconds: 60 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 68 | periodSeconds: 10 |
| 69 | |
| 70 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 71 | type: ClusterIP |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 72 | name: policy-drools-pdp |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 73 | internalPort: 6969 |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 74 | ports: |
| 75 | - name: http |
| 76 | port: 6969 |
| 77 | - name: http-2 |
| 78 | port: 9696 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 79 | |
| 80 | ingress: |
| 81 | enabled: false |
| 82 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 83 | server: |
jhh | ed6839f | 2020-05-08 12:28:27 -0500 | [diff] [blame] | 84 | jvmOpts: -server -XshowSettings:vm |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 85 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 86 | telemetry: |
| 87 | user: demo@people.osaaf.org |
| 88 | password: demo123456! |
| 89 | |
| 90 | nexus: |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 91 | name: policy-nexus |
| 92 | port: 8081 |
jhh | 8534fea | 2019-09-20 14:35:20 -0500 | [diff] [blame] | 93 | user: admin |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 94 | password: admin123 |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 95 | offline: true |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 96 | |
| 97 | db: |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 98 | name: policy-mariadb |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 99 | user: policy_user |
| 100 | password: policy_user |
| 101 | |
| 102 | pap: |
adheli.tavares | f3656cd | 2021-11-10 14:54:32 +0000 | [diff] [blame] | 103 | user: policyadmin |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 104 | password: zb!XztG34 |
| 105 | |
| 106 | pdp: |
| 107 | user: healthcheck |
| 108 | password: zb!XztG34 |
| 109 | |
jhh | df5484e | 2020-04-06 15:08:35 -0500 | [diff] [blame] | 110 | papl: |
| 111 | user: testpap |
| 112 | password: alpha123 |
| 113 | |
| 114 | pdpl: |
| 115 | user: testpdp |
| 116 | password: alpha123 |
| 117 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 118 | aai: |
| 119 | user: policy@policy.onap.org |
| 120 | password: demo123456! |
| 121 | |
| 122 | so: |
| 123 | user: InfraPortalClient |
| 124 | password: password1$ |
| 125 | |
| 126 | vfc: |
| 127 | user: |
| 128 | password: |
| 129 | |
| 130 | sdnc: |
| 131 | user: admin |
| 132 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 133 | |
| 134 | dmaap: |
| 135 | brmsgw: |
| 136 | key: |
| 137 | password: |
| 138 | pap: |
| 139 | key: |
| 140 | password: |
| 141 | |
Rashmi Pujar | 3cfa4cc | 2019-10-17 16:05:50 -0400 | [diff] [blame] | 142 | cds: |
| 143 | grpc: |
| 144 | user: ccsdkapps |
| 145 | password: ccsdkapps |
| 146 | svcName: cds-blueprints-processor-grpc |
| 147 | svcPort: 9111 |
| 148 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 149 | # Resource Limit flavor -By Default using small |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 150 | # Segregation for Different environment (small, large, or unlimited) |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 151 | flavor: small |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 152 | resources: |
| 153 | small: |
| 154 | limits: |
| 155 | cpu: 1 |
| 156 | memory: 4Gi |
| 157 | requests: |
| 158 | cpu: 100m |
| 159 | memory: 1Gi |
| 160 | large: |
| 161 | limits: |
| 162 | cpu: 2 |
| 163 | memory: 8Gi |
| 164 | requests: |
| 165 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 166 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 167 | unlimited: {} |
farida azmy | c117837 | 2021-04-11 12:55:33 +0200 | [diff] [blame] | 168 | |
| 169 | #Pods Service Account |
| 170 | serviceAccount: |
| 171 | nameOverride: policy-drools-pdp |
| 172 | roles: |
| 173 | - read |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 174 | |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 175 | metrics: |
| 176 | serviceMonitor: |
| 177 | # Override the labels based on the Prometheus config parameter: serviceMonitorSelector. |
| 178 | # The default operator for prometheus enforces the below label. |
| 179 | labels: |
| 180 | release: prometheus |
| 181 | enabled: true |
| 182 | port: policy-drools-pdp-9696 |
| 183 | interval: 60s |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 184 | isHttps: false |
jhh | 0d1c0e8 | 2022-04-08 14:36:15 -0500 | [diff] [blame] | 185 | basicAuth: |
| 186 | enabled: true |
| 187 | externalSecretNameSuffix: policy-drools-pdp-telemetry-creds |
| 188 | externalSecretUserKey: login |
| 189 | externalSecretPasswordKey: password |
| 190 | selector: |
| 191 | app: '{{ include "common.name" . }}' |
| 192 | chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' |
| 193 | release: '{{ include "common.release" . }}' |
| 194 | heritage: '{{ .Release.Service }}' |