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