blob: 31df352de7a52f2ea3bb6b87a86d359b438ea50b [file] [log] [blame]
Tschaen, Brendan08d7b632020-04-02 19:49:13 +00001# Copyright © 2018-2020 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved.
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -04002#
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#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010020 nodePortPrefixExt: 304
21 truststore: truststoreONAPall.jks
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040022
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040023
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010024#################################################################
25# Secrets metaconfig
26#################################################################
27secrets:
28 - uid: music-certs
29 name: keystore.jks
30 type: generic
31 filePaths:
32 - resources/keys/org.onap.music.jks
33 - uid: music-keystore-pw
34 name: keystore-pw
35 type: password
36 password: '{{ .Values.keystorePassword }}'
37 passwordPolicy: required
38 - uid: cassa-secret
39 type: basicAuth
40 login: '{{ .Values.properties.cassandraUser }}'
41 password: '{{ .Values.properties.cassandraPassword }}'
42 passwordPolicy: required
43
44
45#################################################################
46# Application configuration defaults.
47#################################################################
48# application image
49image: onap/music/music_sb:3.2.40
50pullPolicy: Always
51
52job:
53 host: cassandra
54 port: 9042
55
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040056
57# default number of instances
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010058replicaCount: 1
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040059
60nodeSelector: {}
61
62affinity: {}
63
64# probe configuration parameters
65liveness:
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010066 initialDelaySeconds: 30
67 periodSeconds: 6
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040068 # necessary to disable liveness probe when setting breakpoints
69 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010070 enabled: false
71 port: 8443
72
73
74# Java options that need to be passed to jave on CLI
75#javaOpts: -Xms256m -Xmx2048m
76javaOpts:
77# Options that need to be passed to CLI for Sprngboot, pw is a secret passed in through ENV
78springOpts: --spring.config.location=file:/opt/app/music/etc/music-sb.properties
79# Resource Limit flavor -By Default using small
80flavor: large
81# Segregation for Different environment (Small and Large)
82resources:
83 small:
84 limits:
85 cpu: 1000m
86 memory: 1G
87 requests:
88 cpu: 300m
89 memory: 512Mi
90 large:
91 limits:
92 cpu: 1500m
93 memory: 3Gi
94 requests:
95 cpu: 1000m
96 memory: 2Gi
97 unlimited: {}
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040098
99readiness:
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +0100100 initialDelaySeconds: 350
101 periodSeconds: 120
102 port: 8443
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -0400103
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +0100104service:
105 useNodePortExt: true
106 type: NodePort
107 name: music
108 ports:
109 - name: https-api
110 port: 8443
111 nodePort: '07'
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -0400112
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +0100113# Turn on Debugging true/false
114debug: false
115ingress:
116 enabled: false
117
118keystorePassword: "ysF9CVS+xvuXr0vf&fRa5lew"
119
120properties:
121 lockUsing: "cassandra"
122 # Comma dilimited list of hosts
123 cassandraHost: "music-cassandra"
124 cassandraUser: "nelson24"
125 cassandraPassword: "nelson24"
126 cassandraConnecttimeoutms: 12000
127 cassandraPort: 9042
128 # Connection Timeout for Cassandra in ms
129 # Read Timeout for Cassandra in ms
130 cassandraReadtimeoutms: 12000
131 keyspaceActive: true
132 # Enable CADI
133 cadi: false
134 # Special headers that may be passed and if they are required.
135 # With the ability to add a Prefix if required.
136 transIdRequired: false
137 transIdPrefix: X-ATT-
138 conversationRequired: false
139 conversationPrefix: X-CSI-
140 clientIdRequired: false
141 clientIdPrefix:
142 messageIdRequired: false
143 messageIdPrefix:
144
145 # sleep time for lock cleanup daemon, negative values turn off daemon
146##### Lock settings
147 retryCount: 3
148 lockLeasePeriod: 6000
149 # sleep time for lock cleanup daemon, negative values turn off daemon
150 lockDaemonSleeptimeMs: 30000
151 #comma separated list of keyspace names
152 keyspaceForLockCleanup:
153
154
155logback:
156 errorLogLevel: info
157 securityLogLevel: info
158 applicationLogLevel: info
159 metricsLogLevel: info
160 auditLogLevel: info
161 # Values must be uppercase: INFO, WARN, CRITICAL,DEBUG etc..
162 rootLogLevel: INFO