Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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: 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
39 image: onap/music/music_sb:3.2.40
40 pullPolicy: Always
41
42 job:
43   host: cassandra
44   port: 9042
45
46
47 # default number of instances
48 replicaCount: 1
49
50 nodeSelector: {}
51
52 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 30
57   periodSeconds: 6
58   # necessary to disable liveness probe when setting breakpoints
59   # in debugger so K8s doesn't restart unresponsive container
60   enabled: false
61   port: 8443
62
63
64 # Java options that need to be passed to jave on CLI
65 #javaOpts: -Xms256m -Xmx2048m
66 javaOpts:
67 # Options that need to be passed to CLI for Sprngboot, pw is a secret passed in through ENV
68 springOpts: --spring.config.location=file:/opt/app/music/etc/music-sb.properties
69 # Resource Limit flavor -By Default using small
70 flavor: large
71 # Segregation for Different environment (Small and Large)
72 resources:
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: {}
88
89 readiness:
90   initialDelaySeconds: 350
91   periodSeconds: 120
92   port: 8443
93
94 service:
95   useNodePortExt: true
96   type: NodePort
97   name: music
98   ports:
99     - name: https-api
100       port: 8443
101       nodePort: '07'
102
103 # Turn on Debugging true/false
104 debug: false
105 ingress:
106   enabled: false
107
108 properties:
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
143 logback:
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..
150   rootLogLevel: INFO
151
152 #sub-charts configuration
153 certInitializer:
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: >
167     echo "$cadi_keystore_password_jks" > {{ .Values.credsPath }}/.pass;