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: |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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 | |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 46 | |
| 47 | # default number of instances |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 48 | replicaCount: 1 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 49 | |
| 50 | nodeSelector: {} |
| 51 | |
| 52 | affinity: {} |
| 53 | |
| 54 | # probe configuration parameters |
| 55 | liveness: |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 56 | initialDelaySeconds: 30 |
| 57 | periodSeconds: 6 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 58 | # necessary to disable liveness probe when setting breakpoints |
| 59 | # in debugger so K8s doesn't restart unresponsive container |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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: {} |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 88 | |
| 89 | readiness: |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 90 | initialDelaySeconds: 350 |
| 91 | periodSeconds: 120 |
| 92 | port: 8443 |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 93 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 94 | service: |
| 95 | useNodePortExt: true |
| 96 | type: NodePort |
| 97 | name: music |
| 98 | ports: |
| 99 | - name: https-api |
| 100 | port: 8443 |
| 101 | nodePort: '07' |
Nelson,Thomas(tn1381)(arthurdent3) | 4807fdf | 2018-09-19 16:52:36 -0400 | [diff] [blame] | 102 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 103 | # Turn on Debugging true/false |
| 104 | debug: false |
| 105 | ingress: |
| 106 | enabled: false |
| 107 | |
Sylvain Desbureaux | 589ecb9 | 2020-11-19 17:19:06 +0100 | [diff] [blame] | 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.. |
krishnaa96 | ad1a3ec | 2021-02-05 15:24:06 +0530 | [diff] [blame] | 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: > |
Sylvain Desbureaux | e27086d | 2021-02-23 16:14:09 +0100 | [diff] [blame] | 167 | echo "$cadi_keystore_password_jks" > {{ .Values.credsPath }}/.pass; |