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