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