1 # Copyright (C) 2018 AT&T Intellectual Property.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # Global configuration default values that can be inherited by
17 #################################################################
20 # Change to an unused port prefix range to prevent port conflicts
21 # with other instances running within the same k8s cluster
25 pullPolicy: IfNotPresent
27 mariadbGalera: &mariadbGalera
28 #This flag allows SO to instantiate its own mariadb-galera cluster
30 service: mariadb-galera
32 nameOverride: mariadb-galera
34 #################################################################
36 #################################################################
39 name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
41 externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
42 login: '{{ .Values.config.db.userName }}'
43 password: '{{ .Values.config.db.userPassword }}'
44 - uid: pol-basic-auth-secret
45 name: '{{ include "common.release" . }}-pol-basic-auth-secret'
47 externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
48 login: '{{ .Values.config.polBasicAuthUser }}'
49 password: '{{ .Values.config.polBasicAuthPassword }}'
56 externalSecret: *dbUserSecretName
57 name: &mysqlDbName nengdb
65 mountSubPath: network-name-gen/data
69 userCredentialsExternalSecret: *dbUserSecretName
70 mysqlDatabase: *mysqlDbName
71 nameOverride: nengdb-init
73 #################################################################
74 # Application configuration defaults.
75 #################################################################
77 image: onap/ccsdk-apps-ms-neng:1.1.1
78 pullPolicy: IfNotPresent
80 # application configuration
84 # userPassword: password
85 # userCredentialsExternalSecret: some-secret
87 polClientAuth: cHl0aG9uOnRlc3Q=
88 polBasicAuthUser: healthcheck
89 polBasicAuthPassword: zb!XztG34
90 polUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
94 aaiCertPath: /opt/etc/config/aai_keystore
96 aaiUri: https://aai:8443/aai/v14/
98 # default number of instances
105 # probe configuration parameters
107 initialDelaySeconds: 10
109 # necessary to disable liveness probe when setting breakpoints
110 # in debugger so K8s doesn't restart unresponsive container
114 initialDelaySeconds: 10
120 portName: neng-serv-port