Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
efiacor | 3422fe9 | 2022-07-12 13:19:53 +0100 | [diff] [blame] | 3 | # Modifications Copyright © 2022 Nordix Foundation |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | nodePortPrefix: 302 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 22 | aafEnabled: true |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 23 | sdc_cassandra: |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 24 | #This flag allows SDC to instantiate its own cluster, serviceName |
| 25 | #should be sdc-cs if this flag is enabled |
| 26 | localCluster: false |
| 27 | #The cassandra service name to connect to (default: shared cassandra service) |
| 28 | serviceName: cassandra |
| 29 | #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled |
| 30 | #to match with its own cluster replica |
| 31 | replicaCount: 3 |
| 32 | clusterName: cassandra |
| 33 | dataCenter: Pod |
efiacor | 2f1c2a2 | 2022-11-29 11:39:41 +0000 | [diff] [blame] | 34 | # Global Strimzi kafka config overridden |
| 35 | # from parent values.yaml |
efiacor | 3422fe9 | 2022-07-12 13:19:53 +0100 | [diff] [blame] | 36 | kafka: |
| 37 | useKafka: overridden-from-parent-values-yaml |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 38 | |
| 39 | ################################################################# |
| 40 | # Application configuration defaults. |
| 41 | ################################################################# |
| 42 | # application image |
efiacor | 3422fe9 | 2022-07-12 13:19:53 +0100 | [diff] [blame] | 43 | image: onap/sdc-backend-all-plugins:1.12.0 |
| 44 | backendInitImage: onap/sdc-backend-init:1.12.0 |
Sylvain Desbureaux | 0a1eaf3 | 2020-11-19 17:56:08 +0100 | [diff] [blame] | 45 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 46 | pullPolicy: Always |
| 47 | |
| 48 | # flag to enable debugging - application support required |
| 49 | debugEnabled: false |
| 50 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 51 | #environment file |
| 52 | env: |
efiacor | 2f1c2a2 | 2022-11-29 11:39:41 +0000 | [diff] [blame] | 53 | name: &env AUTO |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 54 | |
| 55 | certInitializer: |
| 56 | nameOverride: sdc-be-cert-init |
| 57 | aafDeployFqi: deployer@people.osaaf.org |
| 58 | aafDeployPass: demo123456! |
| 59 | fqdn: sdc |
| 60 | fqi: sdc@sdc.onap.org |
| 61 | public_fqdn: sdc.onap.org |
| 62 | cadi_longitude: "0.0" |
| 63 | cadi_latitude: "0.0" |
| 64 | app_ns: org.osaaf.aaf |
| 65 | credsPath: /opt/app/osaaf/local |
| 66 | addconfig: true |
| 67 | keystoreFile: "org.onap.sdc.p12" |
| 68 | truststoreFile: "org.onap.sdc.trust.jks" |
| 69 | permission_user: 352070 |
| 70 | permission_group: 35953 |
Sylvain Desbureaux | 575743d | 2021-02-23 16:38:07 +0100 | [diff] [blame] | 71 | aaf_add_config: | |
| 72 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 73 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 74 | |
| 75 | ################################################################# |
| 76 | # SDC Config part |
| 77 | ################################################################# |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 78 | config: |
r.bogacki | 65cb1ac | 2019-09-03 09:27:24 +0200 | [diff] [blame] | 79 | javaOptions: "-Xmx1536m -Xms1536m" |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 80 | cassandraSslEnabled: "false" |
efiacor | 2f1c2a2 | 2022-11-29 11:39:41 +0000 | [diff] [blame] | 81 | |
| 82 | kafkaUser: |
| 83 | acls: |
| 84 | - name: sdc |
| 85 | suffix: *env |
| 86 | type: group |
| 87 | operations: [Read] |
| 88 | - name: SDC-DISTR |
| 89 | type: topic |
| 90 | patternType: prefix |
| 91 | operations: [Read, Write] |
| 92 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 93 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 94 | # default number of instances |
| 95 | replicaCount: 1 |
| 96 | |
| 97 | nodeSelector: {} |
| 98 | |
| 99 | affinity: {} |
| 100 | |
| 101 | # probe configuration parameters |
| 102 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 103 | initialDelaySeconds: 1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 104 | periodSeconds: 10 |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 105 | timeoutSeconds: 180 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 106 | successThreshold: 1 |
| 107 | failureThreshold: 3 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 108 | # necessary to disable liveness probe when setting breakpoints |
| 109 | # in debugger so K8s doesn't restart unresponsive container |
| 110 | enabled: true |
| 111 | |
| 112 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 113 | initialDelaySeconds: 1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 114 | periodSeconds: 10 |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 115 | timeoutSeconds: 180 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 116 | successThreshold: 1 |
| 117 | failureThreshold: 3 |
| 118 | |
| 119 | startup: |
| 120 | initialDelaySeconds: 10 |
| 121 | periodSeconds: 10 |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 122 | timeoutSeconds: 180 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 123 | successThreshold: 1 |
| 124 | failureThreshold: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 125 | |
| 126 | service: |
| 127 | type: NodePort |
| 128 | name: sdc-be |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 129 | both_tls_and_plain: true |
Joanna Jeremicz | fe52bf5 | 2021-04-21 14:31:29 +0200 | [diff] [blame] | 130 | internalPort: 8080 |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 131 | msb: |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 132 | - port: 8443 |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 133 | url: "/sdc/v1" |
| 134 | version: "v1" |
| 135 | protocol: "REST" |
| 136 | visualRange: "1" |
| 137 | serviceName: sdc |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 138 | enable_ssl: true |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 139 | - port: 8080 |
| 140 | url: "/sdc/v1" |
| 141 | version: "v1" |
| 142 | protocol: "REST" |
| 143 | visualRange: "1" |
| 144 | serviceName: sdc-deprecated |
| 145 | ports: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 146 | - name: tcp-api |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 147 | port: 8443 |
| 148 | plain_port: 8080 |
| 149 | port_protocol: http |
| 150 | nodePort: '04' |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 151 | |
| 152 | ingress: |
| 153 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 154 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 155 | - baseaddr: "sdc-be-api" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 156 | name: "sdc-be" |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 157 | port: 8443 |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 158 | plain_port: 8080 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 159 | config: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 160 | ssl: "redirect" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 161 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 162 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 163 | # Resource Limit flavor -By Default using small |
| 164 | flavor: small |
| 165 | # Segregation for Different environment (Small and Large) |
| 166 | resources: |
| 167 | small: |
| 168 | limits: |
| 169 | cpu: 1 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 170 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 171 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 172 | cpu: 100m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 173 | memory: 1Gi |
| 174 | large: |
| 175 | limits: |
| 176 | cpu: 2 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 177 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 178 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 179 | cpu: 200m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 180 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 181 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 182 | |
| 183 | #Pods Service Account |
| 184 | serviceAccount: |
| 185 | nameOverride: sdc-be |
| 186 | roles: |
| 187 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 188 | |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 189 | wait_for_job_container: |
| 190 | containers: |
| 191 | - '{{ include "common.name" . }}-job' |
| 192 | |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 193 | #Log configuration |
| 194 | log: |
| 195 | path: /var/log/onap |
| 196 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |