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