[POLICY] Migration of clamp to policy area
[oom.git] / kubernetes / common / music / values.yaml
1 # Copyright © 2018-2020  AT&T, Amdocs, Bell Canada Intellectual Property.  All rights reserved.
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   truststore: truststoreONAPall.jks
22
23
24 #################################################################
25 # Secrets metaconfig
26 #################################################################
27 secrets:
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
49 image: onap/music/music_sb:3.2.40
50 pullPolicy: Always
51
52 job:
53   host: cassandra
54   port: 9042
55
56
57 # default number of instances
58 replicaCount: 1
59
60 nodeSelector: {}
61
62 affinity: {}
63
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 30
67   periodSeconds: 6
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: false
71   port: 8443
72
73
74 # Java options that need to be passed to jave on CLI
75 #javaOpts: -Xms256m -Xmx2048m
76 javaOpts:
77 # Options that need to be passed to CLI for Sprngboot, pw is a secret passed in through ENV
78 springOpts: --spring.config.location=file:/opt/app/music/etc/music-sb.properties
79 # Resource Limit flavor -By Default using small
80 flavor: large
81 # Segregation for Different environment (Small and Large)
82 resources:
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: {}
98
99 readiness:
100   initialDelaySeconds: 350
101   periodSeconds: 120
102   port: 8443
103
104 service:
105   useNodePortExt: true
106   type: NodePort
107   name: music
108   ports:
109     - name: https-api
110       port: 8443
111       nodePort: '07'
112
113 # Turn on Debugging true/false
114 debug: false
115 ingress:
116   enabled: false
117
118 keystorePassword: "ysF9CVS+xvuXr0vf&fRa5lew"
119
120 properties:
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
155 logback:
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