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