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 |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +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 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 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 | |
| 23 | ################################################################# |
| 24 | # AAF Part |
| 25 | ################################################################# |
| 26 | certInitializer: |
| 27 | nameOverride: sdc-fe-cert-init |
| 28 | aafDeployFqi: deployer@people.osaaf.org |
| 29 | aafDeployPass: demo123456! |
| 30 | fqdn: sdc |
| 31 | fqi: sdc@sdc.onap.org |
| 32 | public_fqdn: sdc.onap.org |
| 33 | cadi_longitude: "0.0" |
| 34 | cadi_latitude: "0.0" |
| 35 | app_ns: org.osaaf.aaf |
| 36 | credsPath: /opt/app/osaaf/local |
| 37 | addconfig: true |
| 38 | keystoreFile: "org.onap.sdc.p12" |
| 39 | truststoreFile: "org.onap.sdc.trust.jks" |
| 40 | permission_user: 352070 |
| 41 | permission_group: 35953 |
Sylvain Desbureaux | 575743d | 2021-02-23 16:38:07 +0100 | [diff] [blame] | 42 | aaf_add_config: | |
| 43 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 44 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 45 | |
| 46 | ################################################################# |
| 47 | # Application configuration defaults. |
| 48 | ################################################################# |
| 49 | # application image |
MichaelMorris | 687f528 | 2022-08-10 16:13:25 +0100 | [diff] [blame^] | 50 | image: onap/sdc-frontend:1.11.6 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 51 | pullPolicy: Always |
| 52 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 53 | config: |
r.bogacki | c535c93 | 2019-09-03 10:34:12 +0200 | [diff] [blame] | 54 | javaOptions: "-Xmx256m -Xms256m" |
shrikantawachar | 0c84bc3 | 2019-01-16 13:12:21 +0530 | [diff] [blame] | 55 | plugins: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 56 | dcae_discovery_url: |
| 57 | https: "https://sdc-dcae-fe:9444/dcaed/#/home" |
| 58 | http: "http://sdc-dcae-fe:8183/dcaed/#/home" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 59 | dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 60 | dcae_dt_discovery_url: |
| 61 | https: "https://sdc-dcae-dt:9446/dcae/#/dcae/home" |
| 62 | http: "http://sdc-dcae-dt:8186/dcae/#/dcae/home" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 63 | dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 64 | workflow_discovery_url: |
| 65 | https: "https://sdc-wfd-fe:8443/workflows" |
| 66 | http: "http://sdc-wfd-fe:8080/workflows" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 67 | workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 68 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 69 | #environment file |
| 70 | env: |
| 71 | name: AUTO |
| 72 | |
| 73 | security: |
| 74 | disableHttp: true |
| 75 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 76 | # default number of instances |
| 77 | replicaCount: 1 |
| 78 | |
| 79 | nodeSelector: {} |
| 80 | |
| 81 | affinity: {} |
| 82 | |
| 83 | # probe configuration parameters |
| 84 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 85 | initialDelaySeconds: 1 |
| 86 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 87 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 88 | successThreshold: 1 |
| 89 | failureThreshold: 3 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 90 | # necessary to disable liveness probe when setting breakpoints |
| 91 | # in debugger so K8s doesn't restart unresponsive container |
| 92 | enabled: true |
| 93 | |
| 94 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 95 | initialDelaySeconds: 1 |
| 96 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 97 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 98 | successThreshold: 1 |
| 99 | failureThreshold: 3 |
| 100 | |
| 101 | startup: |
| 102 | initialDelaySeconds: 10 |
| 103 | periodSeconds: 10 |
| 104 | timeoutSeconds: 15 |
| 105 | successThreshold: 1 |
| 106 | failureThreshold: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 107 | |
| 108 | service: |
| 109 | #Example service definition with external, internal and node ports. |
| 110 | #Services may use any combination of ports depending on the 'type' of |
| 111 | #service being defined. |
| 112 | type: NodePort |
| 113 | name: sdc-fe |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 114 | portName: http |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 115 | internalPort: 8181 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 116 | externalPort: 8181 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 117 | internalPort2: 9443 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 118 | externalPort2: 9443 |
efiacor | 1256637 | 2022-05-11 19:39:10 +0100 | [diff] [blame] | 119 | nodePort: "07" |
| 120 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 121 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 122 | ingress: |
| 123 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 124 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 125 | - baseaddr: "sdc.api.fe" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 126 | name: "sdc-fe" |
| 127 | port: 9443 |
| 128 | config: |
| 129 | ssl: "redirect" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 130 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 131 | # Resource Limit flavor -By Default using small |
| 132 | flavor: small |
| 133 | # Segregation for Different environment (Small and Large) |
| 134 | resources: |
| 135 | small: |
| 136 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 137 | cpu: 500m |
| 138 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 139 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 140 | cpu: 40m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 141 | memory: 1Gi |
| 142 | large: |
| 143 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 144 | cpu: 1 |
| 145 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 146 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 147 | cpu: 80m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 148 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 149 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 150 | |
| 151 | #Pods Service Account |
| 152 | serviceAccount: |
| 153 | nameOverride: sdc-fe |
| 154 | roles: |
| 155 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 156 | |
| 157 | #Log configuration |
| 158 | log: |
| 159 | path: /var/log/onap |
| 160 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |