Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 1 | # Copyright (C) 2018 AT&T Intellectual Property. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | # Global configuration default values that can be inherited by |
| 16 | # all subcharts. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | |
| 20 | # Change to an unused port prefix range to prevent port conflicts |
| 21 | # with other instances running within the same k8s cluster |
| 22 | nodePortPrefix: 302 |
| 23 | |
| 24 | # image repositories |
| 25 | repository: nexus3.onap.org:10001 |
| 26 | |
| 27 | |
| 28 | # readiness check |
| 29 | readinessRepository: oomk8s |
| 30 | readinessImage: readiness-check:2.0.0 |
| 31 | |
| 32 | # image pull policy |
| 33 | pullPolicy: IfNotPresent |
| 34 | |
| 35 | # sub-chart config |
| 36 | mariadb-galera: |
| 37 | config: |
| 38 | userName: nenguser |
| 39 | userPassword: nenguser123 |
| 40 | mariadbRootPassword: nenguser123 |
| 41 | mysqlDatabase: nengdb |
| 42 | nameOverride: nengdb |
| 43 | service: |
| 44 | name: nengdb |
| 45 | portName: nengdbport |
| 46 | replicaCount: 1 |
| 47 | persistence: |
| 48 | enabled: true |
| 49 | mountSubPath: network-name-gen/data |
| 50 | |
| 51 | |
| 52 | ################################################################# |
| 53 | # Application configuration defaults. |
| 54 | ################################################################# |
| 55 | # application image |
| 56 | repository: nexus3.onap.org:10001 |
Timoney, Dan (dt5972) | 793c7e4 | 2019-09-13 14:27:57 -0400 | [diff] [blame] | 57 | image: onap/ccsdk-apps-ms-neng:0.6.2 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 58 | pullPolicy: IfNotPresent |
| 59 | |
| 60 | # application configuration |
| 61 | config: |
| 62 | dbUrl: jdbc:mysql://nengdb:3306/nengdb |
| 63 | springProfile: live |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 64 | polClientAuth: cHl0aG9uOnRlc3Q= |
| 65 | polBasicAuth: dGVzdHBkcDphbHBoYTEyMw== |
| 66 | polUrl: https://pdp:8081/pdp/api/getConfig |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 67 | polEnv: TEST |
| 68 | polReqId: xx |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 69 | aaiCertPass: changeit |
| 70 | aaiCertPath: /opt/etc/config/aai_keystore |
| 71 | aaiAuth: QUFJOkFBSQ== |
| 72 | aaiUri: https://aai:8443/aai/v14/ |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 73 | |
| 74 | # default number of instances |
| 75 | replicaCount: 1 |
| 76 | |
| 77 | nodeSelector: {} |
| 78 | |
| 79 | affinity: {} |
| 80 | |
| 81 | # probe configuration parameters |
| 82 | liveness: |
| 83 | initialDelaySeconds: 10 |
| 84 | periodSeconds: 10 |
| 85 | # necessary to disable liveness probe when setting breakpoints |
| 86 | # in debugger so K8s doesn't restart unresponsive container |
| 87 | enabled: false |
| 88 | |
| 89 | readiness: |
| 90 | initialDelaySeconds: 10 |
| 91 | periodSeconds: 10 |
| 92 | |
| 93 | service: |
| 94 | type: ClusterIP |
| 95 | name: neng-serv |
| 96 | portName: neng-serv-port |
| 97 | internalPort: 8080 |
| 98 | externalPort: 8080 |
| 99 | |
| 100 | ingress: |
| 101 | enabled: false |
| 102 | |
| 103 | resources: {} |