blob: 0defa97c263aeea4250d8900b044eb25885d228e [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 Opasiak9df4c552020-02-14 16:45:20 +010035 mariadbGalera: &mariadbGalera
36 #This flag allows SO to instantiate its own mariadb-galera cluster
37 localCluster: false
38 service: mariadb-galera
39 internalPort: 3306
40 nameOverride: mariadb-galera
41
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010042#################################################################
43# Secrets metaconfig
44#################################################################
45secrets:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010046 - uid: neng-db-secret
47 name: '{{ include "common.release" . }}-neng-db-secret'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010048 type: basicAuth
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010049 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
50 login: '{{ .Values.config.db.userName }}'
51 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak5b518812020-01-22 00:08:05 +010052
Mandeep Khinda60d36d42018-09-24 15:15:48 +000053# sub-chart config
54mariadb-galera:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010055 config: &mariadbConfig
56 userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret'
57 mysqlDatabase: nengdb
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058 nameOverride: nengdb
59 service:
60 name: nengdb
61 portName: nengdbport
62 replicaCount: 1
63 persistence:
64 enabled: true
65 mountSubPath: network-name-gen/data
66
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010067mariadb-init:
68 config: *mariadbConfig
69 nameOverride: nengdb-init
Mandeep Khinda60d36d42018-09-24 15:15:48 +000070
71#################################################################
72# Application configuration defaults.
73#################################################################
74# application image
75repository: nexus3.onap.org:10001
Timoney, Dan (dt5972)4fb85c12019-09-22 20:03:27 -040076image: onap/ccsdk-apps-ms-neng:0.6.3
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077pullPolicy: IfNotPresent
78
79# application configuration
80config:
Krzysztof Opasiak9df4c552020-02-14 16:45:20 +010081 db:
82 userName: nenguser
83 # userPassword: password
84 # userCredentialsExternalSecret: some-secret
Mandeep Khinda60d36d42018-09-24 15:15:48 +000085 springProfile: live
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020086 polClientAuth: cHl0aG9uOnRlc3Q=
87 polBasicAuth: dGVzdHBkcDphbHBoYTEyMw==
88 polUrl: https://pdp:8081/pdp/api/getConfig
Mandeep Khinda60d36d42018-09-24 15:15:48 +000089 polEnv: TEST
90 polReqId: xx
Alexis de Talhouëtdb36b422018-09-27 22:43:18 +020091 aaiCertPass: changeit
92 aaiCertPath: /opt/etc/config/aai_keystore
93 aaiAuth: QUFJOkFBSQ==
94 aaiUri: https://aai:8443/aai/v14/
Mandeep Khinda60d36d42018-09-24 15:15:48 +000095
96# default number of instances
97replicaCount: 1
98
99nodeSelector: {}
100
101affinity: {}
102
103# probe configuration parameters
104liveness:
105 initialDelaySeconds: 10
106 periodSeconds: 10
107 # necessary to disable liveness probe when setting breakpoints
108 # in debugger so K8s doesn't restart unresponsive container
109 enabled: false
110
111readiness:
112 initialDelaySeconds: 10
113 periodSeconds: 10
114
115service:
116 type: ClusterIP
117 name: neng-serv
118 portName: neng-serv-port
119 internalPort: 8080
120 externalPort: 8080
121
122ingress:
123 enabled: false
124
125resources: {}