jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs |
| 2 | # Copyright © 2017, 2021 Bell Canada |
jhh | 999c224 | 2021-02-24 12:10:02 -0600 | [diff] [blame] | 3 | # Modifications Copyright © 2018-2021 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 |
| 33 | |
| 34 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
liamfallon | 312ab37 | 2021-12-13 14:33:33 +0000 | [diff] [blame] | 38 | image: onap/policy-pdpd-cl:1.10.0 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 39 | pullPolicy: Always |
| 40 | |
| 41 | # flag to enable debugging - application support required |
| 42 | debugEnabled: false |
| 43 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 44 | # default number of instances |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 45 | replicaCount: 1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
Jorge Hernandez | 432aa31 | 2018-06-04 18:20:43 -0500 | [diff] [blame] | 53 | initialDelaySeconds: 180 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
Jorge Hernandez | 328eadb | 2018-05-15 07:52:21 -0500 | [diff] [blame] | 57 | enabled: true |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 58 | |
| 59 | readiness: |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 60 | initialDelaySeconds: 60 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 61 | periodSeconds: 10 |
| 62 | |
| 63 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 64 | type: ClusterIP |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 65 | name: policy-drools-pdp |
| 66 | portName: policy-drools-pdp |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 67 | internalPort: 6969 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 68 | externalPort: 6969 |
| 69 | nodePort: 17 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 70 | internalPort2: 9696 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 71 | externalPort2: 9696 |
| 72 | nodePort2: 21 |
| 73 | |
| 74 | ingress: |
| 75 | enabled: false |
| 76 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 77 | # Default installation values to be overridden |
| 78 | |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 79 | certInitializer: |
| 80 | nameOverride: policy-drools-pdp-cert-initializer |
| 81 | aafDeployFqi: deployer@people.osaaf.org |
| 82 | aafDeployPass: demo123456! |
| 83 | fqdn: policy |
| 84 | fqi: policy@policy.onap.org |
| 85 | public_fqdn: policy.onap.org |
| 86 | cadi_latitude: "0.0" |
| 87 | cadi_longitude: "0.0" |
| 88 | credsPath: /opt/app/osaaf/local |
| 89 | app_ns: org.osaaf.aaf |
jhh | 32367fc | 2021-03-10 13:10:47 -0600 | [diff] [blame] | 90 | uid: 100 |
| 91 | gid: 101 |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 92 | aaf_add_config: > |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 93 | echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci; |
| 94 | echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci; |
jhh | 32367fc | 2021-03-10 13:10:47 -0600 | [diff] [blame] | 95 | echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci; |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 96 | chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }}); |
| 97 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 98 | server: |
jhh | ed6839f | 2020-05-08 12:28:27 -0500 | [diff] [blame] | 99 | jvmOpts: -server -XshowSettings:vm |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 100 | |
| 101 | aaf: |
jhh | 8534fea | 2019-09-20 14:35:20 -0500 | [diff] [blame] | 102 | enabled: "false" |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 103 | |
| 104 | keystore: |
| 105 | password: Pol1cy_0nap |
| 106 | |
| 107 | truststore: |
| 108 | password: Pol1cy_0nap |
| 109 | |
| 110 | telemetry: |
| 111 | user: demo@people.osaaf.org |
| 112 | password: demo123456! |
| 113 | |
| 114 | nexus: |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 115 | name: policy-nexus |
| 116 | port: 8081 |
jhh | 8534fea | 2019-09-20 14:35:20 -0500 | [diff] [blame] | 117 | user: admin |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 118 | password: admin123 |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 119 | offline: true |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 120 | |
| 121 | db: |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 122 | name: policy-mariadb |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 123 | user: policy_user |
| 124 | password: policy_user |
| 125 | |
| 126 | pap: |
adheli.tavares | f3656cd | 2021-11-10 14:54:32 +0000 | [diff] [blame] | 127 | user: policyadmin |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 128 | password: zb!XztG34 |
| 129 | |
| 130 | pdp: |
| 131 | user: healthcheck |
| 132 | password: zb!XztG34 |
| 133 | |
jhh | df5484e | 2020-04-06 15:08:35 -0500 | [diff] [blame] | 134 | papl: |
| 135 | user: testpap |
| 136 | password: alpha123 |
| 137 | |
| 138 | pdpl: |
| 139 | user: testpdp |
| 140 | password: alpha123 |
| 141 | |
jhh | 0109659 | 2019-09-04 07:47:25 -0500 | [diff] [blame] | 142 | aai: |
| 143 | user: policy@policy.onap.org |
| 144 | password: demo123456! |
| 145 | |
| 146 | so: |
| 147 | user: InfraPortalClient |
| 148 | password: password1$ |
| 149 | |
| 150 | vfc: |
| 151 | user: |
| 152 | password: |
| 153 | |
| 154 | sdnc: |
| 155 | user: admin |
| 156 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 157 | |
| 158 | dmaap: |
| 159 | brmsgw: |
| 160 | key: |
| 161 | password: |
| 162 | pap: |
| 163 | key: |
| 164 | password: |
| 165 | |
Rashmi Pujar | 3cfa4cc | 2019-10-17 16:05:50 -0400 | [diff] [blame] | 166 | cds: |
| 167 | grpc: |
| 168 | user: ccsdkapps |
| 169 | password: ccsdkapps |
| 170 | svcName: cds-blueprints-processor-grpc |
| 171 | svcPort: 9111 |
| 172 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 173 | # Resource Limit flavor -By Default using small |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 174 | # Segregation for Different environment (small, large, or unlimited) |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 175 | flavor: small |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 176 | resources: |
| 177 | small: |
| 178 | limits: |
| 179 | cpu: 1 |
| 180 | memory: 4Gi |
| 181 | requests: |
| 182 | cpu: 100m |
| 183 | memory: 1Gi |
| 184 | large: |
| 185 | limits: |
| 186 | cpu: 2 |
| 187 | memory: 8Gi |
| 188 | requests: |
| 189 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 190 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 191 | unlimited: {} |
farida azmy | c117837 | 2021-04-11 12:55:33 +0200 | [diff] [blame] | 192 | |
| 193 | #Pods Service Account |
| 194 | serviceAccount: |
| 195 | nameOverride: policy-drools-pdp |
| 196 | roles: |
| 197 | - read |