toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T, ZTE |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 21 | aafEnabled: true |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 22 | sdc_cassandra: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 23 | # This flag allows SDC to instantiate its own cluster, serviceName |
| 24 | # should be sdc-cs if this flag is enabled |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 25 | localCluster: false |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 26 | # The cassandra service name to connect to |
| 27 | # (default: shared cassandra service) |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 28 | serviceName: cassandra |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 29 | # Shared cassandra cluster replicaCount, should be changed if |
| 30 | # localCluster is enabled to match with its own cluster replica |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 31 | replicaCount: 3 |
| 32 | clusterName: cassandra |
| 33 | dataCenter: Pod |
| 34 | |
| 35 | ################################################################# |
| 36 | # AAF Part |
| 37 | ################################################################# |
| 38 | certInitializer: |
| 39 | nameOverride: sdc-wfd-be-cert-init |
| 40 | aafDeployFqi: deployer@people.osaaf.org |
| 41 | aafDeployPass: demo123456! |
| 42 | fqdn: sdc |
| 43 | fqi: sdc@sdc.onap.org |
| 44 | public_fqdn: sdc.onap.org |
| 45 | cadi_longitude: "0.0" |
| 46 | cadi_latitude: "0.0" |
| 47 | app_ns: org.osaaf.aaf |
| 48 | credsPath: /opt/app/osaaf/local |
| 49 | addconfig: true |
| 50 | keystoreFile: "org.onap.sdc.p12" |
| 51 | truststoreFile: "org.onap.sdc.trust.jks" |
| 52 | permission_user: 352070 |
| 53 | permission_group: 35953 |
Sylvain Desbureaux | 575743d | 2021-02-23 16:38:07 +0100 | [diff] [blame] | 54 | aaf_add_config: | |
| 55 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 56 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 57 | |
| 58 | ################################################################# |
| 59 | # Application configuration defaults. |
| 60 | ################################################################# |
| 61 | # application image |
vasraz | cd73ca6 | 2022-03-17 15:18:51 +0000 | [diff] [blame] | 62 | image: onap/sdc-workflow-backend:1.11.1 |
| 63 | configInitImage: onap/sdc-workflow-init:1.11.1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | |
priyanshu | 617e90b | 2019-03-14 12:56:55 +0530 | [diff] [blame] | 66 | initJob: |
| 67 | enabled: true |
| 68 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 69 | config: |
r.bogacki | 00bd086 | 2019-09-03 09:22:43 +0200 | [diff] [blame] | 70 | javaOptions: "-Xmx1536m -Xms1536m" |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 71 | cassandraAuthenticationEnabled: true |
priyanshu | 3af9db6 | 2018-08-16 16:23:52 +0530 | [diff] [blame] | 72 | cassandraClientPort: 9042 |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 73 | sdcEndpoint: |
| 74 | https: sdc-be:8443 |
| 75 | http: sdc-be:8080 |
priyanshu | c00acbb | 2018-09-06 11:29:23 +0530 | [diff] [blame] | 76 | sdcExternalUser: workflow |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 77 | serverSSLKeyStoreType: jks |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 78 | serverSSLTrustStoreType: jks |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 79 | cassandraSSLEnabled: false |
MichaelMorris | b137f7e | 2020-03-15 17:44:48 +0000 | [diff] [blame] | 80 | cassandraTrustStorePath: /home/sdc/etc/truststore |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 81 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 82 | # environment file |
| 83 | env: |
| 84 | name: AUTO |
| 85 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 86 | # default number of instances |
| 87 | replicaCount: 1 |
| 88 | |
| 89 | nodeSelector: {} |
| 90 | |
| 91 | affinity: {} |
| 92 | |
| 93 | # probe configuration parameters |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 94 | #liveness: |
| 95 | # initialDelaySeconds: 60 |
| 96 | # periodSeconds: 10 |
| 97 | # # necessary to disable liveness probe when setting breakpoints |
| 98 | # # in debugger so K8s doesn't restart unresponsive container |
| 99 | # enabled: true |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 100 | |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 101 | #readiness: |
| 102 | # initialDelaySeconds: 60 |
| 103 | # periodSeconds: 10 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 104 | |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 105 | # probe configuration parameters |
| 106 | liveness: |
| 107 | initialDelaySeconds: 1 |
| 108 | periodSeconds: 10 |
| 109 | successThreshold: 1 |
| 110 | failureThreshold: 3 |
| 111 | # necessary to disable liveness probe when setting breakpoints |
| 112 | # in debugger so K8s doesn't restart unresponsive container |
| 113 | enabled: true |
| 114 | |
| 115 | readiness: |
| 116 | initialDelaySeconds: 1 |
| 117 | periodSeconds: 10 |
| 118 | successThreshold: 1 |
| 119 | failureThreshold: 3 |
| 120 | |
| 121 | startup: |
| 122 | initialDelaySeconds: 10 |
| 123 | periodSeconds: 10 |
| 124 | successThreshold: 1 |
| 125 | failureThreshold: 60 |
| 126 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 127 | service: |
| 128 | type: NodePort |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 129 | portName: http |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 130 | internalPort: 8080 |
| 131 | externalPort: 8080 |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 132 | internalPort2: 8443 |
| 133 | externalPort2: 8443 |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 134 | nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property |
| 135 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 136 | ingress: |
| 137 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 138 | service: |
| 139 | - baseaddr: "sdcwfdbe" |
| 140 | name: "sdc-wfd-be" |
| 141 | port: 8443 |
| 142 | config: |
| 143 | ssl: "redirect" |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 144 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 145 | # Resource Limit flavor -By Default using small |
| 146 | # Segregation for Different environment (Small and Large) |
| 147 | flavor: small |
| 148 | resources: |
| 149 | small: |
| 150 | limits: |
| 151 | cpu: 500m |
| 152 | memory: 2Gi |
| 153 | requests: |
| 154 | cpu: 40m |
| 155 | memory: 1Gi |
| 156 | large: |
| 157 | limits: |
| 158 | cpu: 1 |
| 159 | memory: 4Gi |
| 160 | requests: |
| 161 | cpu: 80m |
| 162 | memory: 2Gi |
| 163 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 164 | |
| 165 | #Pods Service Account |
| 166 | serviceAccount: |
| 167 | nameOverride: sdc-wfd-be |
| 168 | roles: |
| 169 | - read |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 170 | |
| 171 | wait_for_job_container: |
| 172 | containers: |
| 173 | - '{{ include "common.name" . }}-job' |