blob: d5897013c48202100c86abf238e4c8b0a0db3000 [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
29 readinessRepository: oomk8s
30 readinessImage: readiness-check:2.0.0
31
32 # image pull policy
33 pullPolicy: IfNotPresent
34
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010035#################################################################
36# Secrets metaconfig
37#################################################################
38secrets:
39 - uid: "db-user-creds"
40 externalSecret: '{{- include "common.mariadb.secret.userCredentialsSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}'
41 type: basicAuth
42 - uid: "db-root-pass"
43 externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}'
44 type: password
45
Mandeep Khinda60d36d42018-09-24 15:15:48 +000046# sub-chart config
47mariadb-galera:
48 config:
49 userName: nenguser
50 userPassword: nenguser123
51 mariadbRootPassword: nenguser123
52 mysqlDatabase: nengdb
53 nameOverride: nengdb
54 service:
55 name: nengdb
56 portName: nengdbport
57 replicaCount: 1
58 persistence:
59 enabled: true
60 mountSubPath: network-name-gen/data
61
62
63#################################################################
64# Application configuration defaults.
65#################################################################
66# application image
67repository: nexus3.onap.org:10001
Timoney, Dan (dt5972)4fb85c12019-09-22 20:03:27 -040068image: onap/ccsdk-apps-ms-neng:0.6.3
Mandeep Khinda60d36d42018-09-24 15:15:48 +000069pullPolicy: IfNotPresent
70
71# application configuration
72config:
73 dbUrl: jdbc:mysql://nengdb:3306/nengdb
74 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020075 polClientAuth: cHl0aG9uOnRlc3Q=
76 polBasicAuth: dGVzdHBkcDphbHBoYTEyMw==
77 polUrl: https://pdp:8081/pdp/api/getConfig
Mandeep Khinda60d36d42018-09-24 15:15:48 +000078 polEnv: TEST
79 polReqId: xx
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020080 aaiCertPass: changeit
81 aaiCertPath: /opt/etc/config/aai_keystore
82 aaiAuth: QUFJOkFBSQ==
83 aaiUri: https://aai:8443/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +000084
85# default number of instances
86replicaCount: 1
87
88nodeSelector: {}
89
90affinity: {}
91
92# probe configuration parameters
93liveness:
94 initialDelaySeconds: 10
95 periodSeconds: 10
96 # necessary to disable liveness probe when setting breakpoints
97 # in debugger so K8s doesn't restart unresponsive container
98 enabled: false
99
100readiness:
101 initialDelaySeconds: 10
102 periodSeconds: 10
103
104service:
105 type: ClusterIP
106 name: neng-serv
107 portName: neng-serv-port
108 internalPort: 8080
109 externalPort: 8080
110
111ingress:
112 enabled: false
113
114resources: {}