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