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 | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 35 | mariadbGalera: &mariadbGalera |
| 36 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 37 | localCluster: false |
| 38 | service: mariadb-galera |
| 39 | internalPort: 3306 |
| 40 | nameOverride: mariadb-galera |
| 41 | |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 42 | ################################################################# |
| 43 | # Secrets metaconfig |
| 44 | ################################################################# |
| 45 | secrets: |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 46 | - uid: neng-db-secret |
| 47 | name: '{{ include "common.release" . }}-neng-db-secret' |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 48 | type: basicAuth |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 49 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 50 | login: '{{ .Values.config.db.userName }}' |
| 51 | password: '{{ .Values.config.db.userPassword }}' |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 52 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 53 | # sub-chart config |
| 54 | mariadb-galera: |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 55 | config: &mariadbConfig |
| 56 | userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret' |
| 57 | mysqlDatabase: nengdb |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 58 | nameOverride: nengdb |
| 59 | service: |
| 60 | name: nengdb |
| 61 | portName: nengdbport |
| 62 | replicaCount: 1 |
| 63 | persistence: |
| 64 | enabled: true |
| 65 | mountSubPath: network-name-gen/data |
| 66 | |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 67 | mariadb-init: |
| 68 | config: *mariadbConfig |
| 69 | nameOverride: nengdb-init |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 70 | |
| 71 | ################################################################# |
| 72 | # Application configuration defaults. |
| 73 | ################################################################# |
| 74 | # application image |
| 75 | repository: nexus3.onap.org:10001 |
Dan Timoney | 994bc30 | 2020-05-04 13:55:56 -0400 | [diff] [blame] | 76 | image: onap/ccsdk-apps-ms-neng:0.7.1 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 77 | pullPolicy: IfNotPresent |
| 78 | |
| 79 | # application configuration |
| 80 | config: |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 81 | db: |
| 82 | userName: nenguser |
| 83 | # userPassword: password |
| 84 | # userCredentialsExternalSecret: some-secret |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 85 | springProfile: live |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 86 | polClientAuth: cHl0aG9uOnRlc3Q= |
| 87 | polBasicAuth: dGVzdHBkcDphbHBoYTEyMw== |
| 88 | polUrl: https://pdp:8081/pdp/api/getConfig |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 89 | polEnv: TEST |
| 90 | polReqId: xx |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 91 | aaiCertPass: changeit |
| 92 | aaiCertPath: /opt/etc/config/aai_keystore |
| 93 | aaiAuth: QUFJOkFBSQ== |
| 94 | aaiUri: https://aai:8443/aai/v14/ |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | |
| 96 | # default number of instances |
| 97 | replicaCount: 1 |
| 98 | |
| 99 | nodeSelector: {} |
| 100 | |
| 101 | affinity: {} |
| 102 | |
| 103 | # probe configuration parameters |
| 104 | liveness: |
| 105 | initialDelaySeconds: 10 |
| 106 | periodSeconds: 10 |
| 107 | # necessary to disable liveness probe when setting breakpoints |
| 108 | # in debugger so K8s doesn't restart unresponsive container |
| 109 | enabled: false |
| 110 | |
| 111 | readiness: |
| 112 | initialDelaySeconds: 10 |
| 113 | periodSeconds: 10 |
| 114 | |
| 115 | service: |
| 116 | type: ClusterIP |
| 117 | name: neng-serv |
| 118 | portName: neng-serv-port |
| 119 | internalPort: 8080 |
| 120 | externalPort: 8080 |
| 121 | |
| 122 | ingress: |
| 123 | enabled: false |
| 124 | |
| 125 | resources: {} |