Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +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 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [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 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [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 | persistence: {} |
| 26 | cassandra: |
| 27 | #This flag allows SDC to instantiate its own cluster, serviceName |
| 28 | #should be sdc-cs if this flag is enabled |
| 29 | localCluster: false |
| 30 | #The cassandra service name to connect to (default: shared cassandra service) |
| 31 | serviceName: cassandra |
| 32 | #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled |
| 33 | #to match with its own cluster replica |
| 34 | replicaCount: 3 |
| 35 | clusterName: cassandra |
| 36 | dataCenter: Pod |
| 37 | |
| 38 | ################################################################# |
| 39 | # AAF Part |
| 40 | ################################################################# |
| 41 | certInitializer: |
| 42 | nameOverride: sdc-onboarding-be-cert-init |
| 43 | aafDeployFqi: deployer@people.osaaf.org |
| 44 | aafDeployPass: demo123456! |
| 45 | fqdn: sdc |
| 46 | fqi: sdc@sdc.onap.org |
| 47 | public_fqdn: sdc.onap.org |
| 48 | cadi_longitude: "0.0" |
| 49 | cadi_latitude: "0.0" |
| 50 | app_ns: org.osaaf.aaf |
| 51 | credsPath: /opt/app/osaaf/local |
| 52 | addconfig: true |
| 53 | keystoreFile: "org.onap.sdc.p12" |
| 54 | truststoreFile: "org.onap.sdc.trust.jks" |
| 55 | permission_user: 352070 |
| 56 | permission_group: 35953 |
| 57 | aaf_add_config: > |
| 58 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 59 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 60 | |
| 61 | ################################################################# |
| 62 | # Application configuration defaults. |
| 63 | ################################################################# |
| 64 | # application image |
| 65 | repository: nexus3.onap.org:10001 |
ChrisC | 7ab5731 | 2020-08-12 16:24:38 +0200 | [diff] [blame] | 66 | image: onap/sdc-onboard-backend:1.7.1 |
| 67 | onboardingInitImage: onap/sdc-onboard-cassandra-init:1.7.1 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 68 | pullPolicy: Always |
| 69 | |
| 70 | # flag to enable debugging - application support required |
| 71 | debugEnabled: false |
| 72 | |
| 73 | config: |
r.bogacki | b17ce79 | 2019-09-03 10:23:24 +0200 | [diff] [blame] | 74 | javaOptions: "-Xmx1g -Xms1g" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 75 | cassandraSslEnabled: "false" |
| 76 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 77 | #environment file |
| 78 | env: |
| 79 | name: AUTO |
| 80 | |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 81 | # default number of instances |
| 82 | replicaCount: 1 |
| 83 | |
| 84 | nodeSelector: {} |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | # probe configuration parameters |
| 89 | liveness: |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 90 | initialDelaySeconds: 120 |
| 91 | periodSeconds: 60 |
| 92 | timeoutSeconds: 15 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 93 | # necessary to disable liveness probe when setting breakpoints |
| 94 | # in debugger so K8s doesn't restart unresponsive container |
| 95 | enabled: true |
| 96 | |
| 97 | readiness: |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 98 | initialDelaySeconds: 120 |
| 99 | periodSeconds: 60 |
| 100 | timeoutSeconds: 15 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 101 | |
| 102 | service: |
| 103 | type: ClusterIP |
| 104 | name: sdc-onboarding-be |
| 105 | portName: sdc-onboarding-be |
| 106 | internalPort: 8445 |
| 107 | externalPort: 8445 |
| 108 | internalPort2: 8081 |
| 109 | externalPort2: 8081 |
| 110 | |
| 111 | ## Persist data to a persitent volume |
| 112 | persistence: |
| 113 | enabled: true |
| 114 | |
| 115 | ## A manually managed Persistent Volume and Claim |
| 116 | ## Requires persistence.enabled: true |
| 117 | ## If defined, PVC must be created manually before volume will be bound |
| 118 | # existingClaim: |
| 119 | volumeReclaimPolicy: Retain |
| 120 | |
| 121 | ## database data Persistent Volume Storage Class |
| 122 | ## If defined, storageClassName: <storageClass> |
| 123 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 124 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 125 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 126 | ## GKE, AWS & OpenStack) |
| 127 | ## |
| 128 | # storageClass: "-" |
Sylvain Desbureaux | 71a9fb3 | 2019-09-02 15:50:28 +0200 | [diff] [blame] | 129 | accessMode: ReadWriteOnce |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 130 | size: 2Gi |
| 131 | mountPath: /dockerdata-nfs |
| 132 | mountSubPath: /sdc/sdc-cs/CS |
| 133 | |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 134 | ##Certificate storage persistence |
| 135 | ##This is temporary solution for SDC-1980 |
| 136 | cert: |
| 137 | certDir: /var/lib/jetty/cert |
| 138 | persistence: |
| 139 | enabled: true |
| 140 | size: 10Mi |
Sylvain Desbureaux | c8f45bb | 2020-01-23 11:55:37 +0100 | [diff] [blame] | 141 | accessMode: ReadWriteOnce |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 142 | volumeReclaimPolicy: Retain |
| 143 | mountSubPath: /sdc/onbaording/cert |
| 144 | |
MichaelMorris | 276812c | 2020-04-28 09:34:17 +0100 | [diff] [blame] | 145 | securityContext: |
| 146 | fsGroup: 35953 |
| 147 | runAsUser: 352070 |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 148 | |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 149 | ingress: |
| 150 | enabled: false |
| 151 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 152 | # Resource Limit flavor -By Default using small |
| 153 | flavor: small |
| 154 | # Segregation for Different environment (Small and Large) |
| 155 | resources: |
| 156 | small: |
| 157 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame^] | 158 | cpu: 500m |
| 159 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 160 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame^] | 161 | cpu: 40m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 162 | memory: 1Gi |
| 163 | large: |
| 164 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame^] | 165 | cpu: 1 |
| 166 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 167 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame^] | 168 | cpu: 80m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 169 | memory: 2Gi |
Mahendra Raghuwanshi | 35f83f5 | 2019-03-20 10:42:49 +0000 | [diff] [blame] | 170 | unlimited: {} |