Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T Intellectual Property. All rights reserved. |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 Amdocs,Bell Canada |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +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 |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
Krzysztof Opasiak | 03a125a | 2020-05-05 02:11:09 +0200 | [diff] [blame] | 24 | envsubstImage: dibi/envsubst |
| 25 | |
| 26 | secrets: |
| 27 | - uid: pg-root-pass |
| 28 | name: &pgRootPassSecretName '{{ include "common.release" . }}-dmaap-bc-pg-root-pass' |
| 29 | type: password |
| 30 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dmaap-bc-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}' |
| 31 | password: '{{ .Values.postgres.config.pgRootpassword }}' |
| 32 | policy: generate |
| 33 | - uid: pg-user-creds |
| 34 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-dmaap-bc-pg-user-creds' |
| 35 | type: basicAuth |
| 36 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dmaap-bc-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 37 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 38 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 39 | passwordPolicy: generate |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 40 | |
| 41 | ################################################################# |
| 42 | # Application configuration defaults. |
| 43 | ################################################################# |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 44 | pullPolicy: Always |
| 45 | |
| 46 | # application images |
| 47 | repository: nexus3.onap.org:10001 |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 48 | #repository: 10.12.7.57:5000 |
| 49 | image: onap/dmaap/dmaap-bc:2.0.4 |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 50 | |
| 51 | |
| 52 | # application configuration |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 53 | dmaapMessageRouterService: message-router |
pkaras | 837db95 | 2019-04-23 13:45:25 +0200 | [diff] [blame] | 54 | |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 55 | # change the following value to point to Windriver instance maintained |
dglFromAtt | fb58a9d | 2019-04-12 20:12:26 +0000 | [diff] [blame] | 56 | # by AAF team. |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 57 | # e.g. |
| 58 | #aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/ |
| 59 | aafURL: https://aaf-service:8100/ |
pkaras | 837db95 | 2019-04-23 13:45:25 +0200 | [diff] [blame] | 60 | aafLocateUrl: https://aaf-locate:8095 |
dglFromAtt | fb58a9d | 2019-04-12 20:12:26 +0000 | [diff] [blame] | 61 | topicMgrUser: dmaap-bc@dmaap-bc.onap.org |
dglFromAtt | 8234007 | 2018-10-16 21:53:34 +0000 | [diff] [blame] | 62 | topicMgrPwd: demo123456! |
| 63 | adminUser: aaf_admin@people.osaaf.org |
| 64 | adminPwd: demo123456! |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 65 | |
Krzysztof Opasiak | c32ee22 | 2020-05-07 00:26:00 +0200 | [diff] [blame] | 66 | ################################################################# |
| 67 | # AAF part |
| 68 | ################################################################# |
| 69 | certInitializer: |
| 70 | nameOverride: dmaap-bc-cert-initializer |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 71 | aafDeployFqi: deployer@people.osaaf.org |
Ubuntu | 3d5d180 | 2019-11-14 23:16:17 +0000 | [diff] [blame] | 72 | aafDeployPass: demo123456! |
Krzysztof Opasiak | c32ee22 | 2020-05-07 00:26:00 +0200 | [diff] [blame] | 73 | # aafDeployCredsExternalSecret: some secret |
Ubuntu | 3d5d180 | 2019-11-14 23:16:17 +0000 | [diff] [blame] | 74 | fqdn: dmaap-bc |
| 75 | fqi: dmaap-bc@dmaap-bc.onap.org |
| 76 | publicFqdn: dmaap-bc.onap.org |
| 77 | cadiLatitude: 0.0 |
| 78 | cadiLongitude: 0.0 |
Krzysztof Opasiak | c32ee22 | 2020-05-07 00:26:00 +0200 | [diff] [blame] | 79 | app_ns: org.osaaf.aaf |
| 80 | credsPath: /opt/app/osaaf/local |
Ubuntu | 3d5d180 | 2019-11-14 23:16:17 +0000 | [diff] [blame] | 81 | |
| 82 | persistence: |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 83 | aafCredsPath: /opt/app/osaaf/local/ |
Ubuntu | 3d5d180 | 2019-11-14 23:16:17 +0000 | [diff] [blame] | 84 | |
dglFromAtt | ce0f3b6 | 2018-10-31 22:02:50 +0000 | [diff] [blame] | 85 | # for Casablanca default deployment, leave this true to |
| 86 | # get a topic namespace that matches MR. When set to false, |
| 87 | # it will compose the topic namespace using the kubernetes namespace value |
| 88 | fixedTopicNamespace: true |
| 89 | |
dglFromAtt | fb58a9d | 2019-04-12 20:12:26 +0000 | [diff] [blame] | 90 | # for quicker deployments in dev, ability to disable using postgres |
| 91 | PG: |
| 92 | enabled: true |
| 93 | |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 94 | nodeSelector: {} |
| 95 | |
| 96 | affinity: {} |
| 97 | |
| 98 | # probe configuration parameters |
| 99 | liveness: |
| 100 | initialDelaySeconds: 10 |
| 101 | periodSeconds: 10 |
| 102 | # necessary to disable liveness probe when setting breakpoints |
| 103 | # in debugger so K8s doesn't restart unresponsive container |
Sylvain Desbureaux | 0de113e | 2020-03-10 09:57:25 +0100 | [diff] [blame] | 104 | port: api |
| 105 | enabled: true |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 106 | |
| 107 | readiness: |
| 108 | initialDelaySeconds: 10 |
| 109 | periodSeconds: 10 |
Sylvain Desbureaux | 0de113e | 2020-03-10 09:57:25 +0100 | [diff] [blame] | 110 | port: api |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 111 | |
| 112 | |
| 113 | service: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 114 | type: NodePort |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 115 | name: dmaap-bc |
Sylvain Desbureaux | 0de113e | 2020-03-10 09:57:25 +0100 | [diff] [blame] | 116 | ports: |
| 117 | - name: api |
| 118 | port: 8443 |
| 119 | plain_port: 8080 |
| 120 | port_protocol: http |
| 121 | nodePort: 42 |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 122 | |
| 123 | |
| 124 | # application configuration override for postgres |
| 125 | postgres: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 126 | nameOverride: dbc-pg |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 127 | service: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 128 | name: dbc-postgres |
| 129 | name2: dbc-pg-primary |
| 130 | name3: dbc-pg-replica |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 131 | container: |
| 132 | name: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 133 | primary: dbc-pg-primary |
| 134 | replica: dbc-pg-replica |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 135 | config: |
| 136 | pgUserName: dmaap_admin |
| 137 | pgDatabase: dmaap |
Krzysztof Opasiak | 03a125a | 2020-05-05 02:11:09 +0200 | [diff] [blame] | 138 | pgUserExternalSecret: *pgUserCredsSecretName |
| 139 | pgRootPasswordExternalSecret: *pgRootPassSecretName |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 140 | persistence: |
| 141 | mountSubPath: dbc/data |
| 142 | mountInitPath: dbc |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 143 | |
| 144 | ingress: |
| 145 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 146 | service: |
| 147 | - baseaddr: "dmaapbc" |
| 148 | name: "dmaap-bc" |
| 149 | port: 8443 |
| 150 | config: |
| 151 | ssl: "redirect" |
Dominic Lunanuova | e825fee | 2018-04-12 14:40:34 +0000 | [diff] [blame] | 152 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 153 | # Resource Limit flavor -By Default using small |
| 154 | flavor: small |
| 155 | # Segregation for Different environment (Small and Large) |
| 156 | resources: |
| 157 | small: |
| 158 | limits: |
| 159 | cpu: 2 |
| 160 | memory: 4Gi |
| 161 | requests: |
| 162 | cpu: 1 |
| 163 | memory: 1Gi |
| 164 | large: |
| 165 | limits: |
| 166 | cpu: 4 |
| 167 | memory: 8Gi |
| 168 | requests: |
| 169 | cpu: 2 |
| 170 | memory: 2Gi |
| 171 | unlimited: {} |