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 | |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 35 | ################################################################# |
| 36 | # Secrets metaconfig |
| 37 | ################################################################# |
| 38 | secrets: |
| 39 | - uid: "db-user-creds" |
| 40 | externalSecret: '{{- include "common.mariadb.secret.userCredentialsSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}' |
| 41 | type: basicAuth |
| 42 | - uid: "db-root-pass" |
| 43 | externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}' |
| 44 | type: password |
| 45 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 46 | # sub-chart config |
| 47 | mariadb-galera: |
| 48 | config: |
| 49 | userName: nenguser |
| 50 | userPassword: nenguser123 |
| 51 | mariadbRootPassword: nenguser123 |
| 52 | mysqlDatabase: nengdb |
| 53 | nameOverride: nengdb |
| 54 | service: |
| 55 | name: nengdb |
| 56 | portName: nengdbport |
| 57 | replicaCount: 1 |
| 58 | persistence: |
| 59 | enabled: true |
| 60 | mountSubPath: network-name-gen/data |
| 61 | |
| 62 | |
| 63 | ################################################################# |
| 64 | # Application configuration defaults. |
| 65 | ################################################################# |
| 66 | # application image |
| 67 | repository: nexus3.onap.org:10001 |
Timoney, Dan (dt5972) | 4fb85c1 | 2019-09-22 20:03:27 -0400 | [diff] [blame] | 68 | image: onap/ccsdk-apps-ms-neng:0.6.3 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 69 | pullPolicy: IfNotPresent |
| 70 | |
| 71 | # application configuration |
| 72 | config: |
| 73 | dbUrl: jdbc:mysql://nengdb:3306/nengdb |
| 74 | springProfile: live |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 75 | polClientAuth: cHl0aG9uOnRlc3Q= |
| 76 | polBasicAuth: dGVzdHBkcDphbHBoYTEyMw== |
| 77 | polUrl: https://pdp:8081/pdp/api/getConfig |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 78 | polEnv: TEST |
| 79 | polReqId: xx |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 80 | aaiCertPass: changeit |
| 81 | aaiCertPath: /opt/etc/config/aai_keystore |
| 82 | aaiAuth: QUFJOkFBSQ== |
| 83 | aaiUri: https://aai:8443/aai/v14/ |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 84 | |
| 85 | # default number of instances |
| 86 | replicaCount: 1 |
| 87 | |
| 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 |
| 98 | enabled: false |
| 99 | |
| 100 | readiness: |
| 101 | initialDelaySeconds: 10 |
| 102 | periodSeconds: 10 |
| 103 | |
| 104 | service: |
| 105 | type: ClusterIP |
| 106 | name: neng-serv |
| 107 | portName: neng-serv-port |
| 108 | internalPort: 8080 |
| 109 | externalPort: 8080 |
| 110 | |
| 111 | ingress: |
| 112 | enabled: false |
| 113 | |
| 114 | resources: {} |