faa5a6223df28672c20587a36514952c4ac7f8b8
[oom.git] / kubernetes / common / music / charts / music / values.yaml
1 # Copyright © 2020 AT&T, Amdocs, Bell Canada
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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   repository: nexus3.onap.org:10001
22
23   envsubstImage: dibi/envsubst
24
25   # readiness check
26   readinessRepository: oomk8s
27   readinessImage: readiness-check:2.0.0
28
29   # logging agent
30   loggingRepository: docker.elastic.co
31   loggingImage: beats/filebeat:5.5.0
32
33   truststore: truststoreONAPall.jks
34
35
36 #################################################################
37 # Secrets metaconfig
38 #################################################################
39 secrets:
40   - uid: music-certs
41     name: keystore.jks
42     type: generic
43     filePaths:
44       - resources/keys/org.onap.music.jks
45   - uid: music-keystore-pw
46     name: keystore-pw
47     type: password
48     password: '{{ .Values.keystorePassword }}'
49     passwordPolicy: required
50   - uid: cassa-secret
51     type: basicAuth
52     login: '{{ .Values.properties.cassandraUser }}'
53     password: '{{ .Values.properties.cassandraPassword }}'
54     passwordPolicy: required
55
56
57 #################################################################
58 # Application configuration defaults.
59 #################################################################
60 # application image
61 repository: nexus3.onap.org:10001
62 image: onap/music/music_sb:3.2.40
63 pullPolicy: Always
64
65 job:
66   host: cassandra
67   port: 9042
68   busybox:
69     image: library/busybox:latest
70
71
72 # default number of instances
73 replicaCount: 1
74
75 nodeSelector: {}
76
77 affinity: {}
78
79 # probe configuration parameters
80 liveness:
81   initialDelaySeconds: 30
82   periodSeconds: 6
83   # necessary to disable liveness probe when setting breakpoints
84   # in debugger so K8s doesn't restart unresponsive container
85   enabled: false
86   port: 8443
87
88
89 # Java options that need to be passed to jave on CLI
90 #javaOpts: -Xms256m -Xmx2048m
91 javaOpts:
92 # Options that need to be passed to CLI for Sprngboot, pw is a secret passed in through ENV
93 springOpts: --spring.config.location=file:/opt/app/music/etc/music-sb.properties
94 # Resource Limit flavor -By Default using small
95 flavor: large
96 # Segregation for Different environment (Small and Large)
97 resources:
98   small:
99     limits:
100       cpu: 1000m
101       memory: 1G
102     requests:
103       cpu: 300m
104       memory: 512Mi
105   large:
106     limits:
107       cpu: 1500m
108       memory: 3Gi
109     requests:
110       cpu: 1000m
111       memory: 2Gi
112   unlimited: {}
113
114 readiness:
115   initialDelaySeconds: 350
116   periodSeconds: 120
117   port: 8443
118
119 service:
120   useNodePortExt: true
121   type: NodePort
122   name: music
123   ports:
124     - name: https-api
125       port: 8443
126       nodePort: '07'
127
128 # Turn on Debugging true/false
129 debug: false
130 ingress:
131   enabled: false
132
133 keystorePassword: "ysF9CVS+xvuXr0vf&fRa5lew"
134
135 properties:
136   lockUsing: "cassandra"
137   # Comma dilimited list of hosts
138   cassandraHost: "music-cassandra"
139   cassandraUser: "nelson24"
140   cassandraPassword: "nelson24"
141   cassandraConnecttimeoutms: 12000
142   cassandraPort: 9042
143   # Connection Timeout for Cassandra in ms
144   # Read Timeout for Cassandra in ms
145   cassandraReadtimeoutms: 12000
146   keyspaceActive: true
147   # Enable CADI
148   cadi: false
149   # Special headers that may be passed and if they are required.
150   # With the ability to add a Prefix if required.
151   transIdRequired: false
152   transIdPrefix: X-ATT-
153   conversationRequired: false
154   conversationPrefix: X-CSI-
155   clientIdRequired: false
156   clientIdPrefix:
157   messageIdRequired: false
158   messageIdPrefix:
159
160   # sleep time for lock cleanup daemon, negative values turn off daemon
161 ##### Lock settings
162   retryCount: 3
163   lockLeasePeriod: 6000
164   # sleep time for lock cleanup daemon, negative values turn off daemon
165   lockDaemonSleeptimeMs: 30000
166   #comma separated list of keyspace names
167   keyspaceForLockCleanup:
168
169
170 logback:
171   errorLogLevel: info
172   securityLogLevel: info
173   applicationLogLevel: info
174   metricsLogLevel: info
175   auditLogLevel: info
176   # Values must be uppercase: INFO, WARN, CRITICAL,DEBUG etc..
177   rootLogLevel: INFO
178