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