blob: bfa56372752aeeebf551f074c9b8a6304fce8216 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# 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#################################################################
18global:
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 Khinda60d36d42018-09-24 15:15:48 +000024 # image pull policy
25 pullPolicy: IfNotPresent
26
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010027 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 Opasiak5b518812020-01-22 00:08:05 +010034#################################################################
35# Secrets metaconfig
36#################################################################
37secrets:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010038 - uid: neng-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010039 name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010040 type: basicAuth
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010041 externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010042 login: '{{ .Values.config.db.userName }}'
43 password: '{{ .Values.config.db.userPassword }}'
bt298391566f02020-05-10 17:06:09 -060044 - 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 Opasiak5b518812020-01-22 00:08:05 +010050
Mandeep Khinda60d36d42018-09-24 15:15:48 +000051# sub-chart config
52mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010053 db:
54 user: sdnctl
55 # password:
56 externalSecret: *dbUserSecretName
57 name: &mysqlDbName nengdb
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058 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 Opasiak9df4c552020-02-14 16:45:20 +010067mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010068 config:
69 userCredentialsExternalSecret: *dbUserSecretName
70 mysqlDatabase: *mysqlDbName
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010071 nameOverride: nengdb-init
Mandeep Khinda60d36d42018-09-24 15:15:48 +000072
73#################################################################
74# Application configuration defaults.
75#################################################################
76# application image
Timoney, Dan (dt5972)51c00d62022-09-28 09:42:07 -040077image: onap/ccsdk-apps-ms-neng:1.4.0
Mandeep Khinda60d36d42018-09-24 15:15:48 +000078pullPolicy: IfNotPresent
79
80# application configuration
81config:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010082 db:
83 userName: nenguser
84 # userPassword: password
85 # userCredentialsExternalSecret: some-secret
Mandeep Khinda60d36d42018-09-24 15:15:48 +000086 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020087 polClientAuth: cHl0aG9uOnRlc3Q=
bt298391566f02020-05-10 17:06:09 -060088 polBasicAuthUser: healthcheck
89 polBasicAuthPassword: zb!XztG34
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +020090 polUrl:
91 https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
92 http: http://policy-xacml-pdp:8080/policy/pdpx/v1/decision
Mandeep Khinda60d36d42018-09-24 15:15:48 +000093 polEnv: TEST
94 polReqId: xx
Dan Timoney7ec6cb62021-10-26 10:59:36 -040095 disableHostVerification: true
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020096 aaiCertPass: changeit
97 aaiCertPath: /opt/etc/config/aai_keystore
98 aaiAuth: QUFJOkFBSQ==
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +020099 aaiUri:
100 https: https://aai:8443/aai/v14/
101 http: http://aai:8080/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000102
103# default number of instances
104replicaCount: 1
105
106nodeSelector: {}
107
108affinity: {}
109
110# probe configuration parameters
111liveness:
112 initialDelaySeconds: 10
113 periodSeconds: 10
114 # necessary to disable liveness probe when setting breakpoints
115 # in debugger so K8s doesn't restart unresponsive container
116 enabled: false
117
118readiness:
119 initialDelaySeconds: 10
120 periodSeconds: 10
121
122service:
123 type: ClusterIP
124 name: neng-serv
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200125 portName: http
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000126 internalPort: 8080
127 externalPort: 8080
128
129ingress:
130 enabled: false
131
132resources: {}