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 |
Andreas Geissler | f51bbef | 2023-03-31 12:07:23 +0200 | [diff] [blame] | 29 | #When changing it to "true", also set "globalCluster: false" |
| 30 | #as the dependency check will not work otherwise (Chart.yaml) |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 31 | localCluster: false |
Andreas Geissler | f51bbef | 2023-03-31 12:07:23 +0200 | [diff] [blame] | 32 | globalCluster: true |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 33 | service: mariadb-galera |
| 34 | internalPort: 3306 |
| 35 | nameOverride: mariadb-galera |
| 36 | |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 37 | ################################################################# |
| 38 | # Secrets metaconfig |
| 39 | ################################################################# |
| 40 | secrets: |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 41 | - uid: neng-db-secret |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 42 | name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret' |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 43 | type: basicAuth |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 44 | externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}' |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 45 | login: '{{ .Values.config.db.userName }}' |
| 46 | password: '{{ .Values.config.db.userPassword }}' |
bt2983 | 91566f0 | 2020-05-10 17:06:09 -0600 | [diff] [blame] | 47 | - uid: pol-basic-auth-secret |
| 48 | name: '{{ include "common.release" . }}-pol-basic-auth-secret' |
| 49 | type: basicAuth |
| 50 | externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}' |
| 51 | login: '{{ .Values.config.polBasicAuthUser }}' |
| 52 | password: '{{ .Values.config.polBasicAuthPassword }}' |
Krzysztof Opasiak | 5b51881 | 2020-01-22 00:08:05 +0100 | [diff] [blame] | 53 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 54 | # sub-chart config |
| 55 | mariadb-galera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 56 | db: |
| 57 | user: sdnctl |
| 58 | # password: |
| 59 | externalSecret: *dbUserSecretName |
| 60 | name: &mysqlDbName nengdb |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 61 | nameOverride: nengdb |
| 62 | service: |
| 63 | name: nengdb |
| 64 | portName: nengdbport |
| 65 | replicaCount: 1 |
| 66 | persistence: |
| 67 | enabled: true |
| 68 | mountSubPath: network-name-gen/data |
| 69 | |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 70 | mariadb-init: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 71 | config: |
| 72 | userCredentialsExternalSecret: *dbUserSecretName |
| 73 | mysqlDatabase: *mysqlDbName |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 74 | nameOverride: nengdb-init |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame^] | 75 | serviceAccount: |
| 76 | nameOverride: nengdb-init |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 77 | |
| 78 | ################################################################# |
| 79 | # Application configuration defaults. |
| 80 | ################################################################# |
| 81 | # application image |
Timoney, Dan (dt5972) | 51c00d6 | 2022-09-28 09:42:07 -0400 | [diff] [blame] | 82 | image: onap/ccsdk-apps-ms-neng:1.4.0 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 83 | pullPolicy: IfNotPresent |
| 84 | |
| 85 | # application configuration |
| 86 | config: |
Krzysztof Opasiak | 9df4c55 | 2020-02-14 16:45:20 +0100 | [diff] [blame] | 87 | db: |
| 88 | userName: nenguser |
| 89 | # userPassword: password |
| 90 | # userCredentialsExternalSecret: some-secret |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 91 | springProfile: live |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 92 | polClientAuth: cHl0aG9uOnRlc3Q= |
bt2983 | 91566f0 | 2020-05-10 17:06:09 -0600 | [diff] [blame] | 93 | polBasicAuthUser: healthcheck |
| 94 | polBasicAuthPassword: zb!XztG34 |
Radoslaw Chmiel | 96397bc | 2022-06-02 19:28:13 +0200 | [diff] [blame] | 95 | polUrl: |
| 96 | https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision |
Andreas Geissler | 0ab0806 | 2023-01-24 10:24:30 +0100 | [diff] [blame] | 97 | http: http://policy-xacml-pdp:6969/policy/pdpx/v1/decision |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 98 | polEnv: TEST |
| 99 | polReqId: xx |
Dan Timoney | 7ec6cb6 | 2021-10-26 10:59:36 -0400 | [diff] [blame] | 100 | disableHostVerification: true |
Alexis de Talhouët | db36b42 | 2018-09-27 22:43:18 +0200 | [diff] [blame] | 101 | aaiCertPass: changeit |
| 102 | aaiCertPath: /opt/etc/config/aai_keystore |
| 103 | aaiAuth: QUFJOkFBSQ== |
Radoslaw Chmiel | 96397bc | 2022-06-02 19:28:13 +0200 | [diff] [blame] | 104 | aaiUri: |
| 105 | https: https://aai:8443/aai/v14/ |
Andreas Geissler | 0ab0806 | 2023-01-24 10:24:30 +0100 | [diff] [blame] | 106 | http: http://aai:80/aai/v14/ |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 107 | |
| 108 | # default number of instances |
| 109 | replicaCount: 1 |
| 110 | |
| 111 | nodeSelector: {} |
| 112 | |
| 113 | affinity: {} |
| 114 | |
| 115 | # probe configuration parameters |
| 116 | liveness: |
| 117 | initialDelaySeconds: 10 |
| 118 | periodSeconds: 10 |
| 119 | # necessary to disable liveness probe when setting breakpoints |
| 120 | # in debugger so K8s doesn't restart unresponsive container |
| 121 | enabled: false |
| 122 | |
| 123 | readiness: |
| 124 | initialDelaySeconds: 10 |
| 125 | periodSeconds: 10 |
| 126 | |
| 127 | service: |
| 128 | type: ClusterIP |
| 129 | name: neng-serv |
Radoslaw Chmiel | 96397bc | 2022-06-02 19:28:13 +0200 | [diff] [blame] | 130 | portName: http |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 131 | internalPort: 8080 |
| 132 | externalPort: 8080 |
| 133 | |
| 134 | ingress: |
| 135 | enabled: false |
| 136 | |
| 137 | resources: {} |