blob: f57894919669e45a58796d680aa53b42b2f830c4 [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:
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010028 - uid: cassa-secret
29 type: basicAuth
30 login: '{{ .Values.properties.cassandraUser }}'
31 password: '{{ .Values.properties.cassandraPassword }}'
32 passwordPolicy: required
33
34
35#################################################################
36# Application configuration defaults.
37#################################################################
38# application image
39image: onap/music/music_sb:3.2.40
40pullPolicy: Always
41
42job:
43 host: cassandra
44 port: 9042
45
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040046
47# default number of instances
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010048replicaCount: 1
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040049
50nodeSelector: {}
51
52affinity: {}
53
54# probe configuration parameters
55liveness:
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010056 initialDelaySeconds: 30
57 periodSeconds: 6
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040058 # necessary to disable liveness probe when setting breakpoints
59 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010060 enabled: false
61 port: 8443
62
63
64# Java options that need to be passed to jave on CLI
65#javaOpts: -Xms256m -Xmx2048m
66javaOpts:
67# Options that need to be passed to CLI for Sprngboot, pw is a secret passed in through ENV
68springOpts: --spring.config.location=file:/opt/app/music/etc/music-sb.properties
69# Resource Limit flavor -By Default using small
70flavor: large
71# Segregation for Different environment (Small and Large)
72resources:
73 small:
74 limits:
75 cpu: 1000m
76 memory: 1G
77 requests:
78 cpu: 300m
79 memory: 512Mi
80 large:
81 limits:
82 cpu: 1500m
83 memory: 3Gi
84 requests:
85 cpu: 1000m
86 memory: 2Gi
87 unlimited: {}
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040088
89readiness:
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010090 initialDelaySeconds: 350
91 periodSeconds: 120
92 port: 8443
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -040093
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +010094service:
95 useNodePortExt: true
96 type: NodePort
97 name: music
98 ports:
99 - name: https-api
100 port: 8443
101 nodePort: '07'
Nelson,Thomas(tn1381)(arthurdent3)4807fdf2018-09-19 16:52:36 -0400102
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +0100103# Turn on Debugging true/false
104debug: false
105ingress:
106 enabled: false
107
Sylvain Desbureaux589ecb92020-11-19 17:19:06 +0100108properties:
109 lockUsing: "cassandra"
110 # Comma dilimited list of hosts
111 cassandraHost: "music-cassandra"
112 cassandraUser: "nelson24"
113 cassandraPassword: "nelson24"
114 cassandraConnecttimeoutms: 12000
115 cassandraPort: 9042
116 # Connection Timeout for Cassandra in ms
117 # Read Timeout for Cassandra in ms
118 cassandraReadtimeoutms: 12000
119 keyspaceActive: true
120 # Enable CADI
121 cadi: false
122 # Special headers that may be passed and if they are required.
123 # With the ability to add a Prefix if required.
124 transIdRequired: false
125 transIdPrefix: X-ATT-
126 conversationRequired: false
127 conversationPrefix: X-CSI-
128 clientIdRequired: false
129 clientIdPrefix:
130 messageIdRequired: false
131 messageIdPrefix:
132
133 # sleep time for lock cleanup daemon, negative values turn off daemon
134##### Lock settings
135 retryCount: 3
136 lockLeasePeriod: 6000
137 # sleep time for lock cleanup daemon, negative values turn off daemon
138 lockDaemonSleeptimeMs: 30000
139 #comma separated list of keyspace names
140 keyspaceForLockCleanup:
141
142
143logback:
144 errorLogLevel: info
145 securityLogLevel: info
146 applicationLogLevel: info
147 metricsLogLevel: info
148 auditLogLevel: info
149 # Values must be uppercase: INFO, WARN, CRITICAL,DEBUG etc..
krishnaa96ad1a3ec2021-02-05 15:24:06 +0530150 rootLogLevel: INFO
151
152#sub-charts configuration
153certInitializer:
154 nameOverride: music-cert-initializer
155 fqdn: "music.onap"
156 app_ns: "org.osaaf.aaf"
157 fqi: "music@music.onap.org"
158 fqi_namespace: org.onap.music
159 public_fqdn: "music.onap.org"
160 aafDeployFqi: "deployer@people.osaaf.org"
161 aafDeployPass: demo123456!
162 cadi_latitude: "0.0"
163 cadi_longitude: "0.0"
164 credsPath: /opt/app/osaaf/local
165 appMountPath: /opt/app/aafcertman
166 aaf_add_config: >
Sylvain Desbureauxe27086d2021-02-23 16:14:09 +0100167 echo "$cadi_keystore_password_jks" > {{ .Values.credsPath }}/.pass;