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 |
| 42 | aaf_add_config: > |
| 43 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 44 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .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 |
ChrisC | dc6c610 | 2021-04-19 08:33:54 +0200 | [diff] [blame] | 50 | image: onap/sdc-frontend:1.8.5 |
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: |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 56 | dcae_discovery_url: "https://sdc-dcae-fe:9444/dcaed/#/home" |
| 57 | dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home" |
| 58 | dcae_dt_discovery_url: "https://sdc-dcae-dt:9446/dcae/#/dcae/home" |
| 59 | dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 60 | workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows" |
| 61 | workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 62 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 63 | #environment file |
| 64 | env: |
| 65 | name: AUTO |
| 66 | |
| 67 | security: |
| 68 | disableHttp: true |
| 69 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 70 | # default number of instances |
| 71 | replicaCount: 1 |
| 72 | |
| 73 | nodeSelector: {} |
| 74 | |
| 75 | affinity: {} |
| 76 | |
| 77 | # probe configuration parameters |
| 78 | liveness: |
| 79 | initialDelaySeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 80 | periodSeconds: 60 |
| 81 | timeoutSeconds: 15 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 82 | # necessary to disable liveness probe when setting breakpoints |
| 83 | # in debugger so K8s doesn't restart unresponsive container |
| 84 | enabled: true |
| 85 | |
| 86 | readiness: |
| 87 | initialDelaySeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 88 | periodSeconds: 60 |
| 89 | timeoutSeconds: 15 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 90 | |
| 91 | service: |
| 92 | #Example service definition with external, internal and node ports. |
| 93 | #Services may use any combination of ports depending on the 'type' of |
| 94 | #service being defined. |
| 95 | type: NodePort |
| 96 | name: sdc-fe |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 97 | portName: sdc-fe |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 98 | nodePort: "06" |
| 99 | internalPort: 8181 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 100 | externalPort: 8181 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 101 | nodePort2: "07" |
| 102 | internalPort2: 9443 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 103 | externalPort2: 9443 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 104 | |
| 105 | |
| 106 | |
| 107 | ingress: |
| 108 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 109 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 110 | - baseaddr: "sdc.api.fe" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 111 | name: "sdc-fe" |
| 112 | port: 9443 |
| 113 | config: |
| 114 | ssl: "redirect" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 115 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 116 | # Resource Limit flavor -By Default using small |
| 117 | flavor: small |
| 118 | # Segregation for Different environment (Small and Large) |
| 119 | resources: |
| 120 | small: |
| 121 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 122 | cpu: 500m |
| 123 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 124 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 125 | cpu: 40m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 126 | memory: 1Gi |
| 127 | large: |
| 128 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 129 | cpu: 1 |
| 130 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 131 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 132 | cpu: 80m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 133 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 134 | unlimited: {} |