blob: adfa468d6e4f99492db32009d108b15a730187cf [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
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020029 #When changing it to "true", also set "globalCluster: false"
30 #as the dependency check will not work otherwise (Chart.yaml)
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010031 localCluster: false
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020032 globalCluster: true
Andreas Geisslercfd84342023-08-16 17:18:49 +020033 service: mariadb-galera-primary
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010034 internalPort: 3306
35 nameOverride: mariadb-galera
36
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010037#################################################################
38# Secrets metaconfig
39#################################################################
40secrets:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010041 - uid: neng-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010042 name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010043 type: basicAuth
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010044 externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010045 login: '{{ .Values.config.db.userName }}'
46 password: '{{ .Values.config.db.userPassword }}'
bt298391566f02020-05-10 17:06:09 -060047 - 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 Opasiak5b518812020-01-22 00:08:05 +010053
Mandeep Khinda60d36d42018-09-24 15:15:48 +000054# sub-chart config
55mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010056 db:
57 user: sdnctl
58 # password:
59 externalSecret: *dbUserSecretName
60 name: &mysqlDbName nengdb
Mandeep Khinda60d36d42018-09-24 15:15:48 +000061 nameOverride: nengdb
62 service:
63 name: nengdb
64 portName: nengdbport
65 replicaCount: 1
Andreas Geisslercfd84342023-08-16 17:18:49 +020066 mariadbOperator:
67 galera:
68 enabled: false
69
Mandeep Khinda60d36d42018-09-24 15:15:48 +000070 persistence:
71 enabled: true
72 mountSubPath: network-name-gen/data
73
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010074mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010075 config:
76 userCredentialsExternalSecret: *dbUserSecretName
77 mysqlDatabase: *mysqlDbName
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010078 nameOverride: nengdb-init
vladimir turokd8044182023-07-27 16:28:36 +020079 serviceAccount:
80 nameOverride: nengdb-init
Mandeep Khinda60d36d42018-09-24 15:15:48 +000081
82#################################################################
83# Application configuration defaults.
84#################################################################
85# application image
Timoney, Dan (dt5972)51c00d62022-09-28 09:42:07 -040086image: onap/ccsdk-apps-ms-neng:1.4.0
Mandeep Khinda60d36d42018-09-24 15:15:48 +000087pullPolicy: IfNotPresent
88
89# application configuration
90config:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010091 db:
92 userName: nenguser
93 # userPassword: password
94 # userCredentialsExternalSecret: some-secret
Mandeep Khinda60d36d42018-09-24 15:15:48 +000095 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020096 polClientAuth: cHl0aG9uOnRlc3Q=
bt298391566f02020-05-10 17:06:09 -060097 polBasicAuthUser: healthcheck
98 polBasicAuthPassword: zb!XztG34
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +020099 polUrl:
100 https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
Andreas Geissler0ab08062023-01-24 10:24:30 +0100101 http: http://policy-xacml-pdp:6969/policy/pdpx/v1/decision
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000102 polEnv: TEST
103 polReqId: xx
Dan Timoney7ec6cb62021-10-26 10:59:36 -0400104 disableHostVerification: true
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +0200105 aaiCertPass: changeit
106 aaiCertPath: /opt/etc/config/aai_keystore
107 aaiAuth: QUFJOkFBSQ==
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200108 aaiUri:
109 https: https://aai:8443/aai/v14/
Andreas Geissler0ab08062023-01-24 10:24:30 +0100110 http: http://aai:80/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000111
112# default number of instances
113replicaCount: 1
114
115nodeSelector: {}
116
117affinity: {}
118
119# probe configuration parameters
120liveness:
121 initialDelaySeconds: 10
122 periodSeconds: 10
123 # necessary to disable liveness probe when setting breakpoints
124 # in debugger so K8s doesn't restart unresponsive container
125 enabled: false
126
127readiness:
128 initialDelaySeconds: 10
129 periodSeconds: 10
130
131service:
132 type: ClusterIP
133 name: neng-serv
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200134 portName: http
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000135 internalPort: 8080
136 externalPort: 8080
137
138ingress:
139 enabled: false
140
141resources: {}
Andreas Geissler62126532023-08-08 12:57:52 +0200142
143#Pods Service Account
144serviceAccount:
145 nameOverride: network-name-gen
146 roles:
147 - read