blob: e028e39545402b52d8725b1c51206976ff5fdd45 [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
Andreas Geissler2c1ba292024-01-10 22:20:05 +010028 # flag to enable the DB creation via mariadb-operator
29 useOperator: true
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010030 #This flag allows SO to instantiate its own mariadb-galera cluster
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020031 #When changing it to "true", also set "globalCluster: false"
32 #as the dependency check will not work otherwise (Chart.yaml)
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010033 localCluster: false
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020034 globalCluster: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020035 service: mariadb-galera
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010036 internalPort: 3306
37 nameOverride: mariadb-galera
38
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010039#################################################################
40# Secrets metaconfig
41#################################################################
42secrets:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010043 - uid: neng-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010044 name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010045 type: basicAuth
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010046 externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010047 login: '{{ .Values.config.db.userName }}'
48 password: '{{ .Values.config.db.userPassword }}'
bt298391566f02020-05-10 17:06:09 -060049 - uid: pol-basic-auth-secret
50 name: '{{ include "common.release" . }}-pol-basic-auth-secret'
51 type: basicAuth
52 externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
53 login: '{{ .Values.config.polBasicAuthUser }}'
54 password: '{{ .Values.config.polBasicAuthPassword }}'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010055
Mandeep Khinda60d36d42018-09-24 15:15:48 +000056# sub-chart config
57mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010058 db:
59 user: sdnctl
60 # password:
61 externalSecret: *dbUserSecretName
62 name: &mysqlDbName nengdb
Mandeep Khinda60d36d42018-09-24 15:15:48 +000063 nameOverride: nengdb
64 service:
65 name: nengdb
66 portName: nengdbport
67 replicaCount: 1
Andreas Geisslercfd84342023-08-16 17:18:49 +020068 mariadbOperator:
69 galera:
70 enabled: false
71
Mandeep Khinda60d36d42018-09-24 15:15:48 +000072 persistence:
73 enabled: true
74 mountSubPath: network-name-gen/data
75
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010076mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010077 config:
78 userCredentialsExternalSecret: *dbUserSecretName
79 mysqlDatabase: *mysqlDbName
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010080 nameOverride: nengdb-init
vladimir turokd8044182023-07-27 16:28:36 +020081 serviceAccount:
82 nameOverride: nengdb-init
Mandeep Khinda60d36d42018-09-24 15:15:48 +000083
84#################################################################
85# Application configuration defaults.
86#################################################################
87# application image
Timoney, Dan (dt5972)51c00d62022-09-28 09:42:07 -040088image: onap/ccsdk-apps-ms-neng:1.4.0
Mandeep Khinda60d36d42018-09-24 15:15:48 +000089pullPolicy: IfNotPresent
90
91# application configuration
92config:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010093 db:
94 userName: nenguser
95 # userPassword: password
96 # userCredentialsExternalSecret: some-secret
Mandeep Khinda60d36d42018-09-24 15:15:48 +000097 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020098 polClientAuth: cHl0aG9uOnRlc3Q=
bt298391566f02020-05-10 17:06:09 -060099 polBasicAuthUser: healthcheck
100 polBasicAuthPassword: zb!XztG34
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200101 polUrl:
102 https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
Andreas Geissler0ab08062023-01-24 10:24:30 +0100103 http: http://policy-xacml-pdp:6969/policy/pdpx/v1/decision
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000104 polEnv: TEST
105 polReqId: xx
Dan Timoney7ec6cb62021-10-26 10:59:36 -0400106 disableHostVerification: true
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +0200107 aaiCertPass: changeit
108 aaiCertPath: /opt/etc/config/aai_keystore
109 aaiAuth: QUFJOkFBSQ==
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200110 aaiUri:
111 https: https://aai:8443/aai/v14/
Andreas Geissler0ab08062023-01-24 10:24:30 +0100112 http: http://aai:80/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000113
114# default number of instances
115replicaCount: 1
116
117nodeSelector: {}
118
119affinity: {}
120
121# probe configuration parameters
122liveness:
123 initialDelaySeconds: 10
124 periodSeconds: 10
125 # necessary to disable liveness probe when setting breakpoints
126 # in debugger so K8s doesn't restart unresponsive container
127 enabled: false
128
129readiness:
130 initialDelaySeconds: 10
131 periodSeconds: 10
132
133service:
134 type: ClusterIP
135 name: neng-serv
Radoslaw Chmiel96397bc2022-06-02 19:28:13 +0200136 portName: http
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000137 internalPort: 8080
138 externalPort: 8080
139
140ingress:
141 enabled: false
142
143resources: {}
Andreas Geissler62126532023-08-08 12:57:52 +0200144
145#Pods Service Account
146serviceAccount:
147 nameOverride: network-name-gen
148 roles:
149 - read