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