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