blob: cfa7171a7dde6812529dd1e5da75165954ad2b8f [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
24 # image repositories
25 repository: nexus3.onap.org:10001
26
27
28 # readiness check
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020029 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khinda60d36d42018-09-24 15:15:48 +000030
31 # image pull policy
32 pullPolicy: IfNotPresent
33
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010034 mariadbGalera: &mariadbGalera
35 #This flag allows SO to instantiate its own mariadb-galera cluster
36 localCluster: false
37 service: mariadb-galera
38 internalPort: 3306
39 nameOverride: mariadb-galera
40
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010041#################################################################
42# Secrets metaconfig
43#################################################################
44secrets:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010045 - uid: neng-db-secret
46 name: '{{ include "common.release" . }}-neng-db-secret'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010047 type: basicAuth
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010048 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
49 login: '{{ .Values.config.db.userName }}'
50 password: '{{ .Values.config.db.userPassword }}'
bt298391566f02020-05-10 17:06:09 -060051 - uid: pol-basic-auth-secret
52 name: '{{ include "common.release" . }}-pol-basic-auth-secret'
53 type: basicAuth
54 externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
55 login: '{{ .Values.config.polBasicAuthUser }}'
56 password: '{{ .Values.config.polBasicAuthPassword }}'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010057
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058# sub-chart config
59mariadb-galera:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010060 config: &mariadbConfig
61 userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret'
62 mysqlDatabase: nengdb
Mandeep Khinda60d36d42018-09-24 15:15:48 +000063 nameOverride: nengdb
64 service:
65 name: nengdb
66 portName: nengdbport
67 replicaCount: 1
68 persistence:
69 enabled: true
70 mountSubPath: network-name-gen/data
71
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010072mariadb-init:
73 config: *mariadbConfig
74 nameOverride: nengdb-init
Mandeep Khinda60d36d42018-09-24 15:15:48 +000075
76#################################################################
77# Application configuration defaults.
78#################################################################
79# application image
80repository: nexus3.onap.org:10001
Dan Timoney994bc302020-05-04 13:55:56 -040081image: onap/ccsdk-apps-ms-neng:0.7.1
Mandeep Khinda60d36d42018-09-24 15:15:48 +000082pullPolicy: IfNotPresent
83
84# application configuration
85config:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010086 db:
87 userName: nenguser
88 # userPassword: password
89 # userCredentialsExternalSecret: some-secret
Mandeep Khinda60d36d42018-09-24 15:15:48 +000090 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020091 polClientAuth: cHl0aG9uOnRlc3Q=
bt298391566f02020-05-10 17:06:09 -060092 polBasicAuthUser: healthcheck
93 polBasicAuthPassword: zb!XztG34
bt298306961eb2020-05-10 15:12:55 -060094 polUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
Mandeep Khinda60d36d42018-09-24 15:15:48 +000095 polEnv: TEST
96 polReqId: xx
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020097 aaiCertPass: changeit
98 aaiCertPath: /opt/etc/config/aai_keystore
99 aaiAuth: QUFJOkFBSQ==
100 aaiUri: https://aai:8443/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000101
102# default number of instances
103replicaCount: 1
104
105nodeSelector: {}
106
107affinity: {}
108
109# probe configuration parameters
110liveness:
111 initialDelaySeconds: 10
112 periodSeconds: 10
113 # necessary to disable liveness probe when setting breakpoints
114 # in debugger so K8s doesn't restart unresponsive container
115 enabled: false
116
117readiness:
118 initialDelaySeconds: 10
119 periodSeconds: 10
120
121service:
122 type: ClusterIP
123 name: neng-serv
124 portName: neng-serv-port
125 internalPort: 8080
126 externalPort: 8080
127
128ingress:
129 enabled: false
130
131resources: {}