Tschaen, Brendan | 08d7b63 | 2020-04-02 19:49:13 +0000 | [diff] [blame] | 1 | # Copyright © 2018-2020 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved. |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 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 |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 20 | nodePortPrefixExt: 304 |
| 21 | truststore: truststoreONAPall.jks |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 22 | |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 23 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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 | |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 56 | |
| 57 | # default number of instances |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 58 | replicaCount: 1 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 59 | |
| 60 | nodeSelector: {} |
| 61 | |
| 62 | affinity: {} |
| 63 | |
| 64 | # probe configuration parameters |
| 65 | liveness: |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 66 | initialDelaySeconds: 30 |
| 67 | periodSeconds: 6 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 68 | # necessary to disable liveness probe when setting breakpoints |
| 69 | # in debugger so K8s doesn't restart unresponsive container |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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: {} |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 98 | |
| 99 | readiness: |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 100 | initialDelaySeconds: 350 |
| 101 | periodSeconds: 120 |
| 102 | port: 8443 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 103 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 104 | service: |
| 105 | useNodePortExt: true |
| 106 | type: NodePort |
| 107 | name: music |
| 108 | ports: |
| 109 | - name: https-api |
| 110 | port: 8443 |
| 111 | nodePort: '07' |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 112 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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 |