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 |
| 57 | image: onap/ccsdk-apps-ms-neng:latest |
| 58 | pullPolicy: IfNotPresent |
| 59 | |
| 60 | # application configuration |
| 61 | config: |
| 62 | dbUrl: jdbc:mysql://nengdb:3306/nengdb |
| 63 | springProfile: live |
| 64 | polClientAuth: TBD |
| 65 | polBasicAuth: TBD |
| 66 | polUrl: TBD |
| 67 | polEnv: TEST |
| 68 | polReqId: xx |
| 69 | aaiCertPass: TBD |
| 70 | aaiCertPath: TBD |
| 71 | aaiUri: TBD |
| 72 | |
| 73 | # default number of instances |
| 74 | replicaCount: 1 |
| 75 | |
| 76 | nodeSelector: {} |
| 77 | |
| 78 | affinity: {} |
| 79 | |
| 80 | # probe configuration parameters |
| 81 | liveness: |
| 82 | initialDelaySeconds: 10 |
| 83 | periodSeconds: 10 |
| 84 | # necessary to disable liveness probe when setting breakpoints |
| 85 | # in debugger so K8s doesn't restart unresponsive container |
| 86 | enabled: false |
| 87 | |
| 88 | readiness: |
| 89 | initialDelaySeconds: 10 |
| 90 | periodSeconds: 10 |
| 91 | |
| 92 | service: |
| 93 | type: ClusterIP |
| 94 | name: neng-serv |
| 95 | portName: neng-serv-port |
| 96 | internalPort: 8080 |
| 97 | externalPort: 8080 |
| 98 | |
| 99 | ingress: |
| 100 | enabled: false |
| 101 | |
| 102 | resources: {} |